summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-01-14 15:20:45 +0100
committerGitHub <noreply@github.com>2018-01-14 15:20:45 +0100
commitbe6b748363717519019cd606d2013868ae6d9378 (patch)
tree9e1214545aa69a7806cc7bc7a7f1a284d1e6b779 /src/map/packets_struct.h
parent41c6f0bcfbad0de2c647dcc65af534c7f5e8fce3 (diff)
parentea8dbdb04470859abe00eabc39990ee23adb398e (diff)
downloadhercules-be6b748363717519019cd606d2013868ae6d9378.tar.gz
hercules-be6b748363717519019cd606d2013868ae6d9378.tar.bz2
hercules-be6b748363717519019cd606d2013868ae6d9378.tar.xz
hercules-be6b748363717519019cd606d2013868ae6d9378.zip
Merge pull request #1929 from Asheraf/progressbar
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