diff options
author | Haru <haru@dotalux.com> | 2018-06-25 04:27:58 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-06-30 01:51:13 +0200 |
commit | 256758edbb6b61630b1f072762b07226f053d2e6 (patch) | |
tree | 205f753655ad8f0fa7bd5adce883d4b370935819 /src/char/int_storage.h | |
parent | d9ac8282fc89aa3eb2f4946940889c22c22bc0df (diff) | |
download | hercules-256758edbb6b61630b1f072762b07226f053d2e6.tar.gz hercules-256758edbb6b61630b1f072762b07226f053d2e6.tar.bz2 hercules-256758edbb6b61630b1f072762b07226f053d2e6.tar.xz hercules-256758edbb6b61630b1f072762b07226f053d2e6.zip |
Move some non-mapif functionality from the mapif interface to the inter_storage interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/int_storage.h')
-rw-r--r-- | src/char/int_storage.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |