summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/inventoryrecv.cpp15
-rw-r--r--src/net/eathena/inventoryrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc14
3 files changed, 30 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index 9d9707735..a863a0229 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -1641,4 +1641,19 @@ void InventoryRecv::processEquipmentContinue(Net::MessageIn &msg,
}
}
+void InventoryRecv::processShowItemPreview1(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readInt16("inv index");
+ 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
diff --git a/src/net/eathena/inventoryrecv.h b/src/net/eathena/inventoryrecv.h
index 28037063a..281a90e22 100644
--- a/src/net/eathena/inventoryrecv.h
+++ b/src/net/eathena/inventoryrecv.h
@@ -96,6 +96,7 @@ namespace EAthena
const int len,
const NetInventoryTypeT invType
A_UNUSED);
+ void processShowItemPreview1(Net::MessageIn &msg);
} // namespace InventoryRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index d59b6b3ac..5bdfc41e3 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -1137,6 +1137,18 @@ if (packetVersionMain >= 20170502)
packet(SMSG_SKILL_WARP_POINT, 0x0abe, -1, &SkillRecv::processSkillWarpPoint2, 20170502);
}
+// 20170621 re
+if (packetVersionRe >= 20170621)
+{
+ packet(SMSG_ITEM_PREVIEW1, 0x0ab9, 39, &InventoryRecv::processShowItemPreview1, 20170621);
+}
+
+// 20170726 main
+if (packetVersionMain >= 20170726)
+{
+ packet(SMSG_ITEM_PREVIEW1, 0x0ab9, 39, &InventoryRecv::processShowItemPreview1, 20170726);
+}
+
// 20170830
packet(SMSG_PLAYER_STAT_UPDATE_7, 0x0acb, 12, &PlayerRecv::processPlayerStatUpdate7, 20170830);
packet(SMSG_PLAYER_GET_EXP2, 0x0acc, 18, &PlayerRecv::processPlayerGetExp2, 20170830);
@@ -1157,6 +1169,7 @@ if (packets_zero == true)
packet(SMSG_ACHIEVEMENT_LIST, 0x0a23, -1, &AchievementRecv::processAchievementList, 20171018);
packet(SMSG_ACHIEVEMENT_UPDATE, 0x0a24, 66, &AchievementRecv::processAchievementUpdate, 20171018);
packet(SMSG_ACHIEVEMENT_GET_REWARD, 0x0a26, 6, &AchievementRecv::processAchievementGetReward, 20171018);
+ packet(SMSG_ITEM_PREVIEW1, 0x0ab9, 39, &InventoryRecv::processShowItemPreview1, 20171018);
}
// 20171019 zero
@@ -1303,6 +1316,7 @@ if (packetVersionRe >= 20180704)
packet(SMSG_ROULETTE_RECV_ITEM_ACK, 0x0a22, 7, &RouletteRecv::processRouletteItemAck, 20180704);
packet(SMSG_PLAYER_INVENTORY_ADD, 0x0a37, 69, &InventoryRecv::processPlayerInventoryAdd, 20180704);
packet(SMSG_ITEM_DROPPED, 0x0add, 24, &ItemRecv::processItemDropped, 20180704);
+ packet(SMSG_ITEM_PREVIEW1, 0x0ab9, 47, &InventoryRecv::processShowItemPreview1, 20180704);
}
// 20180801 re