summaryrefslogtreecommitdiffstats
path: root/src/UI/EnchantingWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UI/EnchantingWindow.h')
-rw-r--r--src/UI/EnchantingWindow.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/UI/EnchantingWindow.h b/src/UI/EnchantingWindow.h
index e166fd1de..bdf48bb20 100644
--- a/src/UI/EnchantingWindow.h
+++ b/src/UI/EnchantingWindow.h
@@ -21,13 +21,11 @@ class cSlotAreaEnchanting;
-class cEnchantingWindow final :
- public cWindow
+class cEnchantingWindow final : public cWindow
{
using Super = cWindow;
-public:
-
+ public:
cEnchantingWindow(Vector3i a_BlockPos, const AString & a_Title);
/** Sends enchantment properties to the client.
@@ -37,12 +35,17 @@ public:
/** Return the level requirement of the given enchantment slot. */
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;
+ virtual void DistributeStack(
+ cItem & a_ItemStack,
+ int a_Slot,
+ cPlayer & a_Player,
+ cSlotArea * a_ClickedArea,
+ bool a_ShouldApply
+ ) override;
cSlotAreaEnchanting * m_SlotArea;
-protected:
-
+ protected:
std::array<short, 3> m_PropertyValue;
Vector3i m_BlockPos;
};