diff options
Diffstat (limited to 'src/char/mapif.c')
-rw-r--r-- | src/char/mapif.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/char/mapif.c b/src/char/mapif.c index 7c807e21f..dfa8f437b 100644 --- a/src/char/mapif.c +++ b/src/char/mapif.c @@ -9,6 +9,7 @@ #include <stdlib.h> #include "char.h" +#include "int_auction.h" #include "../common/cbasetypes.h" #include "../common/mmo.h" #include "../common/random.h" @@ -27,6 +28,17 @@ int mapif_sendall(unsigned char *buf, unsigned int len); int mapif_sendallwos(int sfd, unsigned char *buf, unsigned int len); int mapif_send(int fd, unsigned char *buf, unsigned int len); void mapif_send_users_count(int users); +void mapif_auction_message(int char_id, unsigned char result); +void mapif_auction_sendlist(int fd, int char_id, short count, short pages, unsigned char *buf); +void mapif_parse_auction_requestlist(int fd); +void mapif_auction_register(int fd, struct auction_data *auction); +void mapif_parse_auction_register(int fd); +void mapif_auction_cancel(int fd, int char_id, unsigned char result); +void mapif_parse_auction_cancel(int fd); +void mapif_auction_close(int fd, int char_id, unsigned char result); +void mapif_parse_auction_close(int fd); +void mapif_auction_bid(int fd, int char_id, int bid, unsigned char result); +void mapif_parse_auction_bid(int fd); void mapif_defaults(void) { mapif = &mapif_s; @@ -42,4 +54,15 @@ void mapif_defaults(void) { mapif->sendallwos = mapif_sendallwos; mapif->send = mapif_send; mapif->send_users_count = mapif_send_users_count; + mapif->auction_message = mapif_auction_message; + mapif->auction_sendlist = mapif_auction_sendlist; + mapif->parse_auction_requestlist = mapif_parse_auction_requestlist; + mapif->auction_register = mapif_auction_register; + mapif->parse_auction_register = mapif_parse_auction_register; + mapif->auction_cancel = mapif_auction_cancel; + mapif->parse_auction_cancel = mapif_parse_auction_cancel; + mapif->auction_close = mapif_auction_close; + mapif->parse_auction_close = mapif_parse_auction_close; + mapif->auction_bid = mapif_auction_bid; + mapif->parse_auction_bid = mapif_parse_auction_bid; } |