From fe070129526178b8a0adbd3b64fc8ae1630c6a7a Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sun, 10 Nov 2013 18:41:26 +0100 Subject: Added cItem::GetMaxStackSize() --- source/Item.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/Item.h') diff --git a/source/Item.h b/source/Item.h index fee861050..c60d0542c 100644 --- a/source/Item.h +++ b/source/Item.h @@ -132,6 +132,9 @@ public: /// Returns true if the item is stacked up to its maximum stacking. bool IsFullStack(void) const; + + /// Returns the maximum amount of stacked items of this type. + char GetMaxStackSize(void) const; // tolua_end -- cgit v1.2.3