summaryrefslogtreecommitdiff
path: root/src/map/party.h
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-05 17:17:58 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-05 17:17:58 +0000
commit1963ef3c77c8c2035da2e7a2310db341c4c421fc (patch)
tree0205d53e9c52b29f2c53e8234e3259247781434e /src/map/party.h
parentcc256e4bdc0c3cb858b993e82f53104113f814c4 (diff)
downloadhercules-1963ef3c77c8c2035da2e7a2310db341c4c421fc.tar.gz
hercules-1963ef3c77c8c2035da2e7a2310db341c4c421fc.tar.bz2
hercules-1963ef3c77c8c2035da2e7a2310db341c4c421fc.tar.xz
hercules-1963ef3c77c8c2035da2e7a2310db341c4c421fc.zip
* Added Spira's Party Booking System implementation
- Added two additional mercenaries and updated data. - Added place holder values to the item database. - Added packets for the party booking system. - Updated the 13.2 monster skills to official. - Updated stats and drop rates on several monsters. - Fixed Lullaby working on allies/party members. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14412 54d463be-8e91-2dee-dedb-b68131a5f0ec
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_ */