summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-04-17 04:28:02 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-04 01:00:43 +0300
commit96bdd956cdbd87fcc9b665b5defd04fafb2f6684 (patch)
treed5e66788f338cb73064178ffc8f7d57a8b778afc /src/map/packets_struct.h
parenta9c3213e475fd5463d1978c443099d1fbefe0d5c (diff)
downloadhercules-96bdd956cdbd87fcc9b665b5defd04fafb2f6684.tar.gz
hercules-96bdd956cdbd87fcc9b665b5defd04fafb2f6684.tar.bz2
hercules-96bdd956cdbd87fcc9b665b5defd04fafb2f6684.tar.xz
hercules-96bdd956cdbd87fcc9b665b5defd04fafb2f6684.zip
Add packet ZC_LAPINEUPGRADE_OPEN
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index ca2fb8aef..f4c4dd1bc 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3891,6 +3891,18 @@ struct PACKET_ZC_AUTORUN_SKILL {
} __attribute__((packed));
DEFINE_PACKET_HEADER(ZC_AUTORUN_SKILL, 0x0147);
+#if PACKETVER_MAIN_NUM >= 20170726 || PACKETVER_RE_NUM >= 20170621 || defined(PACKETVER_ZERO)
+struct PACKET_ZC_LAPINEUPGRADE_OPEN {
+ int16 packetType;
+#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
+ uint32 itemId;
+#else
+ uint16 itemId;
+#endif
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_LAPINEUPGRADE_OPEN, 0x0ab4);
+#endif
+
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
#pragma pack(pop)
#endif // not NetBSD < 6 / Solaris