From 6490c4cffbf326ad8044c149d7ce100c94c02b8d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 Nov 2018 01:18:07 +0300 Subject: Add packet SMSG_ITEM_PREVIEW2 0x0b13. --- src/net/eathena/inventoryrecv.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/net/eathena/inventoryrecv.cpp') diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index a863a0229..42a689b12 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -1656,4 +1656,20 @@ void InventoryRecv::processShowItemPreview1(Net::MessageIn &msg) } } +void InventoryRecv::processShowItemPreview2(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readInt16("inv index"); + msg.readUInt8("is damaged"); + msg.readInt16("refine"); + for (int f = 0; f < maxCards; f++) + msg.readItemId("card"); + for (int f = 0; f < 5; f ++) + { + msg.readInt16("option index"); + msg.readInt16("option value"); + msg.readUInt8("option param"); + } +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50