2 using System.Collections.Generic;
5 using MoonSharp.Interpreter;
6 using MoonSharp.Interpreter.Loaders;
14 public override object LoadFile(
string file, Table globalContext)
18 return File.ReadAllText(file);
25 return File.Exists(file);
static bool IsPathAllowedLuaException(string path, bool write=true)
override object LoadFile(string file, Table globalContext)
override bool ScriptFileExists(string file)