diff options
author | Haru <haru@dotalux.com> | 2018-06-24 15:46:48 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-06-30 01:51:09 +0200 |
commit | bd010c4058f7973287a4083031d508aa610cb9dd (patch) | |
tree | 1accd13d38584614b58ae2ecfa64ec7c5b103eef /src/char/int_elemental.h | |
parent | a77ed4bbf9a7afa60954c8eab6778be1840e77c5 (diff) | |
download | hercules-bd010c4058f7973287a4083031d508aa610cb9dd.tar.gz hercules-bd010c4058f7973287a4083031d508aa610cb9dd.tar.bz2 hercules-bd010c4058f7973287a4083031d508aa610cb9dd.tar.xz hercules-bd010c4058f7973287a4083031d508aa610cb9dd.zip |
Move some non-mapif functions from the mapif interface to the inter_elemental interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/int_elemental.h')
-rw-r--r-- | src/char/int_elemental.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/char/int_elemental.h b/src/char/int_elemental.h index 646009b50..3172dcacf 100644 --- a/src/char/int_elemental.h +++ b/src/char/int_elemental.h @@ -22,6 +22,7 @@ #define CHAR_INT_ELEMENTAL_H #include "common/hercules.h" +#include "common/mmo.h" /** * inter_elemental_interface interface @@ -30,6 +31,11 @@ struct inter_elemental_interface { void (*sql_init) (void); void (*sql_final) (void); int (*parse_frommap) (int fd); + + bool (*create) (struct s_elemental *ele); + bool (*save) (const struct s_elemental *ele); + bool (*load) (int ele_id, int char_id, struct s_elemental *ele); + bool (*delete) (int ele_id); }; #ifdef HERCULES_CORE |