summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-06 21:15:27 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:20 +0300
commite0e674ad0668314da6c3125c9a951f13a27bebe4 (patch)
tree6a62d56253b961ec58d769437d70305f144acb36 /src/map/packets_struct.h
parent8b6b2eb2c762af0c965538ff077e70d0a4953d66 (diff)
downloadhercules-e0e674ad0668314da6c3125c9a951f13a27bebe4.tar.gz
hercules-e0e674ad0668314da6c3125c9a951f13a27bebe4.tar.bz2
hercules-e0e674ad0668314da6c3125c9a951f13a27bebe4.tar.xz
hercules-e0e674ad0668314da6c3125c9a951f13a27bebe4.zip
Update packet ZC_CASH_TIME_COUNTER.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index e0010e530..7ca92814b 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2011,6 +2011,16 @@ struct PACKET_ZC_ADD_EXCHANGE_ITEM {
#endif
} __attribute__((packed));
+struct PACKET_ZC_CASH_TIME_COUNTER {
+ int16 packetType;
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 itemId;
+#else
+ uint16 itemId;
+#endif
+ uint32 seconds;
+} __attribute__((packed));
+
#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