summaryrefslogtreecommitdiff
path: root/src/char/int_storage.h
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-08 11:45:01 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-08 11:45:01 -0300
commit05c1c0552fe6c94d8835a58f4608d0402614ce39 (patch)
tree25c6cddf9cd1767835266171d26d86d04882fdee /src/char/int_storage.h
parent36b0aad136e42687ed5f5383f8d93128d73c398b (diff)
downloadhercules-05c1c0552fe6c94d8835a58f4608d0402614ce39.tar.gz
hercules-05c1c0552fe6c94d8835a58f4608d0402614ce39.tar.bz2
hercules-05c1c0552fe6c94d8835a58f4608d0402614ce39.tar.xz
hercules-05c1c0552fe6c94d8835a58f4608d0402614ce39.zip
[TMW2] Hercules Ultimate Storage System
Diffstat (limited to 'src/char/int_storage.h')
-rw-r--r--src/char/int_storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_storage.h b/src/char/int_storage.h
index 918927620..912236856 100644
--- a/src/char/int_storage.h
+++ b/src/char/int_storage.h
@@ -31,8 +31,8 @@ struct guild_storage;
* inter_storage interface
**/
struct inter_storage_interface {
- int (*tosql) (int account_id, const struct storage_data *p);
- int (*fromsql) (int account_id, struct storage_data *p);
+ int (*tosql) (int account_id, int storage_id, const struct storage_data *p);
+ int (*fromsql) (int account_id, int storage_id, struct storage_data *p, int storage_size);
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);