summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-13 04:29:42 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-13 04:49:09 +0300
commitfddfde994fe98843db6802f438a5f23941836642 (patch)
tree122f80e1037e205a774b2e582d1c2805f45888e1 /src/map/clif.h
parenta0abf9809663adc4eaa4496998728c513c200411 (diff)
downloadhercules-fddfde994fe98843db6802f438a5f23941836642.tar.gz
hercules-fddfde994fe98843db6802f438a5f23941836642.tar.bz2
hercules-fddfde994fe98843db6802f438a5f23941836642.tar.xz
hercules-fddfde994fe98843db6802f438a5f23941836642.zip
Add cz enum for types in packet 0x0a68.
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h30
1 files changed, 21 insertions, 9 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 20ecf8e8d..40974b063 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -550,19 +550,31 @@ enum CZ_CONFIG {
CZ_CONFIG_PET_AUTOFEEDING = 2,
CZ_CONFIG_HOMUNCULUS_AUTOFEEDING = 3,
};
+
/**
* Client UI types
* used with packet 0xAE2 to request the client to open a specific ui
**/
-enum ui_types {
- BANK_UI = 0,
- STYLIST_UI,
- CAPTCHA_UI,
- MACRO_UI,
- TIPBOX_UI = 5,
- RENEWQUEST_UI,
- ATTENDANCE_UI
+enum zc_ui_types {
+ ZC_BANK_UI = 0,
+ ZC_STYLIST_UI,
+ ZC_CAPTCHA_UI,
+ ZC_MACRO_UI,
+ ZC_TIPBOX_UI = 5,
+ ZC_RENEWQUEST_UI,
+ ZC_ATTENDANCE_UI
+};
+
+/**
+* Client to server open ui request types (packet 0x0a68)
+**/
+enum cz_ui_types {
+ CZ_STYLIST_UI = 1,
+ //unknown = 2,
+ //unknown = 3,
+ CZ_ATTENDANCE_UI = 5
};
+
/**
* Private Airship Responds
**/
@@ -1444,7 +1456,7 @@ struct clif_interface {
bool (*attendance_timediff) (struct map_session_data *sd);
time_t (*attendance_getendtime) (void);
void (*pOpenUIRequest) (int fd, struct map_session_data *sd);
- void (*open_ui) (struct map_session_data *sd, int8 UIType);
+ void (*open_ui) (struct map_session_data *sd, enum cz_ui_types uiType);
void (*pAttendanceRewardRequest) (int fd, struct map_session_data *sd);
void (*ui_action) (struct map_session_data *sd, int32 UIType, int32 data);
void (*pPrivateAirshipRequest) (int fd, struct map_session_data *sd);