diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-25 18:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-25 18:13:48 +0300 |
commit | c1657f9dd2099796c6b20b9672d500aee30e205b (patch) | |
tree | 07e274728a1ec25c8890abf07ac9943818381c55 /src/net/eathena | |
parent | a886446d41ed6656afbdd348b6dc6cb617309040 (diff) | |
download | plus-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/eathena')
-rw-r--r-- | src/net/eathena/chathandler.h | 6 | ||||
-rw-r--r-- | src/net/eathena/pethandler.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index a1a86f20e..d934bb203 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -68,9 +68,6 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler const int limit, const bool isPublic) override final; - static void processRaw(MessageOut &restrict outMsg, - const std::string &restrict line); - void ignore(const std::string &nick) const override final; void unIgnore(const std::string &nick) const override final; @@ -101,6 +98,9 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler protected: static std::string extractChannelFromMessage(std::string &chatMsg); + static void processRaw(MessageOut &restrict outMsg, + const std::string &restrict line); + static void processChat(Net::MessageIn &msg); static void processColorChat(Net::MessageIn &msg); diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h index 967df6795..46bdf8f90 100644 --- a/src/net/eathena/pethandler.h +++ b/src/net/eathena/pethandler.h @@ -51,8 +51,6 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void sendPetMessage(const int data) const override final; - void processPetMessage(Net::MessageIn &msg); - void setName(const std::string &name) const override final; void requestStatus() const override final; @@ -70,6 +68,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void startAi(const bool start) const override final; protected: + void processPetMessage(Net::MessageIn &msg); + static void processPetRoulette(Net::MessageIn &msg); static void processEggsList(Net::MessageIn &msg); |