summaryrefslogtreecommitdiff
path: root/src/map/pet.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-28 02:04:04 +0200
committerGitHub <noreply@github.com>2020-06-28 02:04:04 +0200
commit74e33aee9e47d0d74bf3ff58b55a823729c529ad (patch)
tree48d68c2a3c59c9260f7d39089ffd7c1ae8508e69 /src/map/pet.h
parent44db4ecf056d23a114c033eecd7f907a92217a77 (diff)
parent604962fd2a7e69c812708d0cb9cfe4130e595ea2 (diff)
downloadhercules-74e33aee9e47d0d74bf3ff58b55a823729c529ad.tar.gz
hercules-74e33aee9e47d0d74bf3ff58b55a823729c529ad.tar.bz2
hercules-74e33aee9e47d0d74bf3ff58b55a823729c529ad.tar.xz
hercules-74e33aee9e47d0d74bf3ff58b55a823729c529ad.zip
Merge pull request #2781 from Kenpachi2k13/pet_features
Add some pet features and minor pet code clean up
Diffstat (limited to 'src/map/pet.h')
-rw-r--r--src/map/pet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pet.h b/src/map/pet.h
index fa37e896a..c57df9de3 100644
--- a/src/map/pet.h
+++ b/src/map/pet.h
@@ -147,6 +147,7 @@ struct pet_interface {
/* */
int (*hungry_val) (struct pet_data *pd);
void (*set_hunger) (struct pet_data *pd, int value);
+ int (*get_card4_value) (int rename_flag, int intimacy);
void (*set_intimate) (struct pet_data *pd, int value);
int (*create_egg) (struct map_session_data *sd, int item_id);
int (*unlocktarget) (struct pet_data *pd);
@@ -159,6 +160,7 @@ struct pet_interface {
int (*performance) (struct map_session_data *sd, struct pet_data *pd);
int (*return_egg) (struct map_session_data *sd, struct pet_data *pd);
int (*data_init) (struct map_session_data *sd, struct s_pet *petinfo);
+ int (*spawn) (struct map_session_data *sd, bool birth_process);
int (*birth_process) (struct map_session_data *sd, struct s_pet *petinfo);
int (*recv_petdata) (int account_id, struct s_pet *p, int flag);
int (*select_egg) (struct map_session_data *sd, int egg_index);