diff options
Diffstat (limited to 'src/net/eathena/itemhandler.cpp')
-rw-r--r-- | src/net/eathena/itemhandler.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/net/eathena/itemhandler.cpp b/src/net/eathena/itemhandler.cpp index 1061a6a59..0a1629517 100644 --- a/src/net/eathena/itemhandler.cpp +++ b/src/net/eathena/itemhandler.cpp @@ -42,6 +42,7 @@ ItemHandler::ItemHandler() : SMSG_ITEM_DROPPED, SMSG_ITEM_REMOVE, SMSG_GRAFFITI_VISIBLE, + SMSG_ITEM_MVP_DROPPED, 0 }; handledMessages = _messages; @@ -67,6 +68,10 @@ void ItemHandler::handleMessage(Net::MessageIn &msg) processGraffiti(msg); break; + case SMSG_ITEM_MVP_DROPPED: + processItemMvpDropped(msg); + break; + default: break; } @@ -104,4 +109,16 @@ void ItemHandler::processGraffiti(Net::MessageIn &msg) msg.readString(80, "text"); } +void ItemHandler::processItemMvpDropped(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("len"); + msg.readUInt8("type"); + msg.readInt16("item id"); + msg.readUInt8("len"); + msg.readString(24, "name"); + msg.readUInt8("monster name len"); + msg.readString(24, "monster name"); +} + } // namespace EAthena |