diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-15 23:57:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-15 23:57:23 +0000 |
commit | 85690028a05b76c3423ff5777fd545d7af04cf6d (patch) | |
tree | 77c994f19cbd2d1a887e0a711df580048b52d16f /src/map/clif.h | |
parent | 21edafad0f74e85c408336274dd1e59db2fe3880 (diff) | |
parent | 828cbdc9e761499ba1336a2bb68267a161053d19 (diff) | |
download | hercules-85690028a05b76c3423ff5777fd545d7af04cf6d.tar.gz hercules-85690028a05b76c3423ff5777fd545d7af04cf6d.tar.bz2 hercules-85690028a05b76c3423ff5777fd545d7af04cf6d.tar.xz hercules-85690028a05b76c3423ff5777fd545d7af04cf6d.zip |
Merge pull request #2339 from 4144/updatepackets
Update packet up to 2019-01-09
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 |