summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 22:28:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 22:28:22 +0300
commit9dc859a78058ce358c1e3a0ab41c78f7fd198689 (patch)
tree8b015e179ea3fe331b858d46553dfe365c2cf5f0 /src/emap/script.c
parentfd4184140cd6f61243035398391adec06de5666c (diff)
downloadplugin-9dc859a78058ce358c1e3a0ab41c78f7fd198689.tar.gz
plugin-9dc859a78058ce358c1e3a0ab41c78f7fd198689.tar.bz2
plugin-9dc859a78058ce358c1e3a0ab41c78f7fd198689.tar.xz
plugin-9dc859a78058ce358c1e3a0ab41c78f7fd198689.zip
Hook set/get npc string variables.
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index 002d581..05266d1 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -173,6 +173,15 @@ int escript_get_val_npcscope_num(struct script_state* st, struct reg_db *n, stru
return 0;
}
+void escript_set_reg_npc_str(struct script_state* st, struct reg_db *n, int64 *num, const char* name, const char *str)
+{
+}
+
+char *escript_get_val_npcscope_str(struct script_state* st, struct reg_db *n, struct script_data* data)
+{
+ return NULL;
+}
+
uint32 MakeDWord(uint16 word0, uint16 word1)
{
return ((uint32)(word0)) | ((uint32)(word1 << 0x10));