diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 22:20:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 22:20:36 +0300 |
commit | acaaee81e79dfca6991636233bcaa4ee7994da93 (patch) | |
tree | 585f5940322cc6b9faf873af47e09ed66e56243d /src | |
parent | ab55f44e40262249f247d6001d0e1e7ba9217202 (diff) | |
download | mv-acaaee81e79dfca6991636233bcaa4ee7994da93.tar.gz mv-acaaee81e79dfca6991636233bcaa4ee7994da93.tar.bz2 mv-acaaee81e79dfca6991636233bcaa4ee7994da93.tar.xz mv-acaaee81e79dfca6991636233bcaa4ee7994da93.zip |
eathena: add partial support for packet SMSG_MVP_EXP 0x010b.
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 | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 515a5923d..4e4231561 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -67,6 +67,7 @@ ChatHandler::ChatHandler() : SMSG_GM_CHAT2, SMSG_MVP_EFFECT, SMSG_MVP_ITEM, + SMSG_MVP_EXP, SMSG_IGNORE_ALL_RESPONSE, SMSG_COLOR_MESSAGE, SMSG_CHAT_IGNORE_LIST, @@ -144,6 +145,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processMVPItem(msg); break; + case SMSG_MVP_EXP: + processMVPExp(msg); + break; + case SMSG_IGNORE_ALL_RESPONSE: processIgnoreAllResponse(msg); break; @@ -856,4 +861,10 @@ void ChatHandler::processMVPItem(Net::MessageIn &msg) msg.readInt16("item id"); } +void ChatHandler::processMVPExp(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("exo"); +} + } // namespace EAthena diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 27104edfd..e2ccb960d 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -141,6 +141,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processChatRoleChange(Net::MessageIn &msg); static void processMVPItem(Net::MessageIn &msg); + + static void processMVPExp(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index da0517938..1c3846ebc 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -252,6 +252,7 @@ #define SMSG_QUEST_NPC_EFFECT 0x0446 #define SMSG_MVP_ITEM 0x010a +#define SMSG_MVP_EXP 0x010b #define SMSG_MVP_EFFECT 0x010c #define SMSG_RANKS_LIST 0x097d |