diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 00:15:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 00:15:41 +0300 |
commit | 05fe7fa2f5a3a8c31bce7336da82145d99e5f477 (patch) | |
tree | af7dfedfbb192d5ee30620f82c04a7a87c07c5a5 /src/net/eathena/inventoryhandler.cpp | |
parent | 42995dce106291da04f0e23c00668e0d2afccb08 (diff) | |
download | manaverse-05fe7fa2f5a3a8c31bce7336da82145d99e5f477.tar.gz manaverse-05fe7fa2f5a3a8c31bce7336da82145d99e5f477.tar.bz2 manaverse-05fe7fa2f5a3a8c31bce7336da82145d99e5f477.tar.xz manaverse-05fe7fa2f5a3a8c31bce7336da82145d99e5f477.zip |
eathena: add partial support for packet SMSG_PLAYER_IDENTIFIED 0x0179.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 13 |
1 files changed, 13 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 |