diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 10:18:25 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 10:18:25 -0700 |
commit | acd557f9472c711fe92b9c158ec336abf688bf7b (patch) | |
tree | 2295d13589411ee88afe16f4997bea65b4ebba94 /src/net/ea/inventoryhandler.h | |
parent | c60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff) | |
download | mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2 mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.zip |
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r-- | src/net/ea/inventoryhandler.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 30408dad..e61ee14b 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -23,9 +23,10 @@ #define NET_EA_INVENTORYHANDLER_H #include "net/inventoryhandler.h" -#include "net/messagehandler.h" #include "net/net.h" +#include "net/ea/messagehandler.h" + namespace EAthena { class InventoryHandler : public MessageHandler, public Net::InventoryHandler @@ -33,7 +34,7 @@ class InventoryHandler : public MessageHandler, public Net::InventoryHandler public: InventoryHandler(); - void handleMessage(MessageIn &msg); + void handleMessage(Net::MessageIn &msg); void equipItem(const Item *item); @@ -55,6 +56,10 @@ class InventoryHandler : public MessageHandler, public Net::InventoryHandler void moveItem(StorageType source, int slot, int amount, StorageType destination); + + size_t getInventorySize() const; + + size_t getStorageSize() const; }; } // namespace EAthena |