diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-15 23:30:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:22:05 +0300 |
commit | 91b6b9d0d35e244dacb03d34a89754bed3934946 (patch) | |
tree | daf630bbe3ef4006f3f3817e84b2fd959672c75a /src/map/packets_struct.h | |
parent | 21557e413a1ed62d2b8321761009b80d13b09379 (diff) | |
download | hercules-91b6b9d0d35e244dacb03d34a89754bed3934946.tar.gz hercules-91b6b9d0d35e244dacb03d34a89754bed3934946.tar.bz2 hercules-91b6b9d0d35e244dacb03d34a89754bed3934946.tar.xz hercules-91b6b9d0d35e244dacb03d34a89754bed3934946.zip |
Update packet ZC_PARTY_CONFIG
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index e898d414e..d61434603 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3219,6 +3219,14 @@ struct PACKET_ZC_LOAD_CONFIRM { DEFINE_PACKET_HEADER(ZC_LOAD_CONFIRM, 0x0b1b); #endif +#if PACKETVER_MAIN_NUM >= 20070911 || defined(PACKETVER_RE) || PACKETVER_AD_NUM >= 20070911 || PACKETVER_SAK_NUM >= 20070904 || defined(PACKETVER_ZERO) +struct PACKET_ZC_PARTY_CONFIG { + int16 packetType; + uint8 denyPartyInvites; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_PARTY_CONFIG, 0x02c9); +#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 |