summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-05 21:12:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:14 +0300
commit45f0fd6ba65abebc1c553918bb5157458843fbfa (patch)
tree5edbc411232db93bc8f9dc45ce59e3b55b28e43c /src/map/packets_struct.h
parent6e0ecf794b95405f70d27e676a03153fc2c2b862 (diff)
downloadhercules-45f0fd6ba65abebc1c553918bb5157458843fbfa.tar.gz
hercules-45f0fd6ba65abebc1c553918bb5157458843fbfa.tar.bz2
hercules-45f0fd6ba65abebc1c553918bb5157458843fbfa.tar.xz
hercules-45f0fd6ba65abebc1c553918bb5157458843fbfa.zip
Update packet PACKET_ZC_ACK_TOUSESKILL.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index ffa3d02d3..900c9d5bb 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1869,6 +1869,20 @@ struct PACKET_ZC_MVP_GETTING_ITEM {
#endif
} __attribute__((packed));
+struct PACKET_ZC_ACK_TOUSESKILL {
+ int16 packetType;
+ uint16 skillId;
+#if PACKETVER_RE_NUM >= 20180704
+ int32 btype;
+ uint32 itemId;
+#else
+ int16 btype;
+ uint16 itemId;
+#endif
+ uint8 flag;
+ uint8 cause;
+} __attribute__((packed));
+
#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