diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-28 09:15:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-14 20:18:11 +0300 |
commit | e36edf03ce84351b27ef5d0f95b32c0f10725831 (patch) | |
tree | 8d1a2a6e6c0ffb1fdebe9722c1da2ded6852a2aa /src/map/packets_struct.h | |
parent | d5aa551ad1ed0dd9d096d7df1053a17340721e46 (diff) | |
download | hercules-e36edf03ce84351b27ef5d0f95b32c0f10725831.tar.gz hercules-e36edf03ce84351b27ef5d0f95b32c0f10725831.tar.bz2 hercules-e36edf03ce84351b27ef5d0f95b32c0f10725831.tar.xz hercules-e36edf03ce84351b27ef5d0f95b32c0f10725831.zip |
Add packet CZ_NPC_BARTER_CLOSE
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 1e11eadd7..82ae82eaf 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3084,6 +3084,13 @@ struct PACKET_ZC_NPC_BARTER_OPEN { DEFINE_PACKET_HEADER(ZC_NPC_BARTER_OPEN, 0x0b0e); #endif +#if PACKETVER_ZERO_NUM >= 20181226 +struct PACKET_CZ_NPC_BARTER_CLOSE { + int16 packetType; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(CZ_NPC_BARTER_CLOSE, 0x0b12); +#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 |