ManaPlus
chatrecv.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  * Copyright (C) 2019-2021 Andrei Karas
7  *
8  * This file is part of The ManaPlus Client.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #ifndef NET_EATHENA_CHATRECV_H
25 #define NET_EATHENA_CHATRECV_H
26 
27 #include "enums/gui/chatmsgtype.h"
28 
29 #include <string>
30 
31 namespace Net
32 {
33  class MessageIn;
34 } // namespace Net
35 
36 namespace EAthena
37 {
38  namespace ChatRecv
39  {
40  std::string extractChannelFromMessage(std::string &chatMsg);
43  void processChatContinue(std::string chatMsg,
44  const ChatMsgTypeT own);
60  void processWhisperContinue(const std::string &nick,
61  std::string chatMsg);
79  extern std::string mChatRoom;
80  } // namespace ChatRecv
81 } // namespace EAthena
82 
83 #endif // NET_EATHENA_CHATRECV_H
ChatMsgType ::T ChatMsgTypeT
Definition: chatmsgtype.h:41
bool msg(InputEvent &event)
Definition: chat.cpp:39
void processChatContinue(std::string chatMsg, const ChatMsgTypeT own)
Definition: chatrecv.cpp:279
void processFormatMessageString(Net::MessageIn &msg)
Definition: chatrecv.cpp:189
void processIgnoreNickAck(Net::MessageIn &msg)
Definition: chatrecv.cpp:64
void processBeingChat(Net::MessageIn &msg)
Definition: chatrecv.cpp:554
void processChatRoomSettings(Net::MessageIn &msg)
Definition: chatrecv.cpp:700
void processMVPItem(Net::MessageIn &msg)
Definition: chatrecv.cpp:744
void processWhisper(Net::MessageIn &msg)
Definition: chatrecv.cpp:347
void processWhisperContinue(const std::string &nick, std::string chatMsg)
Definition: chatrecv.cpp:522
std::string extractChannelFromMessage(std::string &chatMsg)
Definition: chatrecv.cpp:263
void processChatTalkieBox(Net::MessageIn &msg)
Definition: chatrecv.cpp:796
void processMVPNoItem(Net::MessageIn &msg)
Definition: chatrecv.cpp:756
void processGmChat(Net::MessageIn &msg)
Definition: chatrecv.cpp:307
void processChatSilence(Net::MessageIn &msg)
Definition: chatrecv.cpp:777
void processFormatColor(Net::MessageIn &msg)
Definition: chatrecv.cpp:179
void processFormatMessage(Net::MessageIn &msg)
Definition: chatrecv.cpp:125
void processMannerMessage(Net::MessageIn &msg)
Definition: chatrecv.cpp:761
void processColorChat(Net::MessageIn &msg)
Definition: chatrecv.cpp:223
void processScriptMessage(Net::MessageIn &msg)
Definition: chatrecv.cpp:815
void processChatRoomJoinAck(Net::MessageIn &msg)
Definition: chatrecv.cpp:422
void processJoinChannel(Net::MessageIn &msg)
Definition: chatrecv.cpp:491
void processChatRoomRoleChange(Net::MessageIn &msg)
Definition: chatrecv.cpp:726
void processChatIgnoreList(Net::MessageIn &msg)
Definition: chatrecv.cpp:394
void processMVPExp(Net::MessageIn &msg)
Definition: chatrecv.cpp:750
void processChat(Net::MessageIn &msg)
Definition: chatrecv.cpp:111
void processServiceMessageColor(Net::MessageIn &msg)
Definition: chatrecv.cpp:826
void processWhisperResponse(Net::MessageIn &msg)
Definition: chatrecv.cpp:367
void processChatDisplay(Net::MessageIn &msg)
Definition: chatrecv.cpp:403
std::string mChatRoom
Definition: chatrecv.cpp:61
void processBattleChatMessage(Net::MessageIn &msg)
Definition: chatrecv.cpp:806
void processChatRoomCreateAck(Net::MessageIn &msg)
Definition: chatrecv.cpp:616
void processChatRoomDestroy(Net::MessageIn &msg)
Definition: chatrecv.cpp:649
void processChatRoomAddMember(Net::MessageIn &msg)
Definition: chatrecv.cpp:691
void processFormatMessageNumber(Net::MessageIn &msg)
Definition: chatrecv.cpp:164
void processChatRoomJoinFailed(Net::MessageIn &msg)
Definition: chatrecv.cpp:657
void processFormatMessageStringColor(Net::MessageIn &msg)
Definition: chatrecv.cpp:200
void processChatRoomLeave(Net::MessageIn &msg)
Definition: chatrecv.cpp:455
void processFormatMessageSkill(Net::MessageIn &msg)
Definition: chatrecv.cpp:213
void processGmChat2(Net::MessageIn &msg)
Definition: chatrecv.cpp:327