summaryrefslogtreecommitdiff
path: root/src/map/mapreg.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-11 05:32:18 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-12 06:38:26 +0200
commit8b521e30ef2f373c11a49329da4e330ea588aed3 (patch)
tree151d151b01bbc35a2dc40242a4b07d2d7a365973 /src/map/mapreg.h
parentb1fd1222631d43fe3f91beee941f514cc0181773 (diff)
downloadhercules-8b521e30ef2f373c11a49329da4e330ea588aed3.tar.gz
hercules-8b521e30ef2f373c11a49329da4e330ea588aed3.tar.bz2
hercules-8b521e30ef2f373c11a49329da4e330ea588aed3.tar.xz
hercules-8b521e30ef2f373c11a49329da4e330ea588aed3.zip
Use separate functions for setting and deleting global string 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 70c8666fa..e461734eb 100644
--- a/src/map/mapreg.h
+++ b/src/map/mapreg.h
@@ -60,6 +60,8 @@ struct mapreg_interface {
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 (*set_str_db) (int64 uid, const char *name, unsigned int index, const char *value);
+ bool (*delete_str_db) (int64 uid, const char *name, unsigned int index);
bool (*setregstr) (int64 uid, const char *str);
void (*load_num_db) (void);
void (*load_str_db) (void);