diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-16 02:09:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:22:05 +0300 |
commit | d4408049c3764f3fccef3fb25b3032bebcad2f59 (patch) | |
tree | a3cb5506d141f741871ee9f3bcf641c99b92a146 /src/map/packets_struct.h | |
parent | 91b6b9d0d35e244dacb03d34a89754bed3934946 (diff) | |
download | hercules-d4408049c3764f3fccef3fb25b3032bebcad2f59.tar.gz hercules-d4408049c3764f3fccef3fb25b3032bebcad2f59.tar.bz2 hercules-d4408049c3764f3fccef3fb25b3032bebcad2f59.tar.xz hercules-d4408049c3764f3fccef3fb25b3032bebcad2f59.zip |
Imporve packet ZC_ROLE_CHANGE usage
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index d61434603..55d21f6b0 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3227,6 +3227,13 @@ struct PACKET_ZC_PARTY_CONFIG { DEFINE_PACKET_HEADER(ZC_PARTY_CONFIG, 0x02c9); #endif +struct PACKET_ZC_ROLE_CHANGE { + int16 packetType; + int32 flag; + char name[NAME_LENGTH]; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_ROLE_CHANGE, 0x00e1); + #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 |