From 94155c04e142ed5e441ffd4f07ff85290e5b4cd5 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Mon, 11 May 2020 01:12:30 +0200 Subject: Implement usage of new map_reg_*_db tables --- src/map/mapreg.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/mapreg.h') diff --git a/src/map/mapreg.h b/src/map/mapreg.h index bd0e13e21..772a6cb61 100644 --- a/src/map/mapreg.h +++ b/src/map/mapreg.h @@ -60,7 +60,11 @@ struct mapreg_interface { char* (*readregstr) (int64 uid); bool (*setreg) (int64 uid, int val); bool (*setregstr) (int64 uid, const char *str); + void (*load_num_db) (void); + void (*load_str_db) (void); void (*load) (void); + void (*save_num_db) (const char *name, unsigned int index, int value); + void (*save_str_db) (const char *name, unsigned int index, const char *value); void (*save) (void); int (*save_timer) (int tid, int64 tick, int id, intptr_t data); int (*destroyreg) (union DBKey key, struct DBData *data, va_list ap); -- cgit v1.2.3-70-g09d2