diff options
Diffstat (limited to 'src')
-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 92aefa370..515a5923d 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -66,6 +66,7 @@ ChatHandler::ChatHandler() : SMSG_GM_CHAT, SMSG_GM_CHAT2, SMSG_MVP_EFFECT, + SMSG_MVP_ITEM, SMSG_IGNORE_ALL_RESPONSE, SMSG_COLOR_MESSAGE, SMSG_CHAT_IGNORE_LIST, @@ -139,6 +140,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processMVPEffect(msg); break; + case SMSG_MVP_ITEM: + processMVPItem(msg); + break; + case SMSG_IGNORE_ALL_RESPONSE: processIgnoreAllResponse(msg); break; @@ -845,4 +850,10 @@ void ChatHandler::processChatRoleChange(Net::MessageIn &msg) msg.readString(24, "name"); } +void ChatHandler::processMVPItem(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("item id"); +} + } // namespace EAthena diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index cfb9b8108..27104edfd 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -139,6 +139,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processChatSettings(Net::MessageIn &msg); static void processChatRoleChange(Net::MessageIn &msg); + + static void processMVPItem(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index e65f84e61..da0517938 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -251,7 +251,9 @@ #define SMSG_QUEST_ACTIVATE 0x02b7 #define SMSG_QUEST_NPC_EFFECT 0x0446 +#define SMSG_MVP_ITEM 0x010a #define SMSG_MVP_EFFECT 0x010c + #define SMSG_RANKS_LIST 0x097d #define SMSG_MONSTER_HP 0x0977 #define SMSG_PLAYER_HP 0x080e |