summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-25 18:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-25 18:13:48 +0300
commitc1657f9dd2099796c6b20b9672d500aee30e205b (patch)
tree07e274728a1ec25c8890abf07ac9943818381c55 /src/net/ea/inventoryhandler.h
parenta886446d41ed6656afbdd348b6dc6cb617309040 (diff)
downloadplus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.gz
plus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.bz2
plus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.xz
plus-c1657f9dd2099796c6b20b9672d500aee30e205b.zip
Move all receive (process) methods into protected.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r--src/net/ea/inventoryhandler.h20
1 files changed, 10 insertions, 10 deletions
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;