summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-07 11:47:24 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-07 11:47:24 -0700
commit99be9859a30e84e758ee3bfe7dcc3de33dfa2391 (patch)
tree49354012582a4c9e9218ebafad429b07b19b2539 /src/net/inventoryhandler.h
parent9c1cc1e46fd21ec48809fbb8f64853fcecef2439 (diff)
downloadmana-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.tar.gz
mana-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.tar.bz2
mana-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.tar.xz
mana-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.zip
More eAthena guild stuff
Also some related chenges elsewhere
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r--src/net/inventoryhandler.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h
index 08caf926..520e390e 100644
--- a/src/net/inventoryhandler.h
+++ b/src/net/inventoryhandler.h
@@ -45,24 +45,23 @@ class InventoryHandler
virtual void moveItem(int oldIndex, int newIndex) = 0;
- virtual void openStorage() = 0;
-
- virtual void closeStorage() = 0;
-
- //void changeCart() = 0;
-
enum StorageType {
INVENTORY,
STORAGE,
+ GUILD_STORAGE,
CART
};
+ virtual void openStorage(StorageType type) = 0;
+
+ virtual void closeStorage(StorageType type) = 0;
+
+ //void changeCart() = 0;
+
virtual void moveItem(StorageType source, int slot, int amount,
StorageType destination) = 0;
- virtual size_t getInventorySize() const = 0;
-
- virtual size_t getStorageSize() const = 0;
+ virtual size_t getSize(StorageType type) const = 0;
};
} // namespace Net