diff options
author | Asheraf <acheraf1998@gmail.com> | 2019-07-19 11:52:56 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2019-07-28 18:46:31 +0100 |
commit | e657ef0ee76b5f4f15ee041f6863aee58a24cc35 (patch) | |
tree | 5893a923947891d8173ed291e73a4400c0036e2a /src/map/guild.h | |
parent | bd4c28934cc1b9701757669cd20f929bc6e54404 (diff) | |
download | hercules-e657ef0ee76b5f4f15ee041f6863aee58a24cc35.tar.gz hercules-e657ef0ee76b5f4f15ee041f6863aee58a24cc35.tar.bz2 hercules-e657ef0ee76b5f4f15ee041f6863aee58a24cc35.tar.xz hercules-e657ef0ee76b5f4f15ee041f6863aee58a24cc35.zip |
Convert guild castle database to use libconfig
Diffstat (limited to 'src/map/guild.h')
-rw-r--r-- | src/map/guild.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/guild.h b/src/map/guild.h index 396cbda86..40209b988 100644 --- a/src/map/guild.h +++ b/src/map/guild.h @@ -165,7 +165,8 @@ struct guild_interface { int (*payexp_timer) (int tid, int64 tick, int id, intptr_t data); struct map_session_data *(*sd_check) (int guild_id, int account_id, int char_id); bool (*read_guildskill_tree_db) (char* split[], int columns, int current); - bool (*read_castledb) (char* str[], int columns, int current); + bool (*read_castledb_libconfig) (void); + bool (*read_castledb_libconfig_sub) (struct config_setting_t *it, int idx, const char *source); int (*payexp_timer_sub) (union DBKey key, struct DBData *data, va_list ap); int (*send_xy_timer_sub) (union DBKey key, struct DBData *data, va_list ap); int (*send_xy_timer) (int tid, int64 tick, int id, intptr_t data); |