From bd010c4058f7973287a4083031d508aa610cb9dd Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 24 Jun 2018 15:46:48 +0200 Subject: Move some non-mapif functions from the mapif interface to the inter_elemental interface Signed-off-by: Haru --- src/char/int_elemental.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/char/int_elemental.h') 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 -- cgit v1.2.3-70-g09d2