diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/adminhandler.h | 8 | ||||
-rw-r--r-- | src/net/eathena/auctionhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/bankhandler.h | 6 |
4 files changed, 11 insertions, 10 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 605a73c6d..3c987cc77 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -38,10 +38,11 @@ extern Net::AdminHandler *adminHandler; namespace EAthena { +std::string AdminHandler::mStatsName; + AdminHandler::AdminHandler() : MessageHandler(), - Ea::AdminHandler(), - mStatsName() + Ea::AdminHandler() { static const uint16_t _messages[] = { diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h index eafa6f6a2..5f9c85462 100644 --- a/src/net/eathena/adminhandler.h +++ b/src/net/eathena/adminhandler.h @@ -76,13 +76,13 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler void requestStats(const std::string &name) override final; protected: - void processAdminGetLoginAck(Net::MessageIn &msg); + static void processAdminGetLoginAck(Net::MessageIn &msg); - void processSetTileType(Net::MessageIn &msg); + static void processSetTileType(Net::MessageIn &msg); - void processAccountStats(Net::MessageIn &msg); + static void processAccountStats(Net::MessageIn &msg); - std::string mStatsName; + static std::string mStatsName; }; } // namespace EAthena diff --git a/src/net/eathena/auctionhandler.h b/src/net/eathena/auctionhandler.h index 2f2d11894..46a647f61 100644 --- a/src/net/eathena/auctionhandler.h +++ b/src/net/eathena/auctionhandler.h @@ -37,7 +37,7 @@ class AuctionHandler final : public MessageHandler, public Net::AuctionHandler void handleMessage(Net::MessageIn &msg) override final; protected: - void processOpenWindow(Net::MessageIn &msg); + static void processOpenWindow(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/bankhandler.h b/src/net/eathena/bankhandler.h index 193f7ea0b..88305df71 100644 --- a/src/net/eathena/bankhandler.h +++ b/src/net/eathena/bankhandler.h @@ -44,11 +44,11 @@ class BankHandler final : public MessageHandler, void check() const override final; protected: - void processBankStatus(Net::MessageIn &msg); + static void processBankStatus(Net::MessageIn &msg); - void processBankDeposit(Net::MessageIn &msg); + static void processBankDeposit(Net::MessageIn &msg); - void processBankWithdraw(Net::MessageIn &msg); + static void processBankWithdraw(Net::MessageIn &msg); }; } // namespace EAthena |