summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-03 22:51:08 +0200
committerGitHub <noreply@github.com>2018-06-03 22:51:08 +0200
commitb5ee7e4863f60a43d6c44c93104d4df4146fdd84 (patch)
treec9eb881ba40f8c9b4acb45945a5dcbbed82b79ca /src/map/packets_struct.h
parent1670e2b6e5eca660d73aafb8cbb4830bd453e79e (diff)
parentec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4 (diff)
downloadhercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.tar.gz
hercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.tar.bz2
hercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.tar.xz
hercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.zip
Merge pull request #2004 from Asheraf/stylist
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