This commit is contained in:
PEMapModder
2016-02-22 16:05:45 +08:00
parent 56644fed9d
commit 6945256e30
2 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,9 @@ namespace pocketmine\network\protocol;
class InteractPacket extends DataPacket{
const NETWORK_ID = Info::INTERACT_PACKET;
const ACTION_LEFT_CLICK = 1;
const ACTION_RIGHT_CLICK = 2;
public $action;
public $eid;
public $target;