Day 3, part 1

This commit is contained in:
Dylan K. Taylor
2017-08-03 14:57:10 +01:00
parent 63d2b341b9
commit 50dffeb6a1
3 changed files with 63 additions and 8 deletions

View File

@ -31,8 +31,17 @@ use pocketmine\network\mcpe\NetworkSession;
class InteractPacket extends DataPacket{
const NETWORK_ID = ProtocolInfo::INTERACT_PACKET;
/**
* @deprecated
* This action is no longer used as of MCPE 1.2.0.2, this is now handled in InventoryTransactionPacket
*/
const ACTION_RIGHT_CLICK = 1;
/**
* @deprecated
* This action is no longer used as of MCPE 1.2.0.2, this is now handled in InventoryTransactionPacket
*/
const ACTION_LEFT_CLICK = 2;
const ACTION_LEAVE_VEHICLE = 3;
const ACTION_MOUSEOVER = 4;