PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\network\RawPacketHandler Interface Reference
+ Inheritance diagram for pocketmine\network\RawPacketHandler:
+ Collaboration diagram for pocketmine\network\RawPacketHandler:

Public Member Functions

 getPattern ()
 
 handle (AdvancedNetworkInterface $interface, string $address, int $port, string $packet)
 

Detailed Description

Definition at line 26 of file RawPacketHandler.php.

Member Function Documentation

◆ getPattern()

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.

◆ handle()

pocketmine\network\RawPacketHandler::handle ( AdvancedNetworkInterface $interface,
string $address,
int $port,
string $packet )
Exceptions
PacketHandlingException

Implemented in pocketmine\network\query\QueryHandler.


The documentation for this interface was generated from the following file: