diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-18 00:29:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-21 01:38:16 +0300 |
commit | a75f608ed23e2d6ac06582abb833c2a874cd7815 (patch) | |
tree | 106cdf1932ed90e0745ebafcbbe10e3377d45c10 /src/map/itemdb.h | |
parent | 575b83e553b1b02a05a6cf9732d6b761b522cd74 (diff) | |
download | hercules-a75f608ed23e2d6ac06582abb833c2a874cd7815.tar.gz hercules-a75f608ed23e2d6ac06582abb833c2a874cd7815.tar.bz2 hercules-a75f608ed23e2d6ac06582abb833c2a874cd7815.tar.xz hercules-a75f608ed23e2d6ac06582abb833c2a874cd7815.zip |
Add function for reading custom itemdb fields.
This functions called after reading normal fields and after
adding item to itemdb.
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index f65345cb9..9a72c64ac 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -604,6 +604,7 @@ struct itemdb_interface { void (*read_combos) (); int (*gendercheck) (struct item_data *id); int (*validate_entry) (struct item_data *entry, int n, const char *source); + void (*readdb_additional_fields) (int itemid, config_setting_t *it, int n, const char *source); int (*readdb_sql_sub) (Sql *handle, int n, const char *source); int (*readdb_libconfig_sub) (config_setting_t *it, int n, const char *source); int (*readdb_libconfig) (const char *filename); |