diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-08-11 03:17:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-08-22 06:33:28 +0300 |
commit | 327f8c62cf1515901fe0c64b5d0d772ac2d0ecb9 (patch) | |
tree | f36f7950c7837361194dfc8642070bd941834434 /src/map/packets_struct.h | |
parent | 4ad2108e53c32c767afe9c25ae47fb1584bc3822 (diff) | |
download | hercules-327f8c62cf1515901fe0c64b5d0d772ac2d0ecb9.tar.gz hercules-327f8c62cf1515901fe0c64b5d0d772ac2d0ecb9.tar.bz2 hercules-327f8c62cf1515901fe0c64b5d0d772ac2d0ecb9.tar.xz hercules-327f8c62cf1515901fe0c64b5d0d772ac2d0ecb9.zip |
Add packet ZC_EQUIPWIN_MICROSCOPE_V7.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index d0815317f..e3aea5ed1 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -279,10 +279,15 @@ enum packet_headers { #else unequipitemackType = 0xac, #endif -#if PACKETVER >= 20150226 +#if PACKETVER_MAIN_NUM >= 20180801 || PACKETVER_RE_NUM >= 20180801 || PACKETVER_ZERO_NUM >= 20180808 + viewequipackType = 0xb03, +#elif PACKETVER >= 20150226 viewequipackType = 0xa2d, #elif PACKETVER >= 20120925 viewequipackType = 0x997, +// [4144] not supported due other packets/structs not updated +//#elif (PACKETVER_MAIN_NUM >= 20111207) || (PACKETVER_RE_NUM >= 20111122) +// viewequipackType = 0x906, #elif PACKETVER >= 20101124 viewequipackType = 0x859, #else @@ -1221,6 +1226,9 @@ struct packet_viewequip_ack { #endif int16 headpalette; int16 bodypalette; +#if PACKETVER_MAIN_NUM >= 20180801 || PACKETVER_RE_NUM >= 20180801 || PACKETVER_ZERO_NUM >= 20180808 + int16 body2; +#endif uint8 sex; struct EQUIPITEM_INFO list[MAX_INVENTORY]; } __attribute__((packed)); |