summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-06 21:56:40 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:20 +0300
commit4635a32afe097f84b541d0d7980a5f607130d00c (patch)
tree019876666af2d629e71f5cc47cd4f6de93af4a22 /src/map/packets_struct.h
parent9cada287c3d2f4ddfb83da8e37c725212fd9bbf9 (diff)
downloadhercules-4635a32afe097f84b541d0d7980a5f607130d00c.tar.gz
hercules-4635a32afe097f84b541d0d7980a5f607130d00c.tar.bz2
hercules-4635a32afe097f84b541d0d7980a5f607130d00c.tar.xz
hercules-4635a32afe097f84b541d0d7980a5f607130d00c.zip
Update packet ZC_ITEM_PICKUP_PARTY.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index e5f253718..f3f4d65ef 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2031,6 +2031,22 @@ struct PACKET_ZC_CASH_ITEM_DELETE {
#endif
} __attribute__((packed));
+struct PACKET_ZC_ITEM_PICKUP_PARTY {
+ int16 packetType;
+ uint32 AID;
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 itemId;
+#else
+ uint16 itemId;
+#endif
+ uint8 identified;
+ uint8 damaged;
+ uint8 refine;
+ struct EQUIPSLOTINFO slot;
+ uint16 location;
+ uint8 itemType;
+} __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