summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-22 15:33:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-22 15:33:53 +0300
commit65c80b4219378cf3e18a6d6beb09ec9913a01d53 (patch)
tree15fedd47422c06a10c2522d00688860d747d30ee /src/net/eathena/inventoryhandler.cpp
parent6a6ae903a648396a7e684f1443ee5a7d7a6dbaa7 (diff)
downloadmv-65c80b4219378cf3e18a6d6beb09ec9913a01d53.tar.gz
mv-65c80b4219378cf3e18a6d6beb09ec9913a01d53.tar.bz2
mv-65c80b4219378cf3e18a6d6beb09ec9913a01d53.tar.xz
mv-65c80b4219378cf3e18a6d6beb09ec9913a01d53.zip
Add packet CMSG_QUICK_IDENTIFY_ITEM 0x0a35.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index c27bf1c8c..fa2905c28 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -221,4 +221,11 @@ void InventoryHandler::selectCart(const BeingId accountId,
outMsg.writeInt8(type, "type");
}
+void InventoryHandler::identifyItem(const Item *const item) const
+{
+ createOutPacket(CMSG_QUICK_IDENTIFY_ITEM);
+ outMsg.writeInt16(static_cast<int16_t>(item->getInvIndex()),
+ "item index");
+}
+
} // namespace EAthena