diff options
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index aeb57bdc4..f41008889 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3522,6 +3522,17 @@ struct PACKET_ZC_STATUS_CHANGE_ACK { } __attribute__((packed)); DEFINE_PACKET_HEADER(ZC_STATUS_CHANGE_ACK, 0x00bc); +#if PACKETVER_MAIN_NUM >= 20150507 || PACKETVER_RE_NUM >= 20150429 || defined(PACKETVER_ZERO) +struct PACKET_ZC_HAT_EFFECT { + int16 packetType; + int16 packetLength; + uint32 aid; + int8 status; + uint16 effects[]; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_HAT_EFFECT, 0x0a3b); +#endif + #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 |