From 65c80b4219378cf3e18a6d6beb09ec9913a01d53 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Jan 2016 15:33:53 +0300 Subject: Add packet CMSG_QUICK_IDENTIFY_ITEM 0x0a35. --- src/net/eathena/inventoryhandler.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') 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(item->getInvIndex()), + "item index"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50