diff options
Diffstat (limited to 'Minecraft.World/Inventory.h')
| -rw-r--r-- | Minecraft.World/Inventory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Minecraft.World/Inventory.h b/Minecraft.World/Inventory.h index db5f42d6..539b9f49 100644 --- a/Minecraft.World/Inventory.h +++ b/Minecraft.World/Inventory.h @@ -68,6 +68,7 @@ public: shared_ptr<ItemInstance> getResourceItem(int type,int iAuxVal); bool hasResource(int type); + int countResource(int type, int auxVal); void swapSlots(int from, int to); bool add(shared_ptr<ItemInstance> item); shared_ptr<ItemInstance> removeItem(unsigned int slot, int count); |
