diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/inventoryhandler.h | 3 | ||||
-rw-r--r-- | src/net/inventoryhandler.h | 2 |
2 files changed, 5 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; diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index 97a88ca04..a8443d691 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -65,6 +65,8 @@ class InventoryHandler virtual size_t getSize(const int type) const A_WARN_UNUSED = 0; + virtual Inventory *getStorage() const = 0; + virtual int convertFromServerSlot(const int eAthenaSlot) const = 0; }; |