summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-03 01:18:07 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-03 01:18:07 +0300
commit6490c4cffbf326ad8044c149d7ce100c94c02b8d (patch)
tree31eb4aa353e80f908da51cd047824309349dcfd5 /src/net/eathena/inventoryrecv.cpp
parent661b65eb1c652ca9cd14ab3dae4adf619168028b (diff)
downloadManaVerse-6490c4cffbf326ad8044c149d7ce100c94c02b8d.tar.gz
ManaVerse-6490c4cffbf326ad8044c149d7ce100c94c02b8d.tar.bz2
ManaVerse-6490c4cffbf326ad8044c149d7ce100c94c02b8d.tar.xz
ManaVerse-6490c4cffbf326ad8044c149d7ce100c94c02b8d.zip
Add packet SMSG_ITEM_PREVIEW2 0x0b13.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r--src/net/eathena/inventoryrecv.cpp16
1 files changed, 16 insertions, 0 deletions
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