diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-16 16:14:30 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-16 16:14:30 +0000 |
commit | 8d5fe8a2562df4eb5e6eca2fb161514d9f6a7e9d (patch) | |
tree | 8d024104aa15ed6c2aa5070bd03ed7790a2afd90 /src/map/pc.h | |
parent | 9b1e41499d17bb424414a7821e74a53c6d3e3f74 (diff) | |
download | hercules-8d5fe8a2562df4eb5e6eca2fb161514d9f6a7e9d.tar.gz hercules-8d5fe8a2562df4eb5e6eca2fb161514d9f6a7e9d.tar.bz2 hercules-8d5fe8a2562df4eb5e6eca2fb161514d9f6a7e9d.tar.xz hercules-8d5fe8a2562df4eb5e6eca2fb161514d9f6a7e9d.zip |
- Item Rental System.
Script Usage:
- rentitem <itemid>,<seconds>;
- rentitem <itemname>,<seconds>;
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13370 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 16ee1936b..aae1e6550 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -340,6 +340,7 @@ struct map_session_data { char away_message[128]; // [LuzZza] int cashPoints, kafraPoints; + int rental_timer; // Auction System [Zephyrus] struct { @@ -711,6 +712,11 @@ extern int night_timer_tid; int map_day_timer(int tid, unsigned int tick, int id, intptr data); // by [yor] int map_night_timer(int tid, unsigned int tick, int id, intptr data); // by [yor] +// Rental System +void pc_inventory_rentals(struct map_session_data *sd); +int pc_inventory_rental_clear(struct map_session_data *sd); +void pc_inventory_rental_add(struct map_session_data *sd, int seconds); + //Duel functions // [LuzZza] int duel_create(struct map_session_data* sd, const unsigned int maxpl); int duel_invite(const unsigned int did, struct map_session_data* sd, struct map_session_data* target_sd); |