35 virtual void SetProperty(
size_t a_Property,
short a_Value)
override;
virtual void DistributeStack(cItem &a_ItemStack, int a_Slot, cPlayer &a_Player, cSlotArea *a_ClickedArea, bool a_ShouldApply) override
Called on shift-clicking to distribute the stack into other areas; Modifies a_ItemStack as it is dist...
virtual void SetProperty(size_t a_Property, short a_Value) override
Sends enchantment properties to the client.
std::array< short, 3 > m_PropertyValue
cEnchantingWindow(Vector3i a_BlockPos, const AString &a_Title)
short GetProperty(size_t a_Property)
Return the level requirement of the given enchantment slot.
cSlotAreaEnchanting * m_SlotArea
cWindow(WindowType a_WindowType, const AString &a_WindowTitle)