diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-08 12:34:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 7e6df4619270cbec689f4d6d73c5fc0498c2ed18 (patch) | |
tree | 627a223f0a29c392dd0c7a17977032198dce4155 /src/char/mapif.h | |
parent | 72427289b387df3394eeadf629d3510f60742970 (diff) | |
download | hercules-7e6df4619270cbec689f4d6d73c5fc0498c2ed18.tar.gz hercules-7e6df4619270cbec689f4d6d73c5fc0498c2ed18.tar.bz2 hercules-7e6df4619270cbec689f4d6d73c5fc0498c2ed18.tar.xz hercules-7e6df4619270cbec689f4d6d73c5fc0498c2ed18.zip |
Add most functions from int_mercenary.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 ec177fcd1..511a40a68 100644 --- a/src/char/mapif.h +++ b/src/char/mapif.h @@ -9,6 +9,7 @@ struct s_elemental; struct s_homunculus; +struct s_mercenary; struct mail_message; /* mapif interface */ @@ -107,6 +108,16 @@ struct mapif_interface { void (*parse_mail_return) (int fd); void (*mail_send) (int fd, struct mail_message* msg); void (*parse_mail_send) (int fd); + bool (*mercenary_save) (struct s_mercenary* merc); + bool (*mercenary_load) (int merc_id, int char_id, struct s_mercenary *merc); + bool (*mercenary_delete) (int merc_id); + void (*mercenary_send) (int fd, struct s_mercenary *merc, unsigned char flag); + void (*parse_mercenary_create) (int fd, struct s_mercenary* merc); + void (*parse_mercenary_load) (int fd, int merc_id, int char_id); + void (*mercenary_deleted) (int fd, unsigned char flag); + void (*parse_mercenary_delete) (int fd, int merc_id); + void (*mercenary_saved) (int fd, unsigned char flag); + void (*parse_mercenary_save) (int fd, struct s_mercenary* merc); } mapif_s; struct mapif_interface *mapif; |