diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-13 22:02:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:22:04 +0300 |
commit | ad8be3bde3813992f00409e7f6f0a61778332ba5 (patch) | |
tree | d850a7480b6b8270509fc799f2a20bca660de464 /src/map/packets_struct.h | |
parent | 4a47644d930184ed8eb6c23291d2d37b3cba9ac1 (diff) | |
download | hercules-ad8be3bde3813992f00409e7f6f0a61778332ba5.tar.gz hercules-ad8be3bde3813992f00409e7f6f0a61778332ba5.tar.bz2 hercules-ad8be3bde3813992f00409e7f6f0a61778332ba5.tar.xz hercules-ad8be3bde3813992f00409e7f6f0a61778332ba5.zip |
Add packet ZC_ACK_REQNAME_TITLE
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 875c7ccbd..e898d414e 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -2805,6 +2805,24 @@ struct PACKET_ZC_ACK_REQNAMEALL { DEFINE_PACKET_HEADER(ZC_ACK_REQNAMEALL, 0x0195); #endif +#if PACKETVER_MAIN_NUM >= 20180207 || PACKETVER_RE_NUM >= 20171129 || PACKETVER_ZERO_NUM >= 20171130 +struct PACKET_ZC_ACK_REQNAME_TITLE { + uint16 packet_id; + int32 gid; + int32 groupId; + char name[NAME_LENGTH]; + char title[NAME_LENGTH]; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_ACK_REQNAME_TITLE, 0x0adf); +#else +struct PACKET_ZC_ACK_REQNAME_TITLE { + uint16 packet_id; + int32 gid; + char name[NAME_LENGTH]; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_ACK_REQNAME_TITLE, 0x0095); +#endif + struct PACKET_ZC_OVERWEIGHT_PERCENT { int16 packetType; uint32 percent; |