From 05fe7fa2f5a3a8c31bce7336da82145d99e5f477 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 00:15:41 +0300 Subject: eathena: add partial support for packet SMSG_PLAYER_IDENTIFIED 0x0179. --- src/net/eathena/inventoryhandler.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index e936955e1..96a88c0b3 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -105,6 +105,7 @@ InventoryHandler::InventoryHandler() : SMSG_PLAYER_CART_ITEMS, SMSG_PLAYER_CART_REMOVE, SMSG_PLAYER_IDENTIFY_LIST, + SMSG_PLAYER_IDENTIFIED, 0 }; handledMessages = _messages; @@ -233,6 +234,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) processPlayerIdentifyList(msg); break; + case SMSG_PLAYER_IDENTIFIED: + processPlayerIdentified(msg); + break; + default: break; } @@ -959,4 +964,12 @@ void InventoryHandler::processPlayerIdentifyList(Net::MessageIn &msg) msg.readInt16("inv index"); } +void InventoryHandler::processPlayerIdentified(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt16("inv index"); + msg.readUInt8("flag"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2