diff options
author | Mattes D <github@xoft.cz> | 2014-04-20 13:34:38 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-04-20 13:34:38 +0200 |
commit | f99bdfb457bc1e497dd74932611a91add72b4f27 (patch) | |
tree | c5f0b53b4208b96089788719dfe2a1115ca5804d /src/ClientHandle.h | |
parent | APIDump: Added a ChunkStay article. (diff) | |
parent | Fixed Code (diff) | |
download | cuberite-f99bdfb457bc1e497dd74932611a91add72b4f27.tar cuberite-f99bdfb457bc1e497dd74932611a91add72b4f27.tar.gz cuberite-f99bdfb457bc1e497dd74932611a91add72b4f27.tar.bz2 cuberite-f99bdfb457bc1e497dd74932611a91add72b4f27.tar.lz cuberite-f99bdfb457bc1e497dd74932611a91add72b4f27.tar.xz cuberite-f99bdfb457bc1e497dd74932611a91add72b4f27.tar.zst cuberite-f99bdfb457bc1e497dd74932611a91add72b4f27.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 12e0256de..3d01d8034 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -18,6 +18,8 @@ #include "ByteBuffer.h" #include "Scoreboard.h" #include "Map.h" +#include "Enchantments.h" +#include "UI/SlotArea.h" @@ -244,6 +246,9 @@ public: /** Called when the player moves into a different world; queues sreaming the new chunks */ void MoveToWorld(cWorld & a_World, bool a_SendRespawnPacket); + /** Called when the player will enchant a Item */ + void HandleEnchantItem(Byte & WindowID, Byte & Enchantment); + private: /** Handles the block placing packet when it is a real block placement (not block-using, item-using or eating) */ |