diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-16 06:31:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-05 01:16:49 +0300 |
commit | cedd00b65123d2fcd32ac79dc0f6a077f4a279c2 (patch) | |
tree | 6061dc7fe2897c23d881d72a58adca117f36b2d0 /src/map/packets_struct.h | |
parent | 1e28acbaab22d5a92e96a6a19a6e59a92b3f7a46 (diff) | |
download | hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.tar.gz hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.tar.bz2 hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.tar.xz hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.zip |
Add support for barter shops for main and re clients with version 20190116
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index d20b20bee..534da6378 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3056,7 +3056,7 @@ struct PACKET_CZ_PARTY_CONFIG { } __attribute__((packed)); DEFINE_PACKET_HEADER(CZ_PARTY_CONFIG, 0x02c8); -#if PACKETVER_ZERO_NUM >= 20181226 +#if PACKETVER_MAIN_NUM >= 20190116 || PACKETVER_RE_NUM >= 20190116 || PACKETVER_ZERO_NUM >= 20181226 struct PACKET_ZC_NPC_BARTER_OPEN_sub { #if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114 uint32 nameid; @@ -3084,14 +3084,14 @@ struct PACKET_ZC_NPC_BARTER_OPEN { DEFINE_PACKET_HEADER(ZC_NPC_BARTER_OPEN, 0x0b0e); #endif -#if PACKETVER_ZERO_NUM >= 20181226 +#if PACKETVER_MAIN_NUM >= 20190116 || PACKETVER_RE_NUM >= 20190116 || PACKETVER_ZERO_NUM >= 20181226 struct PACKET_CZ_NPC_BARTER_CLOSE { int16 packetType; } __attribute__((packed)); DEFINE_PACKET_HEADER(CZ_NPC_BARTER_CLOSE, 0x0b12); #endif -#if PACKETVER_ZERO_NUM >= 20181226 +#if PACKETVER_MAIN_NUM >= 20190116 || PACKETVER_RE_NUM >= 20190116 || PACKETVER_ZERO_NUM >= 20181226 struct PACKET_CZ_NPC_BARTER_PURCHASE_sub { #if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114 uint32 itemId; |