summaryrefslogtreecommitdiff
path: root/src/map/mapreg.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-11 04:45:50 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-12 06:35:03 +0200
commitb1fd1222631d43fe3f91beee941f514cc0181773 (patch)
tree40dd6a211a1842797a9e5b54a0a645b040fcb927 /src/map/mapreg.h
parentd80274aa9483c6d2d0e1a70b85f654a7d0eddb04 (diff)
downloadhercules-b1fd1222631d43fe3f91beee941f514cc0181773.tar.gz
hercules-b1fd1222631d43fe3f91beee941f514cc0181773.tar.bz2
hercules-b1fd1222631d43fe3f91beee941f514cc0181773.tar.xz
hercules-b1fd1222631d43fe3f91beee941f514cc0181773.zip
Use separate functions for setting and deleting global integer variables
Diffstat (limited to 'src/map/mapreg.h')
-rw-r--r--src/map/mapreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mapreg.h b/src/map/mapreg.h
index f97cd997d..70c8666fa 100644
--- a/src/map/mapreg.h
+++ b/src/map/mapreg.h
@@ -57,6 +57,8 @@ struct mapreg_interface {
/* */
int (*readreg) (int64 uid);
char* (*readregstr) (int64 uid);
+ bool (*set_num_db) (int64 uid, const char *name, unsigned int index, int value);
+ bool (*delete_num_db) (int64 uid, const char *name, unsigned int index);
bool (*setreg) (int64 uid, int val);
bool (*setregstr) (int64 uid, const char *str);
void (*load_num_db) (void);