From ab55f44e40262249f247d6001d0e1e7ba9217202 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 22:15:01 +0300 Subject: eathena: add partial support for packet SMSG_MVP_ITEM 0x010a. --- src/net/eathena/chathandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/chathandler.cpp') 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 -- cgit v1.2.3-60-g2f50