diff options
author | shennetsind <ind@henn.et> | 2013-12-24 02:03:04 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-12-24 02:03:04 -0200 |
commit | cf19b26d50ac96111e44c33a80afd1f1ea935cec (patch) | |
tree | e8cd836dddf1881b5776c40fc76b5893f0db44e0 /src/map/clif.h | |
parent | 2fbfedddcd5b7b67eb465e162a4de08ffcb1b298 (diff) | |
download | hercules-cf19b26d50ac96111e44c33a80afd1f1ea935cec.tar.gz hercules-cf19b26d50ac96111e44c33a80afd1f1ea935cec.tar.bz2 hercules-cf19b26d50ac96111e44c33a80afd1f1ea935cec.tar.xz hercules-cf19b26d50ac96111e44c33a80afd1f1ea935cec.zip |
Christmas Patch - 2013-12-23 Support
Info:
http://hercules.ws/board/topic/3614-christmas-patch-gifto/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index c4088893a..6405bbd3e 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -1034,6 +1034,9 @@ struct clif_interface { /* */ int (*delay_damage) (int64 tick, struct block_list *src, struct block_list *dst, int sdelay, int ddelay, int64 in_damage, short div, unsigned char type); int (*delay_damage_sub) (int tid, int64 tick, int id, intptr_t data); + /* NPC Market */ + void (*npc_market_open) (struct map_session_data *sd, struct npc_data *nd); + void (*npc_market_purchase_ack) (struct map_session_data *sd, struct packet_npc_market_purchase *req, unsigned char response); /*------------------------ *- Parse Incoming Packet *------------------------*/ @@ -1261,6 +1264,11 @@ struct clif_interface { void (*pBankCheck) (int fd, struct map_session_data *sd); void (*pBankOpen) (int fd, struct map_session_data *sd); void (*pBankClose) (int fd, struct map_session_data *sd); + /* */ + void (*pNPCShopClosed) (int fd, struct map_session_data *sd); + /* NPC Market (by Ind after an extensive debugging of the packet, only possible thanks to Yommy <3) */ + void (*pNPCMarketClosed) (int fd, struct map_session_data *sd); + void (*pNPCMarketPurchase) (int fd, struct map_session_data *sd); }; struct clif_interface *clif; |