summaryrefslogtreecommitdiff
path: root/src/char/int_pet.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-25 00:36:54 +0200
committerHaru <haru@dotalux.com>2018-06-30 01:51:11 +0200
commit4bcd46503481e616214fd40424ea63adf9352db8 (patch)
tree53b6486fcb5edaae7bb363f100a433068604ae6d /src/char/int_pet.h
parent409c8a7348f9141a40ec0161d1e5715088516fd8 (diff)
downloadhercules-4bcd46503481e616214fd40424ea63adf9352db8.tar.gz
hercules-4bcd46503481e616214fd40424ea63adf9352db8.tar.bz2
hercules-4bcd46503481e616214fd40424ea63adf9352db8.tar.xz
hercules-4bcd46503481e616214fd40424ea63adf9352db8.zip
Move some non-mapif functionality from the mapif interface to the inter_pet interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/int_pet.h')
-rw-r--r--src/char/int_pet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/char/int_pet.h b/src/char/int_pet.h
index ab14a6580..9e3a2ac59 100644
--- a/src/char/int_pet.h
+++ b/src/char/int_pet.h
@@ -36,6 +36,10 @@ struct inter_pet_interface {
void (*sql_final) (void);
int (*delete_) (int pet_id);
int (*parse_frommap) (int fd);
+
+ struct s_pet *(*create) (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, const char *pet_name);
+ struct s_pet *(*load) (int account_id, int char_id, int pet_id);
};
#ifdef HERCULES_CORE