PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
getPattern () | |
handle (AdvancedNetworkInterface $interface, string $address, int $port, string $packet) | |
Definition at line 26 of file RawPacketHandler.php.
pocketmine\network\RawPacketHandler::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.
Implemented in pocketmine\network\query\QueryHandler.
pocketmine\network\RawPacketHandler::handle | ( | AdvancedNetworkInterface | $interface, |
string | $address, | ||
int | $port, | ||
string | $packet ) |
PacketHandlingException |
Implemented in pocketmine\network\query\QueryHandler.