From 0b47807d75fe6c1c95d7b5e44272c55672ef6cfb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 22:23:42 +0300 Subject: eathena: add partial support for packet SMSG_MVP_NO_ITEM 0x010d. --- src/net/eathena/chathandler.cpp | 9 +++++++++ src/net/eathena/chathandler.h | 2 ++ src/net/eathena/protocol.h | 1 + 3 files changed, 12 insertions(+) (limited to 'src/net') 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 -- cgit v1.2.3-60-g2f50