From 42995dce106291da04f0e23c00668e0d2afccb08 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 00:03:53 +0300 Subject: eathena: add partial support for packet SMSG_PLAYER_IDENTIFY_LIST 0x0177. --- src/net/eathena/inventoryhandler.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 28518eb85..e936955e1 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -104,6 +104,7 @@ InventoryHandler::InventoryHandler() : SMSG_PLAYER_CART_EQUIP, SMSG_PLAYER_CART_ITEMS, SMSG_PLAYER_CART_REMOVE, + SMSG_PLAYER_IDENTIFY_LIST, 0 }; handledMessages = _messages; @@ -228,6 +229,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) processPlayerCartRemove(msg); break; + case SMSG_PLAYER_IDENTIFY_LIST: + processPlayerIdentifyList(msg); + break; + default: break; } @@ -944,4 +949,14 @@ void InventoryHandler::processPlayerCartRemove(Net::MessageIn &msg) BLOCK_END("InventoryHandler::processPlayerCartRemove") } +void InventoryHandler::processPlayerIdentifyList(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + menu = MenuType::Identify; + const int count = msg.readInt16("len") - 4; + for (int f = 0; f < count; f ++) + msg.readInt16("inv index"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2