summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-18 20:40:52 +0200
committerGitHub <noreply@github.com>2018-06-18 20:40:52 +0200
commit1f6dff9f8938c46292778e972171c523b9846abe (patch)
tree0aa0bd292ae0c24f4c01d2c7617da442ed93a9f8 /src/map/clif.h
parenta9d70598a44e000479d4b2a9347e2b76f35bd9d6 (diff)
parentcc7b138dacab0ca76bdba721dec526b9525737f3 (diff)
downloadhercules-1f6dff9f8938c46292778e972171c523b9846abe.tar.gz
hercules-1f6dff9f8938c46292778e972171c523b9846abe.tar.bz2
hercules-1f6dff9f8938c46292778e972171c523b9846abe.tar.xz
hercules-1f6dff9f8938c46292778e972171c523b9846abe.zip
Merge pull request #2066 from Asheraf/stylistfollowup
correct wrong respond message being used in stylist shop
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 20ecf8e8d..67137f5d3 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -616,6 +616,14 @@ struct stylist_data_entry {
VECTOR_DECL(struct stylist_data_entry) stylist_data[MAX_STYLIST_TYPE];
/**
+* Stylist Shop Responds
+**/
+enum stylist_shop {
+ STYLIST_SHOP_SUCCESS,
+ STYLIST_SHOP_FAILURE
+};
+
+/**
* Clif.c Interface
**/
struct clif_interface {
@@ -1458,7 +1466,7 @@ struct clif_interface {
void (*stylist_send_rodexitem) (struct map_session_data *sd, int16 itemid);
void (*pReqStyleChange) (int fd, struct map_session_data *sd);
void (*cz_req_style_change_sub) (struct map_session_data *sd, int type, int16 idx, bool isitem);
- void (*style_change_response) (struct map_session_data *sd, int8 flag);
+ void (*style_change_response) (struct map_session_data *sd, enum stylist_shop flag);
};
#ifdef HERCULES_CORE