diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-07 19:51:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 9d6efc2567484d5f218f56de2ad0757ea71d0c1d (patch) | |
tree | c7bfa99e94e6e87d812b2f0a132f3a60933af1bf /src/char/mapif.h | |
parent | 8338483dd4c41bc9831bebc9d6dc1808247fc497 (diff) | |
download | hercules-9d6efc2567484d5f218f56de2ad0757ea71d0c1d.tar.gz hercules-9d6efc2567484d5f218f56de2ad0757ea71d0c1d.tar.bz2 hercules-9d6efc2567484d5f218f56de2ad0757ea71d0c1d.tar.xz hercules-9d6efc2567484d5f218f56de2ad0757ea71d0c1d.zip |
Add most functions from int_auction.c to interfaces.
Diffstat (limited to 'src/char/mapif.h')
-rw-r--r-- | src/char/mapif.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/char/mapif.h b/src/char/mapif.h index 089fb751b..6ba6e5924 100644 --- a/src/char/mapif.h +++ b/src/char/mapif.h @@ -20,6 +20,17 @@ struct mapif_interface { int (*sendallwos) (int sfd, unsigned char *buf, unsigned int len); int (*send) (int fd, unsigned char *buf, unsigned int len); void (*send_users_count) (int users); + void (*auction_message) (int char_id, unsigned char result); + void (*auction_sendlist) (int fd, int char_id, short count, short pages, unsigned char *buf); + void (*parse_auction_requestlist) (int fd); + void (*auction_register) (int fd, struct auction_data *auction); + void (*parse_auction_register) (int fd); + void (*auction_cancel) (int fd, int char_id, unsigned char result); + void (*parse_auction_cancel) (int fd); + void (*auction_close) (int fd, int char_id, unsigned char result); + void (*parse_auction_close) (int fd); + void (*auction_bid) (int fd, int char_id, int bid, unsigned char result); + void (*parse_auction_bid) (int fd); } mapif_s; struct mapif_interface *mapif; |