diff options
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 91a91b5d3..1aee11c33 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -665,6 +665,15 @@ 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; + int shopIndex; +}; + +VECTOR_STRUCT_DECL(barteritemlist, struct barter_itemlist_entry); + /** * Stylist Shop Responds **/ @@ -1587,6 +1596,9 @@ struct clif_interface { void (*item_preview) (struct map_session_data *sd, int n); bool (*enchant_equipment) (struct map_session_data *sd, enum equip_pos pos, int cardSlot, int cardId); 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 |