PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
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.