From 5ddbefcd1768f6274b46e4516277fbb0432f3f2d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Aug 2015 22:46:08 +0300 Subject: Move receive code from chathandler into separate file. --- src/net/eathena/chathandler.h | 71 ------------------------------------------- 1 file changed, 71 deletions(-) (limited to 'src/net/eathena/chathandler.h') diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index d934bb203..7fd56cd3c 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -96,79 +96,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler void kickFromChatRoom(const std::string &nick) const override final; 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); - - static void processChatContinue(std::string chatMsg, - ChatMsgTypeT own); - - static void processWhisper(Net::MessageIn &msg); - - static void processWhisperResponse(Net::MessageIn &msg); - - static void processGmChat(Net::MessageIn &msg); - - static void processGmChat2(Net::MessageIn &msg); - - static void processChatIgnoreList(Net::MessageIn &msg); - - static void processFormatMessage(Net::MessageIn &msg); - - static void processFormatMessageNumber(Net::MessageIn &msg); - - static void processFormatMessageSkill(Net::MessageIn &msg); - - static void processChatDisplay(Net::MessageIn &msg); - - static void processChatRoomJoinAck(Net::MessageIn &msg); - - static void processChatRoomLeave(Net::MessageIn &msg); - - static void processJoinChannel(Net::MessageIn &msg); - - static void processWhisperContinue(const std::string &nick, - std::string chatMsg); - - static void processBeingChat(Net::MessageIn &msg); - - static void processIgnoreNickAck(Net::MessageIn &msg); - - static void processChatRoomCreateAck(Net::MessageIn &msg); - - static void processChatRoomDestroy(Net::MessageIn &msg); - - static void processChatRoomJoinFailed(Net::MessageIn &msg); - - static void processChatRoomAddMember(Net::MessageIn &msg); - - static void processChatRoomSettings(Net::MessageIn &msg); - - static void processChatRoomRoleChange(Net::MessageIn &msg); - - static void processMVPItem(Net::MessageIn &msg); - - static void processMVPExp(Net::MessageIn &msg); - - static void processMVPNoItem(Net::MessageIn &msg); - - static void processMannerMessage(Net::MessageIn &msg); - - static void processChatSilence(Net::MessageIn &msg); - - static void processChatTalkieBox(Net::MessageIn &msg); - - static void processBattleChatMessage(Net::MessageIn &msg); - - static void processScriptMessage(Net::MessageIn &msg); - - private: - static std::string mChatRoom; }; } // namespace EAthena -- cgit v1.2.3-70-g09d2