mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Updated for 1.2.0.22
This commit is contained in:
@ -36,21 +36,22 @@ class PlayerActionPacket extends DataPacket{
|
||||
const ACTION_STOP_BREAK = 2;
|
||||
const ACTION_GET_UPDATED_BLOCK = 3;
|
||||
const ACTION_DROP_ITEM = 4;
|
||||
const ACTION_STOP_SLEEPING = 5;
|
||||
const ACTION_RESPAWN = 6;
|
||||
const ACTION_JUMP = 7;
|
||||
const ACTION_START_SPRINT = 8;
|
||||
const ACTION_STOP_SPRINT = 9;
|
||||
const ACTION_START_SNEAK = 10;
|
||||
const ACTION_STOP_SNEAK = 11;
|
||||
const ACTION_DIMENSION_CHANGE_REQUEST = 12; //sent when dying in different dimension
|
||||
const ACTION_DIMENSION_CHANGE_ACK = 13; //sent when spawning in a different dimension to tell the server we spawned
|
||||
const ACTION_START_GLIDE = 14;
|
||||
const ACTION_STOP_GLIDE = 15;
|
||||
const ACTION_BUILD_DENIED = 16;
|
||||
const ACTION_CONTINUE_BREAK = 17;
|
||||
const ACTION_START_SLEEPING = 5;
|
||||
const ACTION_STOP_SLEEPING = 6;
|
||||
const ACTION_RESPAWN = 7;
|
||||
const ACTION_JUMP = 8;
|
||||
const ACTION_START_SPRINT = 9;
|
||||
const ACTION_STOP_SPRINT = 10;
|
||||
const ACTION_START_SNEAK = 11;
|
||||
const ACTION_STOP_SNEAK = 12;
|
||||
const ACTION_DIMENSION_CHANGE_REQUEST = 13; //sent when dying in different dimension
|
||||
const ACTION_DIMENSION_CHANGE_ACK = 14; //sent when spawning in a different dimension to tell the server we spawned
|
||||
const ACTION_START_GLIDE = 15;
|
||||
const ACTION_STOP_GLIDE = 16;
|
||||
const ACTION_BUILD_DENIED = 17;
|
||||
const ACTION_CONTINUE_BREAK = 18;
|
||||
|
||||
const ACTION_SET_ENCHANTMENT_SEED = 19;
|
||||
const ACTION_SET_ENCHANTMENT_SEED = 20;
|
||||
|
||||
/** @var int */
|
||||
public $entityRuntimeId;
|
||||
|
Reference in New Issue
Block a user