public static void Run(string script, object target) { var bindings = new ScriptBindings(target); Basic = new BasicScriptRunner(bindings); Basic.Run(script); }
public AutoHookedScriptRunner(string script, ScriptBindings bindings) : this() { bindings.Initialize(Lua); LoadScript(script); }
public AutoHookedScriptRunner(ScriptBindings bindings) : this() { bindings.Initialize(Lua); }
public static void Run(string script, ScriptBindings bindings) { Basic = new BasicScriptRunner(); Basic.AddBindings(bindings); Basic.Run(script); }
public void RemoveBindings(ScriptBindings bindings) { bindings.Clean(lua); }
public void AddBindings(ScriptBindings bindings) { bindings.Initialize(lua); }
public BasicScriptRunner(params Action[] actions) : this() { ScriptBindings b = new ScriptBindings(actions); b.Initialize(lua); }
public BasicScriptRunner(params Delegate[] dels) : this() { ScriptBindings b = new ScriptBindings(dels); b.Initialize(lua); }
public BasicScriptRunner(ScriptBindings bindings) : this() { bindings.Initialize(lua); }