summaryrefslogtreecommitdiff
path: root/src/emap/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-05 19:28:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-05 19:28:15 +0300
commit3c0f83c3da4c57587baba441a2eece59b1b7c1e1 (patch)
tree7ede2b7dcec3164585c1523f485da519bb18f02a /src/emap/packets_struct.h
parentf5c9f9f42da5889d38104e8b44956a7da461393d (diff)
downloadevol-hercules-3c0f83c3da4c57587baba441a2eece59b1b7c1e1.tar.gz
evol-hercules-3c0f83c3da4c57587baba441a2eece59b1b7c1e1.tar.bz2
evol-hercules-3c0f83c3da4c57587baba441a2eece59b1b7c1e1.tar.xz
evol-hercules-3c0f83c3da4c57587baba441a2eece59b1b7c1e1.zip
Reimpliment packet 0x90f for old clients.
Diffstat (limited to 'src/emap/packets_struct.h')
-rw-r--r--src/emap/packets_struct.h64
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 */