PacketHandlerInspector
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