summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 19:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 19:50:16 +0300
commitf1a4060bf1e4a0c30e4f3a68731ac2e758f247e9 (patch)
tree02ccb9168898121cb5c17e148f67ca4cc8c0bccb /src/net/eathena/chathandler.cpp
parentcb77d9a3581105efadcedabcd7ad266bfdac0f62 (diff)
downloadmv-f1a4060bf1e4a0c30e4f3a68731ac2e758f247e9.tar.gz
mv-f1a4060bf1e4a0c30e4f3a68731ac2e758f247e9.tar.bz2
mv-f1a4060bf1e4a0c30e4f3a68731ac2e758f247e9.tar.xz
mv-f1a4060bf1e4a0c30e4f3a68731ac2e758f247e9.zip
eathena: add partial support for packet SMSG_CHAT_CREATE_ACK 0x00d6.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 85c869a87..18cfa32cd 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -77,6 +77,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_LEAVE,
SMSG_CHAT_JOIN_CHANNEL,
SMSG_IGNORE_NICK_ACK,
+ SMSG_CHAT_CREATE_ACK,
0
};
handledMessages = _messages;
@@ -161,6 +162,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processIgnoreNickAck(msg);
break;
+ case SMSG_CHAT_CREATE_ACK:
+ processChatCreateAck(msg);
+ break;
+
default:
break;
}
@@ -771,4 +776,10 @@ void ChatHandler::talkPet(const std::string &restrict text,
outMsg.writeInt8(0, "zero byte");
}
+void ChatHandler::processChatCreateAck(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("flag");
+}
+
} // namespace EAthena