Skip to content

PacketHandlerInspector ​

final class · pocketmine\network\mcpe\handler\PacketHandlerInspector · source

Uses reflection to find out what packets a PacketHandler class type will actually process, so that decoding can be skipped for packets that are never handled. The reflected information is cached for subsequent use.

Methods ​

getHandlerActions() ​

php
public static function getHandlerActions(\pocketmine\network\mcpe\handler\PacketHandler $handler) : array

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