diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-07 23:50:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:23 +0300 |
commit | 6502e477692d10d9e66735f36c850e8ca306741c (patch) | |
tree | 4b0fd221d48800c0331b4c57533f2f21a31c20d2 /src/map/packets_struct.h | |
parent | 727fca1c7d4132c7c15120be17765432ecdfb262 (diff) | |
download | hercules-6502e477692d10d9e66735f36c850e8ca306741c.tar.gz hercules-6502e477692d10d9e66735f36c850e8ca306741c.tar.bz2 hercules-6502e477692d10d9e66735f36c850e8ca306741c.tar.xz hercules-6502e477692d10d9e66735f36c850e8ca306741c.zip |
Update packet ZC_BROADCASTING_SPECIAL_ITEM_OBTAIN.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 1114ef9c1..72354608b 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -981,11 +981,19 @@ struct packet_package_item_announce { int16 PacketType; int16 PacketLength; uint8 type; +#if PACKETVER_RE_NUM >= 20180704 + uint32 ItemID; +#else uint16 ItemID; +#endif int8 len; char Name[NAME_LENGTH]; - int8 unknown; + int8 unknown; // probably unused +#if PACKETVER_RE_NUM >= 20180704 + uint32 BoxItemID; +#else uint16 BoxItemID; +#endif } __attribute__((packed)); /* made possible thanks to Yommy!! */ @@ -993,7 +1001,11 @@ struct packet_item_drop_announce { int16 PacketType; int16 PacketLength; uint8 type; +#if PACKETVER_RE_NUM >= 20180704 + uint32 ItemID; +#else uint16 ItemID; +#endif int8 len; char Name[NAME_LENGTH]; char monsterNameLen; |