From 3e3efc374b93e92fd23fd8193df32c9c2d70f00a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 20:21:27 +0300 Subject: eathena: add partial support for packet SMSG_CHAT_JOIN_FAILED 0x00da. --- 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 353d36856..e2aa51ece 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -79,6 +79,7 @@ ChatHandler::ChatHandler() : SMSG_IGNORE_NICK_ACK, SMSG_CHAT_CREATE_ACK, SMSG_CHAT_DESTROY, + SMSG_CHAT_JOIN_FAILED, 0 }; handledMessages = _messages; @@ -171,6 +172,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processChatDestroy(msg); break; + case SMSG_CHAT_JOIN_FAILED: + processChatJoinFailed(msg); + break; + default: break; } @@ -793,4 +798,10 @@ void ChatHandler::processChatDestroy(Net::MessageIn &msg) msg.readInt32("chat id"); } +void ChatHandler::processChatJoinFailed(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readUInt8("flag"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50