diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 23:23:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 23:42:48 +0300 |
commit | 3c5824865fdd3601f0491ab8f90b47c49230695b (patch) | |
tree | 11a619544626bbdcff9afb91a43c84860fc05f51 /src/net/eathena/chathandler.cpp | |
parent | 0d2e07905e17d9ac9c53da4ba3bf798d967e7405 (diff) | |
download | manaplus-3c5824865fdd3601f0491ab8f90b47c49230695b.tar.gz manaplus-3c5824865fdd3601f0491ab8f90b47c49230695b.tar.bz2 manaplus-3c5824865fdd3601f0491ab8f90b47c49230695b.tar.xz manaplus-3c5824865fdd3601f0491ab8f90b47c49230695b.zip |
eathena: add partial support for packet SMSG_MANNER_MESSAGE 0x014a.
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 9b47a7279..ea56d8214 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -86,6 +86,7 @@ ChatHandler::ChatHandler() : SMSG_CHAT_ADD_MEMBER, SMSG_CHAT_SETTINGS, SMSG_CHAT_ROLE_CHANGE, + SMSG_MANNER_MESSAGE, 0 }; handledMessages = _messages; @@ -206,6 +207,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processChatRoleChange(msg); break; + case SMSG_MANNER_MESSAGE: + processMannerMessage(msg); + break; + default: break; } @@ -876,4 +881,10 @@ void ChatHandler::processMVPNoItem(Net::MessageIn &msg) { } +void ChatHandler::processMannerMessage(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("type"); +} + } // namespace EAthena |