diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-04-15 22:03:15 +0200 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-04-15 22:03:15 +0200 |
commit | 2cb8538e2e60309bc9d1f13dc90dd5cbface8967 (patch) | |
tree | 50dd7fb1b9c6bbf09e3bc878e46c6908fc5cf8b0 /src/ClientHandle.h | |
parent | Added Book Enchanting (diff) | |
download | cuberite-2cb8538e2e60309bc9d1f13dc90dd5cbface8967.tar cuberite-2cb8538e2e60309bc9d1f13dc90dd5cbface8967.tar.gz cuberite-2cb8538e2e60309bc9d1f13dc90dd5cbface8967.tar.bz2 cuberite-2cb8538e2e60309bc9d1f13dc90dd5cbface8967.tar.lz cuberite-2cb8538e2e60309bc9d1f13dc90dd5cbface8967.tar.xz cuberite-2cb8538e2e60309bc9d1f13dc90dd5cbface8967.tar.zst cuberite-2cb8538e2e60309bc9d1f13dc90dd5cbface8967.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index b9e470653..f6d0af3b4 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -234,8 +234,9 @@ public: /** Called when the player will enchant a Item */ void HandleEnchantItem(Byte & WindowID, Byte & Enchantment); - cEnchantmentsVector AddEnchantmentWeight(cEnchantmentsVector a_Enchantments, int a_Weight, cEnchantments a_Enchantment); - cEnchantmentsVector CheckEnchantmentConflicts(cEnchantmentsVector a_Enchantments, cEnchantments a_FirstEnchantment); + void AddEnchantmentWeight(cEnchantmentsVector & a_Enchantments, int a_Weight, cEnchantments a_Enchantment); + void RemoveEnchantmentFromVector(cEnchantmentsVector & a_Enchantments, int a_EnchantmentID); + void CheckEnchantmentConflicts(cEnchantmentsVector & a_Enchantments, cEnchantments a_FirstEnchantment); private: |