PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
__construct (private Server $server) | |
getPattern () | |
handle (AdvancedNetworkInterface $interface, string $address, int $port, string $packet) | |
regenerateToken () | |
Static Public Member Functions | |
static | getTokenString (string $token, string $salt) |
Public Attributes | |
const | HANDSHAKE = 9 |
const | STATISTICS = 0 |
Definition at line 42 of file QueryHandler.php.
pocketmine\network\query\QueryHandler::__construct | ( | private Server | $server | ) |
Definition at line 51 of file QueryHandler.php.
pocketmine\network\query\QueryHandler::getPattern | ( | ) |
Returns a preg_match() compatible regex pattern used to filter packets on this handler. Only packets matching this pattern will be delivered to the handler.
Implements pocketmine\network\RawPacketHandler.
Definition at line 69 of file QueryHandler.php.
|
static |
Definition at line 82 of file QueryHandler.php.
pocketmine\network\query\QueryHandler::handle | ( | AdvancedNetworkInterface | $interface, |
string | $address, | ||
int | $port, | ||
string | $packet ) |
PacketHandlingException |
Implements pocketmine\network\RawPacketHandler.
Definition at line 86 of file QueryHandler.php.
pocketmine\network\query\QueryHandler::regenerateToken | ( | ) |
Definition at line 77 of file QueryHandler.php.
const pocketmine\network\query\QueryHandler::HANDSHAKE = 9 |
Definition at line 48 of file QueryHandler.php.
const pocketmine\network\query\QueryHandler::STATISTICS = 0 |
Definition at line 49 of file QueryHandler.php.