From f1a4060bf1e4a0c30e4f3a68731ac2e758f247e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 19:50:16 +0300 Subject: eathena: add partial support for packet SMSG_CHAT_CREATE_ACK 0x00d6. --- src/net/eathena/chathandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/chathandler.cpp') 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 -- cgit v1.2.3-70-g09d2