diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-24 20:48:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-25 02:39:13 +0300 |
commit | 08c14216d4b628ea7ecfbc2e7448632ec514f3db (patch) | |
tree | 7a6151a0cbf9a87a4979a11f2e2a049ba530c908 | |
parent | d2fb1e8fe58821c598b88906b919a36fb29a72e9 (diff) | |
download | mv-08c14216d4b628ea7ecfbc2e7448632ec514f3db.tar.gz mv-08c14216d4b628ea7ecfbc2e7448632ec514f3db.tar.bz2 mv-08c14216d4b628ea7ecfbc2e7448632ec514f3db.tar.xz mv-08c14216d4b628ea7ecfbc2e7448632ec514f3db.zip |
Add packet SMSG_INVENTORY_EXPANSION_RESULT 0x0b17
-rw-r--r-- | src/net/eathena/inventoryrecv.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/inventoryrecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index 9a0b85c3c..0f18fe42b 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -1690,4 +1690,10 @@ void InventoryRecv::processInventoryExpansionAck(Net::MessageIn &msg) msg.readItemId("item id"); } +void InventoryRecv::processInventoryExpansionResult(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt8("result"); +} + } // namespace EAthena diff --git a/src/net/eathena/inventoryrecv.h b/src/net/eathena/inventoryrecv.h index a0d1aa46f..fd6ea071f 100644 --- a/src/net/eathena/inventoryrecv.h +++ b/src/net/eathena/inventoryrecv.h @@ -100,6 +100,7 @@ namespace EAthena void processShowItemPreview2(Net::MessageIn &msg); void processInventoryExpansionInfo(Net::MessageIn &msg); void processInventoryExpansionAck(Net::MessageIn &msg); + void processInventoryExpansionResult(Net::MessageIn &msg); } // namespace InventoryRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index fa6c6c827..053988d8e 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -1500,6 +1500,7 @@ if (packetVersionZero >= 20181212) { packet(SMSG_INVENTORY_EXPANSION_INFO, 0x0b18, 4, &InventoryRecv::processInventoryExpansionInfo, 20181212); packet(SMSG_INVENTORY_EXPANSION_ACK, 0x0b15, 7, &InventoryRecv::processInventoryExpansionAck, 20181212); + packet(SMSG_INVENTORY_EXPANSION_RESULT, 0x0b17, 3, &InventoryRecv::processInventoryExpansionResult, 20181212); } // 20181219 main @@ -1507,6 +1508,7 @@ if (packetVersionMain >= 20181219) { packet(SMSG_INVENTORY_EXPANSION_INFO, 0x0b18, 4, &InventoryRecv::processInventoryExpansionInfo, 20181219); packet(SMSG_INVENTORY_EXPANSION_ACK, 0x0b15, 7, &InventoryRecv::processInventoryExpansionAck, 20181219); + packet(SMSG_INVENTORY_EXPANSION_RESULT, 0x0b17, 3, &InventoryRecv::processInventoryExpansionResult, 20181212); } // 20181219 re @@ -1514,6 +1516,7 @@ if (packetVersionRe >= 20181219) { packet(SMSG_INVENTORY_EXPANSION_INFO, 0x0b18, 4, &InventoryRecv::processInventoryExpansionInfo, 20181219); packet(SMSG_INVENTORY_EXPANSION_ACK, 0x0b15, 7, &InventoryRecv::processInventoryExpansionAck, 20181219); + packet(SMSG_INVENTORY_EXPANSION_RESULT, 0x0b17, 3, &InventoryRecv::processInventoryExpansionResult, 20181212); } // 0 |