diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 22:23:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 22:23:42 +0300 |
commit | 0b47807d75fe6c1c95d7b5e44272c55672ef6cfb (patch) | |
tree | 41d94f716e2d9a1f929e334a0d373c8635d0287c /src | |
parent | acaaee81e79dfca6991636233bcaa4ee7994da93 (diff) | |
download | plus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.tar.gz plus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.tar.bz2 plus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.tar.xz plus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.zip |
eathena: add partial support for packet SMSG_MVP_NO_ITEM 0x010d.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 9 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 4e4231561..9b47a7279 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -68,6 +68,7 @@ ChatHandler::ChatHandler() : SMSG_MVP_EFFECT, SMSG_MVP_ITEM, SMSG_MVP_EXP, + SMSG_MVP_NO_ITEM, SMSG_IGNORE_ALL_RESPONSE, SMSG_COLOR_MESSAGE, SMSG_CHAT_IGNORE_LIST, @@ -149,6 +150,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processMVPExp(msg); break; + case SMSG_MVP_NO_ITEM: + processMVPNoItem(msg); + break; + case SMSG_IGNORE_ALL_RESPONSE: processIgnoreAllResponse(msg); break; @@ -867,4 +872,8 @@ void ChatHandler::processMVPExp(Net::MessageIn &msg) msg.readInt32("exo"); } +void ChatHandler::processMVPNoItem(Net::MessageIn &msg) +{ +} + } // namespace EAthena diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index e2ccb960d..92b4f73bd 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -143,6 +143,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processMVPItem(Net::MessageIn &msg); static void processMVPExp(Net::MessageIn &msg); + + static void processMVPNoItem(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 1c3846ebc..1993714f4 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -254,6 +254,7 @@ #define SMSG_MVP_ITEM 0x010a #define SMSG_MVP_EXP 0x010b #define SMSG_MVP_EFFECT 0x010c +#define SMSG_MVP_NO_ITEM 0x010d #define SMSG_RANKS_LIST 0x097d #define SMSG_MONSTER_HP 0x0977 |