summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-01-26 22:55:54 +0100
committerHaru <haru@dotalux.com>2020-02-09 23:56:02 +0100
commit1d0bd5baf6364822e48ba64010a52377c6abb776 (patch)
tree946a0681413b5ad39716d7cac0a7a90e8b04770d /src/map/packets_struct.h
parent29dfb34968fe42945bad712ce3ac8806d49ba473 (diff)
downloadhercules-1d0bd5baf6364822e48ba64010a52377c6abb776.tar.gz
hercules-1d0bd5baf6364822e48ba64010a52377c6abb776.tar.bz2
hercules-1d0bd5baf6364822e48ba64010a52377c6abb776.tar.xz
hercules-1d0bd5baf6364822e48ba64010a52377c6abb776.zip
Converted packet ZC_AUTORUN_SKILL to structure.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 31b28e831..b604c77b8 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3873,6 +3873,18 @@ struct PACKET_ZC_STATE_CHANGE {
DEFINE_PACKET_HEADER(ZC_STATE_CHANGE, 0x0119);
#endif
+struct PACKET_ZC_AUTORUN_SKILL {
+ int16 packetType;
+ uint16 skill_id;
+ uint32 skill_type;
+ uint16 skill_lv;
+ uint16 skill_sp;
+ uint16 skill_range;
+ char skill_name[NAME_LENGTH];
+ char up_flag;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_AUTORUN_SKILL, 0x0147);
+
#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