summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 02:37:09 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 02:37:09 +0200
commit27114fa2694318f2a1c56cb828a3b79731efcb74 (patch)
treeaad31af84a5932bf8fda83e367dfa1ac78fec1c3 /src/net/inventoryhandler.h
parent36239b2d689b862a951a65a9be7376a500f1ace9 (diff)
downloadmana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.gz
mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.bz2
mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.xz
mana-27114fa2694318f2a1c56cb828a3b79731efcb74.zip
Fixed visible equipment updates, and made it based on equip.xml.
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