diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-05 20:24:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-05 20:24:11 +0300 |
commit | 30df3dc33ff6b36309efca4c23af82a68ee35ca6 (patch) | |
tree | d3e58ab441deee63b69cea794a336c224f136a8b /src/emap/packets_struct.h | |
parent | 767fc78589716529874626d6adecbec9e0515680 (diff) | |
download | plugin-30df3dc33ff6b36309efca4c23af82a68ee35ca6.tar.gz plugin-30df3dc33ff6b36309efca4c23af82a68ee35ca6.tar.bz2 plugin-30df3dc33ff6b36309efca4c23af82a68ee35ca6.tar.xz plugin-30df3dc33ff6b36309efca4c23af82a68ee35ca6.zip |
Reimpliment packet 0x2e1 for old clients.
Diffstat (limited to 'src/emap/packets_struct.h')
-rw-r--r-- | src/emap/packets_struct.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/emap/packets_struct.h b/src/emap/packets_struct.h index 9a030ce..52b0dc5 100644 --- a/src/emap/packets_struct.h +++ b/src/emap/packets_struct.h @@ -222,4 +222,28 @@ struct packet_unit_walking_old { #endif } __attribute__((packed)); +struct packet_damage_old { + short PacketType; + unsigned int GID; + unsigned int targetGID; + unsigned int startTime; + int attackMT; + int attackedMT; +#if PACKETVER < 20071113 + short damage; +#else + int damage; +#endif +//#if PACKETVER >= 20131223 +// unsigned char is_sp_damaged; +//#endif + short count; + unsigned char action; +#if PACKETVER < 20071113 + short leftDamage; +#else + int leftDamage; +#endif +} __attribute__((packed)); + #endif /* EVOL_MAP_PACKETS_STRUCT_H */ |