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/tmwa/chathandler.h | 6 +++--- src/net/tmwa/guildmanager.h | 4 ++-- src/net/tmwa/questhandler.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h index 4bb199416..176d8e3be 100644 --- a/src/net/tmwa/chathandler.h +++ b/src/net/tmwa/chathandler.h @@ -61,9 +61,6 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler void unIgnoreAll() const override final; - static void processRaw(MessageOut &restrict outMsg, - const std::string &restrict line); - void createChatRoom(const std::string &title, const std::string &password, const int limit, @@ -114,6 +111,9 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processBeingChat(Net::MessageIn &msg); static void processScriptMessage(Net::MessageIn &msg); + + static void processRaw(MessageOut &restrict outMsg, + const std::string &restrict line); }; } // namespace TmwAthena diff --git a/src/net/tmwa/guildmanager.h b/src/net/tmwa/guildmanager.h index 4a03f02b9..92b5eeae0 100644 --- a/src/net/tmwa/guildmanager.h +++ b/src/net/tmwa/guildmanager.h @@ -46,8 +46,6 @@ class GuildManager final static void send(const std::string &msg); - bool processGuildMessage(const std::string &msg); - void getNames(StringVect &names) const; void requestGuildInfo(); @@ -84,6 +82,8 @@ class GuildManager final ChatTab *getTab(); + bool processGuildMessage(const std::string &msg); + private: bool process(std::string msg); diff --git a/src/net/tmwa/questhandler.h b/src/net/tmwa/questhandler.h index 4fcd470e1..c63fa56b0 100644 --- a/src/net/tmwa/questhandler.h +++ b/src/net/tmwa/questhandler.h @@ -38,12 +38,12 @@ class QuestHandler final : public MessageHandler, void handleMessage(Net::MessageIn &msg) override final; + void setQeustActiveState(const int questId, + const bool active) const override final; + protected: static void processSetQuestVar(Net::MessageIn &msg); static void processPlayerQuests(Net::MessageIn &msg); - - void setQeustActiveState(const int questId, - const bool active) const override final; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2