summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-08-04 21:02:36 +0300
committerAndrei Karas <akaras@inbox.ru>2018-08-22 06:33:28 +0300
commite73bc865155c275994d24a87e54b7e5ae327493d (patch)
treec090791876d40e567622d20e2761206d91905558 /src/map/packets_struct.h
parent742947960df6c2d1fc7ba8c2859b42966e9d22b7 (diff)
downloadhercules-e73bc865155c275994d24a87e54b7e5ae327493d.tar.gz
hercules-e73bc865155c275994d24a87e54b7e5ae327493d.tar.bz2
hercules-e73bc865155c275994d24a87e54b7e5ae327493d.tar.xz
hercules-e73bc865155c275994d24a87e54b7e5ae327493d.zip
Split packet CZ_REQ_STYLE_CHANGE to CZ_REQ_STYLE_CHANGE and CZ_REQ_STYLE_CHANGE2.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index e6d207fad..d0815317f 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1883,9 +1883,17 @@ struct PACKET_CZ_REQ_STYLE_CHANGE {
int16 TopAccessory;
int16 MidAccessory;
int16 BottomAccessory;
-#if PACKETVER_RE_NUM >= 20180718
+} __attribute__((packed));
+
+struct PACKET_CZ_REQ_STYLE_CHANGE2 {
+ int16 PacketType;
+ int16 HeadPalette;
+ int16 HeadStyle;
+ int16 BodyPalette;
+ int16 TopAccessory;
+ int16 MidAccessory;
+ int16 BottomAccessory;
int16 BodyStyle;
-#endif
} __attribute__((packed));
struct PACKET_ZC_STYLE_CHANGE_RES {