summaryrefslogtreecommitdiff
path: root/src/map/storage.h
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-06-25 00:49:36 +0200
committerDennis Friis <peavey@inspircd.org>2009-06-25 01:13:21 +0200
commit9478575520ed4ee5d36c4996522171cb35aab756 (patch)
treebe316709feae5d8568dc0a07b10ed83af29b0d66 /src/map/storage.h
parent3c6a843e796541aa36008a291667bceabe00645e (diff)
downloadtmwa-9478575520ed4ee5d36c4996522171cb35aab756.tar.gz
tmwa-9478575520ed4ee5d36c4996522171cb35aab756.tar.bz2
tmwa-9478575520ed4ee5d36c4996522171cb35aab756.tar.xz
tmwa-9478575520ed4ee5d36c4996522171cb35aab756.zip
Improved storage saving, derived from ea stable.
Diffstat (limited to 'src/map/storage.h')
-rw-r--r--src/map/storage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/storage.h b/src/map/storage.h
index 67966cf..cc93f86 100644
--- a/src/map/storage.h
+++ b/src/map/storage.h
@@ -19,7 +19,7 @@ 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(int account_id);
+int storage_storage_save(int account_id, int final);
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);
@@ -34,8 +34,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_guild_storagesave(int account_id, int guild_id, int flag);
+int storage_guild_storagesaved(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);