using System; using System.Collections.Generic; using System.Text; using System.IO; namespace RageCoop.Core.Scripting { public class Resource { /// /// Name of the resource /// public string Name { get; internal set; } /// /// A resource-specific folder that can be used to store your files. /// public string DataFolder { get;internal set; } public List Scripts { get; internal set; } = new List(); public Dictionary Files { get; internal set; }=new Dictionary(); } public class ResourceFile { public string Name { get; internal set; } public bool IsDirectory { get; internal set; } public Func GetStream { get; internal set; } } }