diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-04-12 14:58:46 +0200 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-04-12 14:58:46 +0200 |
commit | e6e702e7fdbc8b7475d3dbecc0f81a08304997ae (patch) | |
tree | 1764949b84b4ae7a9da2330a90513c301d707820 /src/ClientHandle.h | |
parent | Modified comment (diff) | |
download | cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.gz cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.bz2 cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.lz cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.xz cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.zst cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 01765cc85..4c88d79e2 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -18,6 +18,7 @@ #include "ByteBuffer.h" #include "Scoreboard.h" #include "Map.h" +#include "Enchantments.h" @@ -230,8 +231,10 @@ public: /** Called when the player moves into a different world; queues sreaming the new chunks */ void MoveToWorld(cWorld & a_World, bool a_SendRespawnPacket); - ///Handle item enchanting + /** Called when the player will enchant a Item */ void HandleEnchantItem(Byte & WindowID, Byte & Enchantment); + cEnchantmentsVector AddEnchantmentWeight(cEnchantmentsVector a_Map, int a_Weight, cEnchantments a_Enchantment); + cEnchantmentsVector CheckEnchantmentConflicts(cEnchantmentsVector a_Map, cEnchantments a_FirstEnchantment); private: |