diff options
Diffstat (limited to '')
-rw-r--r-- | src/UI/EnchantingWindow.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/UI/EnchantingWindow.h b/src/UI/EnchantingWindow.h index 2b32f078a..e166fd1de 100644 --- a/src/UI/EnchantingWindow.h +++ b/src/UI/EnchantingWindow.h @@ -21,7 +21,7 @@ class cSlotAreaEnchanting; -class cEnchantingWindow: +class cEnchantingWindow final : public cWindow { using Super = cWindow; @@ -32,14 +32,10 @@ public: /** Sends enchantment properties to the client. If the property represents a level requirement, stores it for later GetProperty retrieval. */ - virtual void SetProperty(short a_Property, short a_Value, cPlayer & a_Player) override; - - /** Sends enchantment properties to the client. - If the property represents a level requirement, stores it for later GetProperty retrieval. */ - virtual void SetProperty(short a_Property, short a_Value) override; + virtual void SetProperty(size_t a_Property, short a_Value) override; /** Return the level requirement of the given enchantment slot. */ - short GetProperty(short a_Property); + short GetProperty(size_t a_Property); virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override; |