diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-11-15 01:36:15 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-11-15 01:36:15 +0100 |
commit | 98d5ef978b02e37bc7c027126b050684348461ee (patch) | |
tree | 2b620382584ccc8f755fc7490c4beb486e2c1ffb /src/ClientHandle.h | |
parent | APIDump: Fixed example cCompositeChat URL (diff) | |
download | cuberite-98d5ef978b02e37bc7c027126b050684348461ee.tar cuberite-98d5ef978b02e37bc7c027126b050684348461ee.tar.gz cuberite-98d5ef978b02e37bc7c027126b050684348461ee.tar.bz2 cuberite-98d5ef978b02e37bc7c027126b050684348461ee.tar.lz cuberite-98d5ef978b02e37bc7c027126b050684348461ee.tar.xz cuberite-98d5ef978b02e37bc7c027126b050684348461ee.tar.zst cuberite-98d5ef978b02e37bc7c027126b050684348461ee.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 082ed2fcc..f8b5bcb5b 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -246,9 +246,6 @@ public: void PacketBufferFull(void); void PacketUnknown(UInt32 a_PacketType); void PacketError(unsigned char a_PacketType); - - // Calls that cProtocol descendants use for handling packets: - void HandleAnimation(char a_Animation); /** Called when the protocol receives a MC|ItemName plugin message, indicating that the player named an item in the anvil UI. */ @@ -443,6 +440,9 @@ private: UInt32 m_ProtocolVersion; + /** Handles the block resending part if the right click failed. */ + void AbortRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace); + /** Handles the block placing packet when it is a real block placement (not block-using, item-using or eating) */ void HandlePlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, cItemHandler & a_ItemHandler); |