aboutsummaryrefslogtreecommitdiff
path: root/src/game/Item.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-15 11:58:27 -0600
committermegamage <none@none>2009-02-15 11:58:27 -0600
commit97ac3aba05cfc56c6c8a7c5dbfb7071b02239181 (patch)
tree283dc5898154b7b1654e193657d32ea1f94bdfcf /src/game/Item.h
parent419b74952002c0605ca829227f55a6354d8bd1c8 (diff)
Implemented limit category check for item/gem at equip or gem inserting. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Item.h')
-rw-r--r--src/game/Item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Item.h b/src/game/Item.h
index 8869f2ac013..4f901302105 100644
--- a/src/game/Item.h
+++ b/src/game/Item.h
@@ -236,6 +236,7 @@ class TRINITY_DLL_SPEC Item : public Object
void SetCount(uint32 value) { SetUInt32Value (ITEM_FIELD_STACK_COUNT, value); }
uint32 GetMaxStackCount() const { return GetProto()->GetMaxStackSize(); }
uint8 GetGemCountWithID(uint32 GemID) const;
+ uint8 GetGemCountWithLimitCategory(uint32 limitCategory) const;
uint8 GetSlot() const {return m_slot;}
Bag *GetContainer() { return m_container; }