diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-06 00:46:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:16 +0300 |
commit | 304f26bf681ac8c003c1979da4855426be60bb09 (patch) | |
tree | 21aa0f5314a40a41b2b26131228c7eb72b460146 /src/map/packets_struct.h | |
parent | 3a970959f9e0a2589c98355a0ff7afbbde5bf212 (diff) | |
download | hercules-304f26bf681ac8c003c1979da4855426be60bb09.tar.gz hercules-304f26bf681ac8c003c1979da4855426be60bb09.tar.bz2 hercules-304f26bf681ac8c003c1979da4855426be60bb09.tar.xz hercules-304f26bf681ac8c003c1979da4855426be60bb09.zip |
Update packet ZC_FEED_PET.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 3c8ec9428..aa2f376e3 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1923,6 +1923,16 @@ struct PACKET_ZC_ACK_REQMAKINGITEM { #endif } __attribute__((packed)); +struct PACKET_ZC_FEED_PET { + int16 packetType; + uint8 result; +#if PACKETVER_RE_NUM >= 20180704 + uint32 itemId; +#else + uint16 itemId; +#endif +} __attribute__((packed)); + #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 |