summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-09 23:18:03 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-09 23:18:03 +0000
commit18ec7de528b88d581e3ad10c03f6b8244b207630 (patch)
tree2587521b2a35c6d1bd8953de589a1fbe27607873 /src/map/clif.h
parent91d87f7a903545b70e23e3aa0edbd2e3ee2b67bc (diff)
downloadhercules-18ec7de528b88d581e3ad10c03f6b8244b207630.tar.gz
hercules-18ec7de528b88d581e3ad10c03f6b8244b207630.tar.bz2
hercules-18ec7de528b88d581e3ad10c03f6b8244b207630.tar.xz
hercules-18ec7de528b88d581e3ad10c03f6b8244b207630.zip
* Removed some of the duplicate, storage-related packet code.
- Removed clif_guildstoragelist and adjusted clif_storagelist to be able to handle any kind of storage. - Removed clif_guildstorageitemadded in favor of clif_storageitemadded. - This also fixes clif_guildstorageitemadded sending old update packet for clients prior 20090603, although packet 0x1c4 (ZC_ADD_ITEM_TO_STORE2) was added before PACKETVER 5 (before 2003-11-03aSakexe, exact addition date unknown) (since r14286). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14571 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index cbb8e634f..1af527d1e 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -270,14 +270,12 @@ void clif_tradecompleted(struct map_session_data* sd, int fail);
// storage
#include "storage.h"
-void clif_storagelist(struct map_session_data* sd, struct storage_data* stor);
+void clif_storagelist(struct map_session_data* sd, struct item* items, int items_length);
void clif_updatestorageamount(struct map_session_data* sd, int amount);
void clif_storageitemadded(struct map_session_data* sd, struct item* i, int index, int amount);
void clif_storageitemremoved(struct map_session_data* sd, int index, int amount);
void clif_storageclose(struct map_session_data* sd);
-void clif_guildstoragelist(struct map_session_data* sd, struct guild_storage* stor);
void clif_updateguildstorageamount(struct map_session_data* sd, int amount);
-void clif_guildstorageitemadded(struct map_session_data* sd, struct item* i, int index, int amount);
int clif_insight(struct block_list *,va_list); // map_forallinmovearea callback
int clif_outsight(struct block_list *,va_list); // map_forallinmovearea callback