diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-14 01:39:58 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-14 01:39:58 +0200 |
commit | 175027e204d936b2c775fe587e7d3f14e71e1233 (patch) | |
tree | ad0e56e5da67ef47aa94ff0bc9f4757afc9b57d7 /src/inventory.h | |
parent | 0b3368c1675e774954068de6427d0fad282a9293 (diff) | |
download | manaverse-175027e204d936b2c775fe587e7d3f14e71e1233.tar.gz manaverse-175027e204d936b2c775fe587e7d3f14e71e1233.tar.bz2 manaverse-175027e204d936b2c775fe587e7d3f14e71e1233.tar.xz manaverse-175027e204d936b2c775fe587e7d3f14e71e1233.zip |
Add unification for inventory/storage/cart name.
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h index c09492e22..c40a9bd5b 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -50,6 +50,7 @@ class Inventory { INVENTORY = 0, STORAGE, + CART, TRADE, TYPE_END }; @@ -145,6 +146,8 @@ class Inventory Item *findItemBySprite(std::string spritePath, Gender gender); + std::string getName(); + protected: typedef std::list<InventoryListener*> InventoryListenerList; InventoryListenerList mInventoryListeners; |