summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-04-17 06:34:18 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-04 01:00:43 +0300
commitf8a668055872b0c542e0a8bf7b4637bc2f6ae9f1 (patch)
treef560d97a0de32b24c0680ca6a887b390ddf1f59b /src/map/packets_struct.h
parent2b164edff18d15e87c16cbc0c77973154489d854 (diff)
downloadhercules-f8a668055872b0c542e0a8bf7b4637bc2f6ae9f1.tar.gz
hercules-f8a668055872b0c542e0a8bf7b4637bc2f6ae9f1.tar.bz2
hercules-f8a668055872b0c542e0a8bf7b4637bc2f6ae9f1.tar.xz
hercules-f8a668055872b0c542e0a8bf7b4637bc2f6ae9f1.zip
Add packet CZ_LAPINEUPGRADE_MAKE_ITEM (unimplimented)
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 13a78fb21..7ddddcc8b 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3908,7 +3908,18 @@ struct PACKET_CZ_LAPINEUPGRADE_CLOSE {
int16 packetType;
} __attribute__((packed));
DEFINE_PACKET_HEADER(CZ_LAPINEUPGRADE_CLOSE, 0x0ab5);
-#endif // PACKETVER_MAIN_NUM >= 20160504 || PACKETVER_RE_NUM >= 20160504 || defined(PACKETVER_ZERO)
+
+struct PACKET_CZ_LAPINEUPGRADE_MAKE_ITEM {
+ int16 packetType;
+#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
+ uint32 itemId;
+#else
+ uint16 itemId;
+#endif
+ uint16 index;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_LAPINEUPGRADE_MAKE_ITEM, 0x0ab6);
+#endif // PACKETVER_MAIN_NUM >= 20170111 || PACKETVER_RE_NUM >= 20170111 || defined(PACKETVER_ZERO)
#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)