summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-15 15:52:39 +0100
committerMattes D <github@xoft.cz>2013-12-15 15:52:39 +0100
commitaf4237de77e0ec36b9610eb81fffb424e88806c8 (patch)
treed6f1f1737388e7bf65a475a1396d30bed745094b /src/ClientHandle.h
parentMerge pull request #432 from mc-server/Broadcast_Effects (diff)
parentAPIDump: Documented New functions (diff)
downloadcuberite-af4237de77e0ec36b9610eb81fffb424e88806c8.tar
cuberite-af4237de77e0ec36b9610eb81fffb424e88806c8.tar.gz
cuberite-af4237de77e0ec36b9610eb81fffb424e88806c8.tar.bz2
cuberite-af4237de77e0ec36b9610eb81fffb424e88806c8.tar.lz
cuberite-af4237de77e0ec36b9610eb81fffb424e88806c8.tar.xz
cuberite-af4237de77e0ec36b9610eb81fffb424e88806c8.tar.zst
cuberite-af4237de77e0ec36b9610eb81fffb424e88806c8.zip
Diffstat (limited to 'src/ClientHandle.h')
-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..147a5b2b3 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 (bool a_CanFly, bool a_IsFlying, 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);