Exploded Player->handleDataPacket() into 70+ methods

This commit is contained in:
Dylan K. Taylor
2017-02-26 15:51:11 +00:00
parent 8bf3b6bbea
commit 477cb77002
77 changed files with 2105 additions and 1130 deletions

View File

@ -23,6 +23,8 @@ namespace pocketmine\network\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\PocketEditionNetworkSession;
class ItemFrameDropItemPacket extends DataPacket{
const NETWORK_ID = Info::ITEM_FRAME_DROP_ITEM_PACKET;
@ -39,4 +41,8 @@ class ItemFrameDropItemPacket extends DataPacket{
}
public function handle(PocketEditionNetworkSession $session) : bool{
return $session->handleItemFrameDropItem($this);
}
}