summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-03 21:20:31 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-03 21:20:31 +0300
commitcb573ac24373a908ff549c35c3a80dd31b2fdea5 (patch)
treee63d24c33a760fc6d408a09900fc1e02dc603c00 /src/net/ea/inventoryhandler.h
parenta1bd0179b28fa93c771bc5602f64746878f0ffad (diff)
downloadmanaverse-cb573ac24373a908ff549c35c3a80dd31b2fdea5.tar.gz
manaverse-cb573ac24373a908ff549c35c3a80dd31b2fdea5.tar.bz2
manaverse-cb573ac24373a908ff549c35c3a80dd31b2fdea5.tar.xz
manaverse-cb573ac24373a908ff549c35c3a80dd31b2fdea5.zip
add drag and drop support between inventory and storage.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r--src/net/ea/inventoryhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index 2497d9dd5..b21ba2fbc 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -201,6 +201,9 @@ class InventoryHandler : public Net::InventoryHandler
void processPlayerArrowEquip(Net::MessageIn &msg);
+ Inventory *getStorage() const
+ { return mStorage; }
+
protected:
EquipBackend mEquips;
InventoryItems mInventoryItems;