diff options
Diffstat (limited to 'src/char/mapif.h')
-rw-r--r-- | src/char/mapif.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/char/mapif.h b/src/char/mapif.h index efd2a1585..8c4c8922e 100644 --- a/src/char/mapif.h +++ b/src/char/mapif.h @@ -10,6 +10,7 @@ struct s_elemental; struct s_homunculus; struct s_mercenary; +struct s_pet; struct mail_message; /* mapif interface */ @@ -136,6 +137,20 @@ struct mapif_interface { int (*parse_BreakParty) (int fd, int party_id); int (*parse_PartyMessage) (int fd, int party_id, int account_id, char *mes, int len); int (*parse_PartyLeaderChange) (int fd, int party_id, int account_id, int char_id); + int (*pet_created) (int fd, int account_id, struct s_pet *p); + int (*pet_info) (int fd, int account_id, struct s_pet *p); + int (*pet_noinfo) (int fd, int account_id); + int (*save_pet_ack) (int fd, int account_id, int flag); + int (*delete_pet_ack) (int fd, int flag); + int (*create_pet) (int fd, int account_id, int char_id, short pet_class, short pet_lv, short pet_egg_id, + short pet_equip, short intimate, short hungry, char rename_flag, char incubate, char *pet_name); + int (*load_pet) (int fd, int account_id, int char_id, int pet_id); + int (*save_pet) (int fd, int account_id, struct s_pet *data); + int (*delete_pet) (int fd, int pet_id); + int (*parse_CreatePet) (int fd); + int (*parse_LoadPet) (int fd); + int (*parse_SavePet) (int fd); + int (*parse_DeletePet) (int fd); } mapif_s; struct mapif_interface *mapif; |