diff options
author | Haru <haru@dotalux.com> | 2020-02-09 20:54:52 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-02-09 20:55:29 +0100 |
commit | 14655f4367656866b09b331359978c0af17916bd (patch) | |
tree | c1f84ad22b6febc78ba20f1d4fc4498f002aa614 /src/map/packets_struct.h | |
parent | add6b9a63caa759779608f8322c14ac3a54f37b3 (diff) | |
parent | a96a7e8ffce47d4777916d8b0a077070955f8a2f (diff) | |
download | hercules-14655f4367656866b09b331359978c0af17916bd.tar.gz hercules-14655f4367656866b09b331359978c0af17916bd.tar.bz2 hercules-14655f4367656866b09b331359978c0af17916bd.tar.xz hercules-14655f4367656866b09b331359978c0af17916bd.zip |
Merge pull request #2615 from Asheraf/cloaknpc
Add exploration achievements
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index c2c99629a..31b28e831 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3851,6 +3851,27 @@ struct PACKET_CZ_NPC_EXPANDED_BARTER_PURCHASE { DEFINE_PACKET_HEADER(CZ_NPC_EXPANDED_BARTER_PURCHASE, 0x0b57); #endif +#if PACKETVER >= 7 +struct PACKET_ZC_STATE_CHANGE { + int16 packetType; + uint32 AID; + int16 bodyState; + int16 healthState; + int32 effectState; + int8 isPKModeON; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_STATE_CHANGE, 0x0229); +#else +struct PACKET_ZC_STATE_CHANGE { + int16 PacketType; + uint32 AID; + int16 bodyState; + int16 healthState; + int16 effectState; + int8 isPKModeON; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_STATE_CHANGE, 0x0119); +#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) |