diff options
author | Dastgir <dastgirp@gmail.com> | 2018-06-17 16:45:10 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-06-25 21:21:27 +0100 |
commit | 02c6b96f4aecae69e800b9623a76a93ad3f0802f (patch) | |
tree | 0d0f8a1fd80bf718206991fb3c550abb806136a0 /src/map/packets_struct.h | |
parent | 9a95d3c61f8195c326ed430323074ef8ec23273c (diff) | |
download | hercules-02c6b96f4aecae69e800b9623a76a93ad3f0802f.tar.gz hercules-02c6b96f4aecae69e800b9623a76a93ad3f0802f.tar.bz2 hercules-02c6b96f4aecae69e800b9623a76a93ad3f0802f.tar.xz hercules-02c6b96f4aecae69e800b9623a76a93ad3f0802f.zip |
Implemented Pet Evolution System.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index d152ffd2a..bcdf1061a 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1762,6 +1762,18 @@ struct PACKET_ZC_STYLE_CHANGE_RES { int8 flag; } __attribute__((packed)); +struct pet_evolution_items { + int16 index; + int16 amount; +} __attribute__((packed)); + +struct PACKET_CZ_PET_EVOLUTION { + int16 PacketType; + uint16 PacketLength; + int16 EvolvedPetEggID; + // struct pet_evolution_items items[]; +} __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 |