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.cpp | |
parent | c60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff) | |
download | mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2 mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz mana-acd557f9472c711fe92b9c158ec336abf688bf7b.zip |
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 55714a70..8f2b4453 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -72,7 +72,7 @@ InventoryHandler::InventoryHandler() inventoryHandler = this; } -void InventoryHandler::handleMessage(MessageIn &msg) +void InventoryHandler::handleMessage(Net::MessageIn &msg) { int number; int index, amount, itemId, equipType, arrow; @@ -374,4 +374,14 @@ void InventoryHandler::moveItem(StorageType source, int slot, int amount, } } +size_t InventoryHandler::getInventorySize() const +{ + return 100; +} + +size_t InventoryHandler::getStorageSize() const +{ + return 300; +} + } // namespace EAthena |