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 | |
parent | 0d2e07905e17d9ac9c53da4ba3bf798d967e7405 (diff) | |
download | plus-3c5824865fdd3601f0491ab8f90b47c49230695b.tar.gz plus-3c5824865fdd3601f0491ab8f90b47c49230695b.tar.bz2 plus-3c5824865fdd3601f0491ab8f90b47c49230695b.tar.xz plus-3c5824865fdd3601f0491ab8f90b47c49230695b.zip |
eathena: add partial support for packet SMSG_MANNER_MESSAGE 0x014a.
Diffstat (limited to 'src/net/eathena')
-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 | 2 |
3 files changed, 15 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 diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 92b4f73bd..bf2048a40 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -145,6 +145,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processMVPExp(Net::MessageIn &msg); static void processMVPNoItem(Net::MessageIn &msg); + + static void processMannerMessage(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index bb1b55fe9..0e1fc2cd7 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -362,6 +362,8 @@ #define SMSG_ONLINE_LIST 0x0b10 +#define SMSG_MANNER_MESSAGE 0x014a + /********************************** * Packets from client to server * **********************************/ |