summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-05 19:33:05 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-12 02:29:12 +0300
commitc6871ff29e0e6d58f6915aafaf1b86e464aae623 (patch)
tree4443ad8120ea3be7ca083b600ebe167eca697ad4 /src/map/packets_struct.h
parent2f2ceeb24b8d469b98b410772563731d5921e470 (diff)
downloadhercules-c6871ff29e0e6d58f6915aafaf1b86e464aae623.tar.gz
hercules-c6871ff29e0e6d58f6915aafaf1b86e464aae623.tar.bz2
hercules-c6871ff29e0e6d58f6915aafaf1b86e464aae623.tar.xz
hercules-c6871ff29e0e6d58f6915aafaf1b86e464aae623.zip
Update packet ZC_MVP_GETTING_ITEM.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 5d4790552..ffa3d02d3 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1860,6 +1860,15 @@ struct PACKET_ZC_ADD_ITEM_TO_STORE {
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
} __attribute__((packed));
+struct PACKET_ZC_MVP_GETTING_ITEM {
+ int16 packetType;
+#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