diff options
author | Haruna <haru@dotalux.com> | 2014-12-20 23:42:37 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-12-20 23:42:37 +0100 |
commit | 1134e030744e67bca61f52dc97075f33932f7a38 (patch) | |
tree | 3c5f077c6537f7e165039d3bf68d8052253b7dc2 /src/map/itemdb.h | |
parent | c4456ddbebccaca51ab040c60e3c586ed2cc0a10 (diff) | |
parent | 2c6fd58d633e4139a6f0f3b4bb0262e64fc957e2 (diff) | |
download | hercules-1134e030744e67bca61f52dc97075f33932f7a38.tar.gz hercules-1134e030744e67bca61f52dc97075f33932f7a38.tar.bz2 hercules-1134e030744e67bca61f52dc97075f33932f7a38.tar.xz hercules-1134e030744e67bca61f52dc97075f33932f7a38.zip |
Merge pull request #416 from 4144/plugext
Extend plugins support in item_data, mob_db, mob_data
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 23339790e..9a72c64ac 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -434,6 +434,10 @@ struct item_data { /* TODO add a pointer to some sort of (struct extra) and gather all the not-common vals into it to save memory */ struct item_group *group; struct item_package *package; + + /* HPM Custom Struct */ + struct HPluginData **hdata; + unsigned int hdatac; }; struct item_combo { @@ -600,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); |