diff options
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 */ |