diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 20:21:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 20:21:27 +0300 |
commit | 3e3efc374b93e92fd23fd8193df32c9c2d70f00a (patch) | |
tree | 1cd6502d7fac44aa14c367ed7bff11fc1ee9dfeb /src/net/eathena/chathandler.cpp | |
parent | 6d2d4341e0e1ae538eacb1ab77a15e806597b4ea (diff) | |
download | manaverse-3e3efc374b93e92fd23fd8193df32c9c2d70f00a.tar.gz manaverse-3e3efc374b93e92fd23fd8193df32c9c2d70f00a.tar.bz2 manaverse-3e3efc374b93e92fd23fd8193df32c9c2d70f00a.tar.xz manaverse-3e3efc374b93e92fd23fd8193df32c9c2d70f00a.zip |
eathena: add partial support for packet SMSG_CHAT_JOIN_FAILED 0x00da.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 |