summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-07-07 05:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2019-07-24 20:34:46 +0300
commite0d9a2076a8264992a88f1c5d3825e281546179e (patch)
treee47339f91e68ca970d6db811644cb99d8a45279c /src/map/packets_struct.h
parent89db5fc44ec9d9b960a87819aa32fe38cb428237 (diff)
downloadhercules-e0d9a2076a8264992a88f1c5d3825e281546179e.tar.gz
hercules-e0d9a2076a8264992a88f1c5d3825e281546179e.tar.bz2
hercules-e0d9a2076a8264992a88f1c5d3825e281546179e.tar.xz
hercules-e0d9a2076a8264992a88f1c5d3825e281546179e.zip
Convert packet ZC_STATUS_CHANGE_ACK into struct
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 5566b5581..aeb57bdc4 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3514,6 +3514,14 @@ struct PACKET_ZC_ACK_RANKING_sub {
} __attribute__((packed));
#endif
+struct PACKET_ZC_STATUS_CHANGE_ACK {
+ int16 packetType;
+ uint16 sp;
+ uint8 ok;
+ uint8 value;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_STATUS_CHANGE_ACK, 0x00bc);
+
#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