diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 22:15:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 22:15:01 +0300 |
commit | ab55f44e40262249f247d6001d0e1e7ba9217202 (patch) | |
tree | e017e5303b5617f4c9ea08b0518e07e0b1e9e763 /src/net/eathena/chathandler.cpp | |
parent | 421f7cf60e960b340a70fc75022ffaff2558eb48 (diff) | |
download | manaverse-ab55f44e40262249f247d6001d0e1e7ba9217202.tar.gz manaverse-ab55f44e40262249f247d6001d0e1e7ba9217202.tar.bz2 manaverse-ab55f44e40262249f247d6001d0e1e7ba9217202.tar.xz manaverse-ab55f44e40262249f247d6001d0e1e7ba9217202.zip |
eathena: add partial support for packet SMSG_MVP_ITEM 0x010a.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 11 |
1 files changed, 11 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 |