summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-07 22:42:18 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:22 +0300
commit727fca1c7d4132c7c15120be17765432ecdfb262 (patch)
tree67a0b116006b0aaa3a3801533de35b3c376c37c8 /src/map/packets_struct.h
parent6b84a369d9b972ce9719d941bae933f666110e82 (diff)
downloadhercules-727fca1c7d4132c7c15120be17765432ecdfb262.tar.gz
hercules-727fca1c7d4132c7c15120be17765432ecdfb262.tar.bz2
hercules-727fca1c7d4132c7c15120be17765432ecdfb262.tar.xz
hercules-727fca1c7d4132c7c15120be17765432ecdfb262.zip
Update packet CZ_SSILIST_ITEM_CLICK.
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 29b1de679..1114ef9c1 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2169,6 +2169,18 @@ struct PACKET_CZ_REQ_MAKINGITEM {
uint16 itemId;
#endif
} __attribute__((packed));
+
+struct PACKET_CZ_SSILIST_ITEM_CLICK {
+ int16 packetType;
+ uint32 AID;
+ uint32 storeId;
+#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