summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-06 21:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:20 +0300
commit9cada287c3d2f4ddfb83da8e37c725212fd9bbf9 (patch)
treea49d01e735139e20f4dd0de51a9b92251a0ba81b /src/map/packets_struct.h
parente0e674ad0668314da6c3125c9a951f13a27bebe4 (diff)
downloadhercules-9cada287c3d2f4ddfb83da8e37c725212fd9bbf9.tar.gz
hercules-9cada287c3d2f4ddfb83da8e37c725212fd9bbf9.tar.bz2
hercules-9cada287c3d2f4ddfb83da8e37c725212fd9bbf9.tar.xz
hercules-9cada287c3d2f4ddfb83da8e37c725212fd9bbf9.zip
Update packet ZC_CASH_ITEM_DELETE.
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 7ca92814b..e5f253718 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2021,6 +2021,16 @@ struct PACKET_ZC_CASH_TIME_COUNTER {
uint32 seconds;
} __attribute__((packed));
+struct PACKET_ZC_CASH_ITEM_DELETE {
+ int16 packetType;
+ uint16 index;
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 itemId;
+#else
+ uint16 itemId;
+#endif
+} __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