summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
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/tmwa')
-rw-r--r--src/net/tmwa/chathandler.h6
-rw-r--r--src/net/tmwa/guildmanager.h4
-rw-r--r--src/net/tmwa/questhandler.h6
3 files changed, 8 insertions, 8 deletions
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