diff options
author | Haru <haru@dotalux.com> | 2018-09-23 15:55:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 15:55:01 +0200 |
commit | 211df88ef832810792da9e76e9beb3bb6fe45103 (patch) | |
tree | 732db250b0b6858f6cc60b671318bd3c66ae1e25 /src/map/clif.h | |
parent | f14bb88b2c0d95fd7c1b69db9d367b8a74cfb285 (diff) | |
parent | bb5897b1d3323e8e9d2fd0fd45e2dd41679e9d30 (diff) | |
download | hercules-211df88ef832810792da9e76e9beb3bb6fe45103.tar.gz hercules-211df88ef832810792da9e76e9beb3bb6fe45103.tar.bz2 hercules-211df88ef832810792da9e76e9beb3bb6fe45103.tar.xz hercules-211df88ef832810792da9e76e9beb3bb6fe45103.zip |
Merge pull request #2199 from 4144/updatepackets
Update packets up to 2018-09-19
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index e3b2a90d3..13435e82e 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 @@ -827,9 +837,12 @@ struct clif_interface { void (*combo_delay) (struct block_list *bl,int wait); void (*status_change) (struct block_list *bl,int type,int flag,int tick,int val1, int val2, int val3); void (*insert_card) (struct map_session_data *sd,int idx_equip,int idx_card,int flag); - void (*inventorylist) (struct map_session_data *sd); - void (*equiplist) (struct map_session_data *sd); - void (*cartlist) (struct map_session_data *sd); + void (*inventoryList) (struct map_session_data *sd); + void (*inventoryItems) (struct map_session_data *sd, enum inventory_type type); + void (*equipList) (struct map_session_data *sd); + void (*equipItems) (struct map_session_data *sd, enum inventory_type type); + void (*cartList) (struct map_session_data *sd); + void (*cartItems) (struct map_session_data *sd, enum inventory_type type); void (*favorite_item) (struct map_session_data* sd, unsigned short index); void (*clearcart) (int fd); void (*item_identify_list) (struct map_session_data *sd); @@ -986,7 +999,11 @@ struct clif_interface { void (*openvendingAck) (int fd, int result); void (*vendingreport) (struct map_session_data* sd, int index, int amount, uint32 char_id, int zeny); /* storage handling */ - void (*storagelist) (struct map_session_data* sd, struct item* items, int items_length); + 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, 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); |