summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-05-07 00:13:15 +0200
committerGitHub <noreply@github.com>2018-05-07 00:13:15 +0200
commit614d7b66475f58dfb6354b57ca14999cc8c1b687 (patch)
treede881b6a6ad275c088e43b1388267e14d9e0cb52 /src/map/clif.h
parent0903ea0b82614d127672b0c5ab3d8ca8049e0d87 (diff)
parent394e7f8752ae7c80786e202c8b859488db1af363 (diff)
downloadhercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.tar.gz
hercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.tar.bz2
hercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.tar.xz
hercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.zip
Merge pull request #1998 from Asheraf/private_airship
Implementation of Private AirShip
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 8622d8729..58eb6b357 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -589,6 +589,18 @@ enum ui_types {
ATTENDANCE_UI
};
/**
+* Private Airship Responds
+**/
+enum private_airship {
+ P_AIRSHIP_NONE,
+ P_AIRSHIP_RETRY,
+ P_AIRSHIP_INVALID_START_MAP,
+ P_AIRSHIP_INVALID_END_MAP,
+ P_AIRSHIP_ITEM_NOT_ENOUGH,
+ P_AIRSHIP_ITEM_INVALID
+};
+
+/**
* Structures
**/
typedef void (*pFunc)(int, struct map_session_data *); //cant help but put it first
@@ -1451,6 +1463,8 @@ struct clif_interface {
void (*open_ui) (struct map_session_data *sd, int8 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);
+ void (*PrivateAirshipResponse) (struct map_session_data *sd, uint32 flag);
};
#ifdef HERCULES_CORE