summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-25 23:42:21 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-25 23:42:21 +0200
commit19f6ce87e69b42fb69a4739ce363e1346cd569ea (patch)
tree48a04a477ede925fd946ac62d36ccc92cf3df4e1 /src/net/inventoryhandler.h
parent88e7a96bffe9758bb4f0916f6841b98f2cfccbfb (diff)
parent011135415f7f9c5cfeb220540621dfd1c46e6db9 (diff)
downloadmana-client-19f6ce87e69b42fb69a4739ce363e1346cd569ea.tar.gz
mana-client-19f6ce87e69b42fb69a4739ce363e1346cd569ea.tar.bz2
mana-client-19f6ce87e69b42fb69a4739ce363e1346cd569ea.tar.xz
mana-client-19f6ce87e69b42fb69a4739ce363e1346cd569ea.zip
Merge branch 'equipment-fix' of github.com:Bertram25/mana
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r--src/net/inventoryhandler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h
index 93b56a40..f1dea956 100644
--- a/src/net/inventoryhandler.h
+++ b/src/net/inventoryhandler.h
@@ -38,6 +38,13 @@ class InventoryHandler
// TODO: fix/remove me
virtual size_t getSize(int type) const = 0;
+
+ virtual bool isWeaponSlot(unsigned int slotTypeId) const = 0;
+
+ virtual bool isAmmoSlot(unsigned int slotTypeId) const = 0;
+
+ virtual unsigned int getVisibleSlotsNumber() const
+ { return 0; }
};
} // namespace Net