diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/inventoryrecv.cpp | 9 | ||||
-rw-r--r-- | src/net/eathena/inventoryrecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index b67300fa2..4d5565d1b 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -1189,4 +1189,13 @@ void InventoryRecv::processMergeItem(Net::MessageIn &msg) msg.readInt16("inv index"); } +void InventoryRecv::processMergeItemResponse(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt16("inv index"); + msg.readInt16("amount"); + msg.readUInt8("result"); +} + } // namespace EAthena diff --git a/src/net/eathena/inventoryrecv.h b/src/net/eathena/inventoryrecv.h index 6f45bc1b7..b509d1dec 100644 --- a/src/net/eathena/inventoryrecv.h +++ b/src/net/eathena/inventoryrecv.h @@ -72,6 +72,7 @@ namespace EAthena void processPlayerInventoryRemove(Net::MessageIn &msg); void processSelectCart(Net::MessageIn &msg); void processMergeItem(Net::MessageIn &msg); + void processMergeItemResponse(Net::MessageIn &msg); int getSlot(const int eAthenaSlot) A_WARN_UNUSED; } // namespace InventoryRecv diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 1cba2a987..5c2e8b7a0 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -482,7 +482,7 @@ else } packet(SMSG_MERGE_ITEM, 0x096d, -1, &InventoryRecv::processMergeItem); -packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, nullptr); +packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, &InventoryRecv::processMergeItemResponse); // unused or not implimented packets packet(SMSG_BOOKING_REGISTER_ACK, 0x0803, 4, nullptr); |