diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-28 20:05:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-14 20:18:11 +0300 |
commit | 0f3a9dfaf79b0227944f2f4052dd48be3b2588f4 (patch) | |
tree | 57c488a7786a51da3f3338af795afb3beb0ddb84 /src/map/clif.h | |
parent | e36edf03ce84351b27ef5d0f95b32c0f10725831 (diff) | |
download | hercules-0f3a9dfaf79b0227944f2f4052dd48be3b2588f4.tar.gz hercules-0f3a9dfaf79b0227944f2f4052dd48be3b2588f4.tar.bz2 hercules-0f3a9dfaf79b0227944f2f4052dd48be3b2588f4.tar.xz hercules-0f3a9dfaf79b0227944f2f4052dd48be3b2588f4.zip |
Add packet CZ_NPC_BARTER_PURCHASE
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 44db8047f..3ed6e8ea1 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -665,6 +665,14 @@ struct stylist_data_entry { }; VECTOR_DECL(struct stylist_data_entry) stylist_data[MAX_STYLIST_TYPE]; +struct barter_itemlist_entry { + int addId; + int addAmount; + int removeIndex; +}; + +VECTOR_STRUCT_DECL(barteritemlist, struct barter_itemlist_entry); + /** * Stylist Shop Responds **/ @@ -1589,6 +1597,7 @@ struct clif_interface { void (*pReqRemainTime) (int fd, struct map_session_data *sd); void (*npc_barter_open) (struct map_session_data *sd, struct npc_data *nd); void (*pNPCBarterClosed) (int fd, struct map_session_data *sd); + void (*pNPCBarterPurchase) (int fd, struct map_session_data *sd); }; #ifdef HERCULES_CORE |