diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 19:50:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 19:50:16 +0300 |
commit | f1a4060bf1e4a0c30e4f3a68731ac2e758f247e9 (patch) | |
tree | 02ccb9168898121cb5c17e148f67ca4cc8c0bccb /src/net | |
parent | cb77d9a3581105efadcedabcd7ad266bfdac0f62 (diff) | |
download | mv-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')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 11 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 14 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 diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 798524da9..98efb4711 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -127,6 +127,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processBeingChat(Net::MessageIn &msg); static void processIgnoreNickAck(Net::MessageIn &msg); + + static void processChatCreateAck(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 25290b89f..db6e430b5 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -258,6 +258,7 @@ #define SMSG_PVP_INFO 0x0210 #define SMSG_CHAT_IGNORE_LIST 0x00d4 +#define SMSG_CHAT_CREATE_ACK 0x00d6 #define SMSG_CHAT_DISPLAY 0x00d7 #define SMSG_CHAT_JOIN_ACK 0x00db #define SMSG_CHAT_LEAVE 0x00dd |