diff options
Diffstat (limited to 'src/emap/packets_struct.h')
-rw-r--r-- | src/emap/packets_struct.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/emap/packets_struct.h b/src/emap/packets_struct.h index 1098953..901b135 100644 --- a/src/emap/packets_struct.h +++ b/src/emap/packets_struct.h @@ -91,4 +91,68 @@ struct packet_idle_unit_old { #endif } __attribute__((packed)); +struct packet_spawn_unit_old { + short PacketType; +#if PACKETVER >= 20091103 + short PacketLength; + unsigned char objecttype; +#endif +//#if PACKETVER >= 20131223 +// unsigned int AID; +//#endif + unsigned int GID; + short speed; + short bodyState; + short healthState; +#if PACKETVER < 20080102 + short effectState; +#else + int effectState; +#endif + short job; + short head; +#if PACKETVER < 7 + short weapon; +#else + int weapon; +#endif + short accessory; +#if PACKETVER < 7 + short shield; +#endif + short accessory2; + short accessory3; + short headpalette; + short bodypalette; + short headDir; +#if PACKETVER >= 20101124 + short robe; +#endif + unsigned int GUID; + short GEmblemVer; + short honor; +#if PACKETVER > 7 + int virtue; +#else + short virtue; +#endif + uint8 isPKModeON; + unsigned char sex; + unsigned char PosDir[3]; + unsigned char xSize; + unsigned char ySize; + short clevel; +#if PACKETVER >= 20080102 + short font; +#endif +#if PACKETVER >= 20120221 + int maxHP; + int HP; + unsigned char isBoss; +#endif +#if PACKETVER >= 20150513 + short body; +#endif +} __attribute__((packed)); + #endif /* EVOL_MAP_PACKETS_STRUCT_H */ |