summaryrefslogtreecommitdiff
path: root/src/map/mapreg.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-11 01:12:30 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-12 06:33:01 +0200
commit94155c04e142ed5e441ffd4f07ff85290e5b4cd5 (patch)
treeca8e3c4cb4a48037296e41003fa9a67514c4d7e3 /src/map/mapreg.h
parente14e4c77614afa2cacab9b5042554702da4b04fa (diff)
downloadhercules-94155c04e142ed5e441ffd4f07ff85290e5b4cd5.tar.gz
hercules-94155c04e142ed5e441ffd4f07ff85290e5b4cd5.tar.bz2
hercules-94155c04e142ed5e441ffd4f07ff85290e5b4cd5.tar.xz
hercules-94155c04e142ed5e441ffd4f07ff85290e5b4cd5.zip
Implement usage of new map_reg_*_db tables
Diffstat (limited to 'src/map/mapreg.h')
-rw-r--r--src/map/mapreg.h4
1 files changed, 4 insertions, 0 deletions
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);