diff options
author | Haru <haru@dotalux.com> | 2018-06-29 11:33:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 11:33:11 +0200 |
commit | 9d24045d743a11eda0c825ea3c989fc5e78bc8af (patch) | |
tree | 91d8f55d2aed6fb58661fd7fada8f3f6e53ed814 /src/map/packets_struct.h | |
parent | c419726752ebd1b532f487e5683f63232a6c237b (diff) | |
parent | 9876ae283e9ca68e60de3a0745a765e460d4c434 (diff) | |
download | hercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.tar.gz hercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.tar.bz2 hercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.tar.xz hercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.zip |
Merge pull request #2063 from dastgirp/2-petevol
Implemented Pet Evolution and Pet Feeding
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 |