rename SessionHandler -> PacketHandler

This commit is contained in:
Dylan K. Taylor
2019-06-18 16:02:46 +01:00
parent 87c3636d44
commit b18bd4f33c
136 changed files with 284 additions and 284 deletions

View File

@ -25,7 +25,7 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\SessionHandler;
use pocketmine\network\mcpe\handler\PacketHandler;
class NpcRequestPacket extends DataPacket implements ServerboundPacket{
public const NETWORK_ID = ProtocolInfo::NPC_REQUEST_PACKET;
@ -53,7 +53,7 @@ class NpcRequestPacket extends DataPacket implements ServerboundPacket{
$this->putByte($this->actionType);
}
public function handle(SessionHandler $handler) : bool{
public function handle(PacketHandler $handler) : bool{
return $handler->handleNpcRequest($this);
}
}