system/luaserver: Terminate Lua script when luaclient dies.

This commit is contained in:
martii
2014-10-13 22:11:25 +02:00
committed by svenhoefer
parent d681936f26
commit ffec667030
4 changed files with 55 additions and 17 deletions

View File

@@ -176,6 +176,7 @@ public:
CLuaInstance();
~CLuaInstance();
void runScript(const char *fileName, std::vector<std::string> *argv = NULL, std::string *result_code = NULL, std::string *result_string = NULL, std::string *error_string = NULL);
void abortScript();
// Example: runScript(fileName, "Arg1", "Arg2", "Arg3", ..., NULL);
// Type of all parameters: const char*