summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-01-13 23:15:03 +0300
committerAndrei Karas <akaras@inbox.ru>2020-02-09 21:30:37 +0300
commit3d9ee62e21d538a739ad773640a6e05e97991d58 (patch)
tree7e5f526771d40c6f85f5ef27a0e54bd9ac047b1a /src/map/packets_struct.h
parent3d69a0a949dd284fbc4b1e2331f868a7da45ec23 (diff)
downloadhercules-3d9ee62e21d538a739ad773640a6e05e97991d58.tar.gz
hercules-3d9ee62e21d538a739ad773640a6e05e97991d58.tar.bz2
hercules-3d9ee62e21d538a739ad773640a6e05e97991d58.tar.xz
hercules-3d9ee62e21d538a739ad773640a6e05e97991d58.zip
Add packet CZ_NPC_EXPANDED_BARTER_CLOSE
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 0fa602ba5..b7376f972 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3788,6 +3788,13 @@ struct PACKET_ZC_SE_CASHSHOP_OPEN {
DEFINE_PACKET_HEADER(ZC_SE_CASHSHOP_OPEN, 0x0845);
#endif
+#if PACKETVER_MAIN_NUM >= 20190904 || PACKETVER_RE_NUM >= 20190904 || PACKETVER_ZERO_NUM >= 20190828
+struct PACKET_CZ_NPC_EXPANDED_BARTER_CLOSE {
+ int16 packetType;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_NPC_EXPANDED_BARTER_CLOSE, 0x0b58);
+#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