Allow non-local script functions to be called from outside the script

This commit is contained in:
2019-06-05 18:44:23 +02:00
parent 43dede9ae2
commit bda26b0ddf
6 changed files with 50 additions and 4 deletions

View File

@@ -36,6 +36,9 @@ public:
EvalValue* GetVariable(const string& key);
bool HasVariable(const string& key);
EvalValue* CallFunction(const string& key, vector<EvalValue*> variables);
bool HasFunction(const string& key);
};