diff options
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r-- | src/net/ea/inventoryhandler.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 29d24a1ac..3883ab0d4 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -68,40 +68,16 @@ class InventoryHandler notfinal : public Net::InventoryHandler size_t getSize(const int type) const override final A_WARN_UNUSED; - void pushPickup(const BeingId floorId) - { mSentPickups.push(floorId); } - - static int getSlot(const int eAthenaSlot) A_WARN_UNUSED; + void pushPickup(const BeingId floorId); void destroyStorage() override final; void forgotStorage() override final; - Inventory *getStorage() const override final - { return mStorage; } + Inventory *getStorage() const override final; protected: InventoryHandler(); - - static void processPlayerInventoryRemove(Net::MessageIn &msg); - - static void processPlayerInventoryUse(Net::MessageIn &msg); - - static void processItemUseResponse(Net::MessageIn &msg); - - static void processPlayerStorageStatus(Net::MessageIn &msg); - - static void processPlayerStorageClose(Net::MessageIn &msg); - - static void processPlayerAttackRange(Net::MessageIn &msg); - - static void processPlayerArrowEquip(Net::MessageIn &msg); - - static EquipBackend mEquips; - static InventoryItems mInventoryItems; - static Inventory *mStorage; - static PickupQueue mSentPickups; - static bool mDebugInventory; }; } // namespace Ea |