summaryrefslogtreecommitdiff
path: root/src/map/storage.h
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-06-23 00:22:39 +0200
committerDennis Friis <peavey@inspircd.org>2009-06-25 01:13:20 +0200
commit4b825f68fa8e8ec86d6aa1694f629ed348fe50f1 (patch)
tree54c4567fb51f8b1edb2cde224ea2ef6e7d994053 /src/map/storage.h
parent353fd0ec49222512a4292fb1452c2c82c8e3a38d (diff)
downloadtmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.tar.gz
tmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.tar.bz2
tmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.tar.xz
tmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.zip
Redo storage, derived from ea stable.
Diffstat (limited to 'src/map/storage.h')
-rw-r--r--src/map/storage.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/storage.h b/src/map/storage.h
index 489741c..774937d 100644
--- a/src/map/storage.h
+++ b/src/map/storage.h
@@ -12,11 +12,14 @@ int storage_storagegettocart(struct map_session_data *sd,int index,int amount);
int storage_storageclose(struct map_session_data *sd);
int do_init_storage(void);
void do_final_storage(void);
+void do_reconnect_storage(void);
struct storage *account2storage(int account_id);
struct storage *account2storage2(int account_id);
int storage_delete(int account_id);
int storage_storage_quit(struct map_session_data *sd);
-int storage_storage_save(struct map_session_data *sd);
+int storage_storage_save(int account_id);
+int storage_storage_saved(int account_id); //Ack from char server that guild store was saved.
+void storage_storage_dirty(struct map_session_data *sd);
struct guild_storage *guild2storage(int guild_id);
int guild_storage_delete(int guild_id);
@@ -29,6 +32,8 @@ int storage_guild_storageaddfromcart(struct map_session_data *sd,int index,int a
int storage_guild_storagegettocart(struct map_session_data *sd,int index,int amount);
int storage_guild_storageclose(struct map_session_data *sd);
int storage_guild_storage_quit(struct map_session_data *sd,int flag);
+int storage_guild_storagesave(int account_id, int guild_id);
+int storage_guild_storagesaved(int account_id, int guild_id); //Ack from char server that guild store was saved.
int storage_comp_item(const void *_i1, const void *_i2);
//int storage_comp_item(const struct item* i1, const struct item* i2);