diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-08 19:54:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | f28739e8d1b08d871c8430b949246bb6a0090bc2 (patch) | |
tree | ec582a2acf42cdaf6db5417399ef0e3eb968c0d7 /src/char/mapif.h | |
parent | b451aaff923c7695ba6087f1b9b44ed53b943ee4 (diff) | |
download | hercules-f28739e8d1b08d871c8430b949246bb6a0090bc2.tar.gz hercules-f28739e8d1b08d871c8430b949246bb6a0090bc2.tar.bz2 hercules-f28739e8d1b08d871c8430b949246bb6a0090bc2.tar.xz hercules-f28739e8d1b08d871c8430b949246bb6a0090bc2.zip |
Add most functions from int_pet.c to interfaces.
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; |