diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-11-14 16:42:26 +0100 |
---|---|---|
committer | Gargaj <gargaj@conspiracy.hu> | 2015-11-23 22:20:31 +0100 |
commit | 853e6e6882969f24547d782d42a3c19df4395064 (patch) | |
tree | 5ebe9e808e82c22a427429881526fb0ce390deb4 /src/Item.h | |
parent | Fixed display of helpmessage (diff) | |
download | cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.gz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.bz2 cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.lz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.xz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.zst cuberite-853e6e6882969f24547d782d42a3c19df4395064.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Item.h b/src/Item.h index 8f47c4177..46b3c2ef1 100644 --- a/src/Item.h +++ b/src/Item.h @@ -239,6 +239,8 @@ public: void Clear (void) {clear(); } size_t Size (void) const { return size(); } void Set (int a_Idx, short a_ItemType, char a_ItemCount, short a_ItemDamage); + bool Contains(const cItem & a_Item); + bool ContainsType(const cItem & a_Item); void Add (short a_ItemType, char a_ItemCount, short a_ItemDamage) { |