summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2017-12-09 01:13:36 +0000
committerAsheraf <acheraf1998@gmail.com>2017-12-11 13:54:19 +0000
commitea8dbdb04470859abe00eabc39990ee23adb398e (patch)
tree67ba090542d323a54e34bb02e344b64e486daffb /src/map/packets_struct.h
parent85b71be7fd1134de6b45f9510006b84dc39975ac (diff)
downloadhercules-ea8dbdb04470859abe00eabc39990ee23adb398e.tar.gz
hercules-ea8dbdb04470859abe00eabc39990ee23adb398e.tar.bz2
hercules-ea8dbdb04470859abe00eabc39990ee23adb398e.tar.xz
hercules-ea8dbdb04470859abe00eabc39990ee23adb398e.zip
Add support for packet ZC_PROGRESS_ACTOR
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index e1395e949..e0d856986 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -333,6 +333,9 @@ enum packet_headers {
#if PACKETVER >= 20151223
skillscale = 0xA41,
#endif
+#if PACKETVER >= 20130821
+ progressbarunit = 0x09D1,
+#endif
};
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
@@ -1491,6 +1494,13 @@ struct PACKET_ZC_SKILL_SCALE {
uint32 casttime;
} __attribute__((packed));
+struct ZC_PROGRESS_ACTOR {
+ int16 PacketType;
+ int32 GID;
+ int32 color;
+ uint32 time;
+} __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