Skip to content

QueryHandler ​

class · pocketmine\network\query\QueryHandler · source

Implements RawPacketHandler

Constants ​

HANDSHAKE ​

php
public const HANDSHAKE = 9

STATISTICS ​

php
public const STATISTICS = 0

Methods ​

__construct() ​

php
public function __construct(\pocketmine\Server $server)

getPattern() ​

php
public function getPattern() : string

getTokenString() ​

php
public static function getTokenString(string $token, string $salt) : int

handle() ​

php
public function handle(\pocketmine\network\AdvancedNetworkInterface $interface, string $address, int $port, string $packet) : bool

regenerateToken() ​

php
public function regenerateToken() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.