From 50de773053b9c1849381d0502021898782b5994a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Apr 2015 01:43:04 +0300 Subject: Allow for plugins read custom fields from jobdb1. --- src/map/status.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/status.h') diff --git a/src/map/status.h b/src/map/status.h index 98d5d415c..c8a7a08f7 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -6,7 +6,7 @@ #define MAP_STATUS_H #include "../config/core.h" // defType, RENEWAL, RENEWAL_ASPD - +#include "../common/conf.h" #include "../common/cbasetypes.h" #include "../common/mmo.h" // NEW_CARTS @@ -2116,6 +2116,7 @@ struct status_interface { bool (*readdb_refine) (char *fields[], int columns, int current); bool (*readdb_scconfig) (char *fields[], int columns, int current); void (*read_job_db) (void); + void (*read_job_db_sub) (int idx, const char *name, config_setting_t *jdb); }; struct status_interface *status; -- cgit v1.2.3-60-g2f50