예제 #1
0
        public static List <PlayniteScript> GetScripts()
        {
            var scripts = new List <PlayniteScript>();

            foreach (var path in GetScriptFiles())
            {
                scripts.Add(PlayniteScript.FromFile(path));
            }

            return(scripts);
        }
예제 #2
0
 public ScriptFunctionExport(string name, string functionName, PlayniteScript script) : base(name)
 {
     Name         = name;
     FunctionName = functionName;
     Script       = script;
 }