diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 15:54:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 15:54:03 +0300 |
commit | 879615bf93c0a4159ca68a1fc07657370c79950d (patch) | |
tree | 779fe86cf943a953997c67c31b11c92df26f2900 /src/net/eathena | |
parent | c4802097dec05ca39e395e7dba3a55dba70edbe8 (diff) | |
download | mv-879615bf93c0a4159ca68a1fc07657370c79950d.tar.gz mv-879615bf93c0a4159ca68a1fc07657370c79950d.tar.bz2 mv-879615bf93c0a4159ca68a1fc07657370c79950d.tar.xz mv-879615bf93c0a4159ca68a1fc07657370c79950d.zip |
Add static in chathandler.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 29 |
2 files changed, 16 insertions, 15 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index d16692cf5..950363350 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -481,7 +481,7 @@ void ChatHandler::processGmChat2(Net::MessageIn &msg) chatWindow->addGlobalMessage(chatMsg); } -void ChatHandler::processWhisper(Net::MessageIn &msg) const +void ChatHandler::processWhisper(Net::MessageIn &msg) { BLOCK_START("ChatHandler::processWhisper") const int chatMsgLength = msg.readInt16("len") - 32; diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 6bcf315bd..c48d74470 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -85,33 +85,34 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler protected: static std::string extractChannelFromMessage(std::string &chatMsg); - void processChat(Net::MessageIn &msg); + static void processChat(Net::MessageIn &msg); - void processColorChat(Net::MessageIn &msg); + static void processColorChat(Net::MessageIn &msg); - void processChatContinue(std::string chatMsg, ChatMsgType::Type own); + static void processChatContinue(std::string chatMsg, + ChatMsgType::Type own); - void processWhisper(Net::MessageIn &msg) const; + static void processWhisper(Net::MessageIn &msg); - void processWhisperResponse(Net::MessageIn &msg); + static void processWhisperResponse(Net::MessageIn &msg); - void processGmChat(Net::MessageIn &msg); + static void processGmChat(Net::MessageIn &msg); - void processGmChat2(Net::MessageIn &msg); + static void processGmChat2(Net::MessageIn &msg); - void processChatIgnoreList(Net::MessageIn &msg); + static void processChatIgnoreList(Net::MessageIn &msg); - void processFormatMessage(Net::MessageIn &msg); + static void processFormatMessage(Net::MessageIn &msg); - void processFormatMessageNumber(Net::MessageIn &msg); + static void processFormatMessageNumber(Net::MessageIn &msg); - void processFormatMessageSkill(Net::MessageIn &msg); + static void processFormatMessageSkill(Net::MessageIn &msg); - void processChatDisplay(Net::MessageIn &msg); + static void processChatDisplay(Net::MessageIn &msg); - void processChatJoinAck(Net::MessageIn &msg); + static void processChatJoinAck(Net::MessageIn &msg); - void processChatLeave(Net::MessageIn &msg); + static void processChatLeave(Net::MessageIn &msg); }; } // namespace EAthena |