summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-12 23:19:02 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-19 22:24:50 +0300
commitfbbc7f4dec0c7301a0ee3547675a2fba6c62a34c (patch)
treec7696c74e26bcb326b7849753b16e395ab7d7c9c /src/map/clif.h
parentd7c3cd215f25380cd5db1e93ac549bbb441c60c5 (diff)
downloadhercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.tar.gz
hercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.tar.bz2
hercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.tar.xz
hercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.zip
Update storage/guild storage packets for 2018-09-12 RE.
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 2de2ddc7d..335fb42c5 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -612,6 +612,16 @@ enum pet_evolution_result {
};
/**
+ * Inventory type for clients 2018-09-12 RE +
+ **/
+enum inventory_type {
+ INVTYPE_INVENTORY = 0,
+ INVTYPE_CART = 1,
+ INVTYPE_STORAGE = 2,
+ INVTYPE_GUILD_STORAGE = 3,
+};
+
+/**
* Structures
**/
typedef void (*pFunc)(int, struct map_session_data *); //cant help but put it first
@@ -988,9 +998,9 @@ struct clif_interface {
/* storage handling */
void (*storageList) (struct map_session_data* sd, struct item* items, int items_length);
void (*guildStorageList) (struct map_session_data* sd, struct item* items, int items_length);
- void (*storageItems) (struct map_session_data* sd, struct item* items, int items_length);
- void (*storageStart) (struct map_session_data* sd, const char* name);
- void (*storageEnd) (struct map_session_data* sd);
+ void (*storageItems) (struct map_session_data* sd, enum inventory_type type, struct item* items, int items_length);
+ void (*inventoryStart) (struct map_session_data* sd, enum inventory_type type, const char* name);
+ void (*inventoryEnd) (struct map_session_data* sd, enum inventory_type type);
void (*updatestorageamount) (struct map_session_data* sd, int amount, int max_amount);
void (*storageitemadded) (struct map_session_data* sd, struct item* i, int index, int amount);
void (*storageitemremoved) (struct map_session_data* sd, int index, int amount);