mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@ -28,18 +28,10 @@ interface RawPacketHandler{
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPattern() : string;
|
||||
|
||||
/**
|
||||
* @param AdvancedNetworkInterface $interface
|
||||
* @param string $address
|
||||
* @param int $port
|
||||
* @param string $packet
|
||||
*
|
||||
* @return bool
|
||||
* @throws BadPacketException
|
||||
*/
|
||||
public function handle(AdvancedNetworkInterface $interface, string $address, int $port, string $packet) : bool;
|
||||
|
||||
Reference in New Issue
Block a user