diff options
author | Haru <haru@dotalux.com> | 2018-07-01 18:32:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-01 18:32:57 +0200 |
commit | 56bed6dba78e3d65f6ff5aeec924b3ba2d06459d (patch) | |
tree | 9dea571701ae7879b79d663ad45948ddced6f58a /src/char/int_homun.h | |
parent | b1a1da3ac1b4a6465afe7b773b5f19178cd98ad2 (diff) | |
parent | 596428fa49b09ea1a0e0f17670ee127472576f37 (diff) | |
download | hercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.tar.gz hercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.tar.bz2 hercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.tar.xz hercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.zip |
Merge pull request #2108 from MishimaHaruna/mapifcleanup
Mapif cleanup
Diffstat (limited to 'src/char/int_homun.h')
-rw-r--r-- | src/char/int_homun.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/char/int_homun.h b/src/char/int_homun.h index fbd9d0eb9..8eba66963 100644 --- a/src/char/int_homun.h +++ b/src/char/int_homun.h @@ -22,6 +22,7 @@ #define CHAR_INT_HOMUN_H #include "common/hercules.h" +#include "common/mmo.h" /** * inter_homunculus interface @@ -30,6 +31,12 @@ struct inter_homunculus_interface { int (*sql_init) (void); void (*sql_final) (void); int (*parse_frommap) (int fd); + + bool (*create) (struct s_homunculus *hd); + bool (*save) (const struct s_homunculus *hd); + bool (*load) (int homun_id, struct s_homunculus* hd); + bool (*delete) (int homun_id); + bool (*rename) (const char *name); }; #ifdef HERCULES_CORE |