summaryrefslogtreecommitdiff
path: root/src/map/party.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/party.h')
-rw-r--r--src/map/party.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/map/party.h b/src/map/party.h
index 25142e4af..d396d0fe6 100644
--- a/src/map/party.h
+++ b/src/map/party.h
@@ -31,6 +31,18 @@ struct party_data {
} state;
};
+struct party_booking_detail {
+ short level;
+ short mapid;
+ short job[6];
+};
+
+struct party_booking_ad_info {
+ unsigned long index;
+ char charname[NAME_LENGTH];
+ long starttime;
+ struct party_booking_detail p_detail;
+};
void do_init_party(void);
void do_final_party(void);
@@ -68,4 +80,13 @@ int party_send_dot_remove(struct map_session_data *sd);
int party_sub_count(struct block_list *bl, va_list ap);
int party_foreachsamemap(int (*func)(struct block_list *,va_list),struct map_session_data *sd,int range,...);
+/*==========================================
+ * Party Booking in KRO [Spiria]
+ *------------------------------------------*/
+struct party_booking_ad_info* party_booking_getdata(unsigned long index);
+void party_booking_register(struct map_session_data *sd, short level, short mapid, short* job);
+void party_booking_update(struct map_session_data *sd, short* job);
+void party_booking_search(struct map_session_data *sd, short level, short mapid, short job, unsigned long lastindex, short resultcount);
+bool party_booking_delete(struct map_session_data *sd, bool force_delete);
+
#endif /* _PARTY_H_ */