summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-03-30 00:02:14 +0100
committerAsheraf <acheraf1998@gmail.com>2018-06-02 16:33:32 +0000
commitec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4 (patch)
treef0624b03ec077198a2baba945a16947d6a7d8a14 /src/map/packets_struct.h
parentc81fee18c0d5ed70f8717679ee16cebe5e591c58 (diff)
downloadhercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.tar.gz
hercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.tar.bz2
hercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.tar.xz
hercules-ec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4.zip
Implementation of stylist ui
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index cae794e92..971e7c330 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1740,6 +1740,21 @@ struct PACKET_ZC_PRIVATE_AIRSHIP_RESPONSE {
uint32 flag;
} __attribute__((packed));
+struct PACKET_CZ_REQ_STYLE_CHANGE {
+ int16 PacketType;
+ int16 HeadPalette;
+ int16 HeadStyle;
+ int16 BodyPalette;
+ int16 TopAccessory;
+ int16 MidAccessory;
+ int16 BottomAccessory;
+} __attribute__((packed));
+
+struct PACKET_ZC_STYLE_CHANGE_RES {
+ int16 PacketType;
+ int8 flag;
+} __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