summaryrefslogtreecommitdiff
path: root/src/net/eathena/itemhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 17:51:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 17:51:16 +0300
commit26487f01c0f6367e6405c277b3b23b6351981b75 (patch)
tree4a727ef5781a09b513a55ebef8063a6aca00c694 /src/net/eathena/itemhandler.cpp
parent4688d64d9881d296193b03d3dd6f5a7305bbf3a7 (diff)
downloadplus-26487f01c0f6367e6405c277b3b23b6351981b75.tar.gz
plus-26487f01c0f6367e6405c277b3b23b6351981b75.tar.bz2
plus-26487f01c0f6367e6405c277b3b23b6351981b75.tar.xz
plus-26487f01c0f6367e6405c277b3b23b6351981b75.zip
eathena: add partial support for packet SMSG_ITEM_MVP_DROPPED 0x07fd.
Diffstat (limited to 'src/net/eathena/itemhandler.cpp')
-rw-r--r--src/net/eathena/itemhandler.cpp17
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