summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-13 18:00:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-13 18:00:24 +0300
commit2df278161c10f5261c3075592afd4245a71be89e (patch)
tree12864a7985080b7ef6a96818a895134c552de73d /src/net/eathena/chathandler.h
parent84e2c79004f42656660a32f4b54277954f7ec631 (diff)
downloadmv-2df278161c10f5261c3075592afd4245a71be89e.tar.gz
mv-2df278161c10f5261c3075592afd4245a71be89e.tar.bz2
mv-2df278161c10f5261c3075592afd4245a71be89e.tar.xz
mv-2df278161c10f5261c3075592afd4245a71be89e.zip
eathena: fix chat message owner type.
Diffstat (limited to 'src/net/eathena/chathandler.h')
-rw-r--r--src/net/eathena/chathandler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index 86eeb1386..93cb77935 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -25,6 +25,8 @@
#include "net/ea/chathandler.h"
+#include "gui/chatmsgtype.h"
+
#include "net/eathena/messagehandler.h"
namespace EAthena
@@ -81,13 +83,14 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
const std::string &password) const override final;
protected:
- static std::string extractChannelFromMessage(std::string &chatMsg);
+ static std::string extractChannelFromMessage(std::string &chatMsg,
+ ChatMsgType::Type &own);
void processChat(Net::MessageIn &msg);
void processColorChat(Net::MessageIn &msg);
- void processChatContinue(std::string chatMsg);
+ void processChatContinue(std::string chatMsg, ChatMsgType::Type own);
void processWhisper(Net::MessageIn &msg) const;