From c1657f9dd2099796c6b20b9672d500aee30e205b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Aug 2015 18:13:48 +0300 Subject: Move all receive (process) methods into protected. --- src/net/ea/inventoryhandler.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/net/ea/inventoryhandler.h') diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index fa2f2d0b2..29d24a1ac 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -73,6 +73,16 @@ class InventoryHandler notfinal : public Net::InventoryHandler static int getSlot(const int eAthenaSlot) A_WARN_UNUSED; + void destroyStorage() override final; + + void forgotStorage() override final; + + Inventory *getStorage() const override final + { return mStorage; } + + protected: + InventoryHandler(); + static void processPlayerInventoryRemove(Net::MessageIn &msg); static void processPlayerInventoryUse(Net::MessageIn &msg); @@ -87,16 +97,6 @@ class InventoryHandler notfinal : public Net::InventoryHandler static void processPlayerArrowEquip(Net::MessageIn &msg); - void destroyStorage() override final; - - void forgotStorage() override final; - - Inventory *getStorage() const override final - { return mStorage; } - - protected: - InventoryHandler(); - static EquipBackend mEquips; static InventoryItems mInventoryItems; static Inventory *mStorage; -- cgit v1.2.3-60-g2f50