diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-22 15:33:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-22 15:33:53 +0300 |
commit | 65c80b4219378cf3e18a6d6beb09ec9913a01d53 (patch) | |
tree | 15fedd47422c06a10c2522d00688860d747d30ee /src/net/eathena/inventoryhandler.cpp | |
parent | 6a6ae903a648396a7e684f1443ee5a7d7a6dbaa7 (diff) | |
download | mv-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.cpp | 7 |
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 |