diff options
author | madmaxoft <github@xoft.cz> | 2013-08-25 16:11:19 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-25 16:11:19 +0200 |
commit | 104a31e23d146fe69fed78932e442f4894af2a86 (patch) | |
tree | b9b2f6ffd83d1fba85361e66955673bf322d94e8 /source/ClientHandle.h | |
parent | Fixed logging in cTracer. (diff) | |
parent | Fixed iron door opening by hand (diff) | |
download | cuberite-104a31e23d146fe69fed78932e442f4894af2a86.tar cuberite-104a31e23d146fe69fed78932e442f4894af2a86.tar.gz cuberite-104a31e23d146fe69fed78932e442f4894af2a86.tar.bz2 cuberite-104a31e23d146fe69fed78932e442f4894af2a86.tar.lz cuberite-104a31e23d146fe69fed78932e442f4894af2a86.tar.xz cuberite-104a31e23d146fe69fed78932e442f4894af2a86.tar.zst cuberite-104a31e23d146fe69fed78932e442f4894af2a86.zip |
Diffstat (limited to 'source/ClientHandle.h')
-rw-r--r-- | source/ClientHandle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/ClientHandle.h b/source/ClientHandle.h index 62616ba08..9fae93d95 100644 --- a/source/ClientHandle.h +++ b/source/ClientHandle.h @@ -198,6 +198,9 @@ public: /// Called when the player moves into a different world; queues sreaming the new chunks void MoveToWorld(cWorld & a_World, bool a_SendRespawnPacket); + /// 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, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, cItemHandler & a_ItemHandler); + private: int m_ViewDistance; // Number of chunks the player can see in each direction; 4 is the minimum ( http://wiki.vg/Protocol_FAQ#.E2.80.A6all_connecting_clients_spasm_and_jerk_uncontrollably.21 ) @@ -314,9 +317,6 @@ private: /// Handles the DIG_FINISHED dig packet: void HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_OldBlock, NIBBLETYPE a_OldMeta); - - /// 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, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, cItemHandler & a_ItemHandler); // cSocketThreads::cCallback overrides: virtual void DataReceived (const char * a_Data, int a_Size) override; // Data is received from the client |