diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 14:24:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 14:24:52 +0300 |
commit | 90135ee39f6d28d5a7e1cdc58c3a90533aa6fa25 (patch) | |
tree | 779635454474bd6bd4c17e0d3d29b3386a2cc5ca /src/net/eathena/chathandler.cpp | |
parent | 06972c2281cc8d13834e022639699e2dc03cb639 (diff) | |
download | manaverse-90135ee39f6d28d5a7e1cdc58c3a90533aa6fa25.tar.gz manaverse-90135ee39f6d28d5a7e1cdc58c3a90533aa6fa25.tar.bz2 manaverse-90135ee39f6d28d5a7e1cdc58c3a90533aa6fa25.tar.xz manaverse-90135ee39f6d28d5a7e1cdc58c3a90533aa6fa25.zip |
eathena: add partial support for packet SMSG_CHAT_TALKIE_BOX 0x0191.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 36a8035c5..e8d857cf2 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -88,6 +88,7 @@ ChatHandler::ChatHandler() : SMSG_CHAT_ROLE_CHANGE, SMSG_MANNER_MESSAGE, SMSG_CHAT_SILENCE, + SMSG_CHAT_TALKIE_BOX, 0 }; handledMessages = _messages; @@ -216,6 +217,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processChatSilence(msg); break; + case SMSG_CHAT_TALKIE_BOX: + processChatTalkieBox(msg); + break; + default: break; } @@ -900,4 +905,11 @@ void ChatHandler::processChatSilence(Net::MessageIn &msg) msg.readString(24, "gm name"); } +void ChatHandler::processChatTalkieBox(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("being id"); + msg.readString(80, "message"); +} + } // namespace EAthena |