summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp15
1 files changed, 15 insertions, 0 deletions
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