summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-19 03:38:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-28 04:40:43 +0300
commita7285e774dac19e47c9e9adca3cc97212ed30c59 (patch)
treef82939e71892fbff768d90eed8444618df111e0a /src/map/packets_struct.h
parent2b6371dcbf04d6351fcc1141b1416131c6e453be (diff)
downloadhercules-a7285e774dac19e47c9e9adca3cc97212ed30c59.tar.gz
hercules-a7285e774dac19e47c9e9adca3cc97212ed30c59.tar.bz2
hercules-a7285e774dac19e47c9e9adca3cc97212ed30c59.tar.xz
hercules-a7285e774dac19e47c9e9adca3cc97212ed30c59.zip
Add over weight packet.
Thanks @functor-x
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 5f6443ef3..ab48025dc 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2655,6 +2655,11 @@ struct packet_reqnameall_ack {
#endif
} __attribute__((packed));
+struct PACKET_ZC_OVERWEIGHT_PERCENT {
+ int16 packetType;
+ uint32 percent;
+} __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