From 677598256feaad3bcef53805ad8c70e744a9b7d3 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sun, 27 Apr 2008 07:18:21 +0000 Subject: Some major changes to @reloaditemdb to allow unloading of any item while map server is running. - Delete any item from inventory/cart/open storages that went missing during the reload. - Delete item from any shop that has this item. - Refresh item screen for anyone who has a shop open. - Delete mob db drop table references. - Delete item from storage during load if it isn't in the item db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12661 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/storage.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/storage.h') diff --git a/src/map/storage.h b/src/map/storage.h index 6764d4956..fa33e2050 100644 --- a/src/map/storage.h +++ b/src/map/storage.h @@ -11,9 +11,11 @@ struct item; //#include "map.h" struct map_session_data; +struct storage *account2storage2(int account_id); int storage_storageopen(struct map_session_data *sd); int storage_storageadd(struct map_session_data *sd,int index,int amount); int storage_storageget(struct map_session_data *sd,int index,int amount); +int storage_delitem(struct map_session_data *sd,struct storage *stor,int n,int amount); int storage_storageaddfromcart(struct map_session_data *sd,int index,int amount); int storage_storagegettocart(struct map_session_data *sd,int index,int amount); int storage_storageclose(struct map_session_data *sd); -- cgit v1.2.3-70-g09d2