summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-15 14:48:17 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-15 14:48:17 +0100
commitb10d0b95cbdce1d476f14415901c89bf324c0c18 (patch)
tree00aff412ae4fe7c691dc18f2fc3d6fd61dde8a60 /src/ClientHandle.h
parentMerge pull request #432 from mc-server/Broadcast_Effects (diff)
downloadcuberite-b10d0b95cbdce1d476f14415901c89bf324c0c18.tar
cuberite-b10d0b95cbdce1d476f14415901c89bf324c0c18.tar.gz
cuberite-b10d0b95cbdce1d476f14415901c89bf324c0c18.tar.bz2
cuberite-b10d0b95cbdce1d476f14415901c89bf324c0c18.tar.lz
cuberite-b10d0b95cbdce1d476f14415901c89bf324c0c18.tar.xz
cuberite-b10d0b95cbdce1d476f14415901c89bf324c0c18.tar.zst
cuberite-b10d0b95cbdce1d476f14415901c89bf324c0c18.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 19ebc023d..51068a319 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -116,6 +116,7 @@ public:
void SendInventorySlot (char a_WindowID, short a_SlotNum, const cItem & a_Item);
void SendPickupSpawn (const cPickup & a_Pickup);
void SendEntityAnimation (const cEntity & a_Entity, char a_Animation);
+ void SendPlayerAbilities (void);
void SendPlayerListItem (const cPlayer & a_Player, bool a_IsOnline);
void SendPlayerMaxSpeed (void); ///< Informs the client of the maximum player speed (1.6.1+)
void SendPlayerMoveLook (void);
@@ -175,6 +176,7 @@ public:
void HandleKeepAlive (int a_KeepAliveID);
void HandleLeftClick (int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status);
void HandlePing (void);
+ void HandlePlayerAbilities (int Flags, float FlyingSpeed, float WalkingSpeed);
void HandlePlayerLook (float a_Rotation, float a_Pitch, bool a_IsOnGround);
void HandlePlayerMoveLook (double a_PosX, double a_PosY, double a_PosZ, double a_Stance, float a_Rotation, float a_Pitch, bool a_IsOnGround); // While m_bPositionConfirmed (normal gameplay)
void HandlePlayerPos (double a_PosX, double a_PosY, double a_PosZ, double a_Stance, bool a_IsOnGround);