From 256758edbb6b61630b1f072762b07226f053d2e6 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 25 Jun 2018 04:27:58 +0200 Subject: Move some non-mapif functionality from the mapif interface to the inter_storage interface Signed-off-by: Haru --- src/char/int_storage.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/char/int_storage.h') diff --git a/src/char/int_storage.h b/src/char/int_storage.h index 89886c390..918927620 100644 --- a/src/char/int_storage.h +++ b/src/char/int_storage.h @@ -33,13 +33,14 @@ struct guild_storage; struct inter_storage_interface { int (*tosql) (int account_id, const struct storage_data *p); int (*fromsql) (int account_id, struct storage_data *p); - int (*guild_storage_tosql) (int guild_id, const struct guild_storage *p); + bool (*guild_storage_tosql) (int guild_id, const struct guild_storage *p); int (*guild_storage_fromsql) (int guild_id, struct guild_storage* p); int (*sql_init) (void); void (*sql_final) (void); int (*delete_) (int account_id); int (*guild_storage_delete) (int guild_id); int (*parse_frommap) (int fd); + bool (*retrieve_bound_items) (int char_id, int account_id, int guild_id); }; #ifdef HERCULES_CORE -- cgit v1.2.3-70-g09d2