diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-13 21:04:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-14 01:23:00 +0300 |
commit | 52fab52108281d215c61d7fbdb82438c043a10f5 (patch) | |
tree | 10fc45222925cf4876a6839a5d466416408711f1 /src/map/clif.h | |
parent | aee153a9a56ab05464779082a711adc95fb28663 (diff) | |
download | hercules-52fab52108281d215c61d7fbdb82438c043a10f5.tar.gz hercules-52fab52108281d215c61d7fbdb82438c043a10f5.tar.bz2 hercules-52fab52108281d215c61d7fbdb82438c043a10f5.tar.xz hercules-52fab52108281d215c61d7fbdb82438c043a10f5.zip |
Add packet ZC_ACK_INVENTORY_EXPAND_RESULT
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 2c3e7499b..c4be2c7ee 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -685,6 +685,14 @@ enum expand_inventory { EXPAND_INVENTORY_MAX_SIZE = 4 }; +enum expand_inventory_result { + EXPAND_INVENTORY_RESULT_SUCCESS = 0, + EXPAND_INVENTORY_RESULT_FAILED = 1, + EXPAND_INVENTORY_RESULT_OTHER_WORK = 2, + EXPAND_INVENTORY_RESULT_MISSING_ITEM = 3, + EXPAND_INVENTORY_RESULT_MAX_SIZE = 4 +}; + /** * Clif.c Interface **/ @@ -861,6 +869,7 @@ struct clif_interface { void (*cartItems) (struct map_session_data *sd, enum inventory_type type); void (*inventoryExpansionInfo) (struct map_session_data *sd); void (*inventoryExpandAck) (struct map_session_data *sd, enum expand_inventory result, int itemId); + void (*inventoryExpandResult) (struct map_session_data *sd, enum expand_inventory_result result); void (*favorite_item) (struct map_session_data* sd, unsigned short index); void (*clearcart) (int fd); void (*item_identify_list) (struct map_session_data *sd); |