diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 13 | ||||
-rw-r--r-- | src/net/eathena/inventoryhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 16 insertions, 0 deletions
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 diff --git a/src/net/eathena/inventoryhandler.h b/src/net/eathena/inventoryhandler.h index b65ebdba9..719515c33 100644 --- a/src/net/eathena/inventoryhandler.h +++ b/src/net/eathena/inventoryhandler.h @@ -117,6 +117,8 @@ class InventoryHandler final : public MessageHandler, static void processPlayerIdentifyList(Net::MessageIn &msg); + static void processPlayerIdentified(Net::MessageIn &msg); + static Ea::InventoryItems mCartItems; }; diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index e9f045341..fe77ca0ea 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -73,6 +73,7 @@ #define SMSG_PLAYER_INVENTORY_REMOVE2 0x07fa #define SMSG_PLAYER_INVENTORY_USE 0x01c8 #define SMSG_PLAYER_IDENTIFY_LIST 0x0177 +#define SMSG_PLAYER_IDENTIFIED 0x0179 #define SMSG_PLAYER_CART_ADD 0x01c5 #define SMSG_PLAYER_CART_ITEMS 0x0993 #define SMSG_PLAYER_CART_EQUIP 0x0994 |