using RageCoop.Core.Scripting; using SHVDN; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace RageCoop.Client.Scripting { /// /// public class ClientResource { /// /// Name of the resource /// [JsonInclude] public string Name { get; internal set; } /// /// Directory where the scripts is loaded from /// [JsonInclude] public string ScriptsDirectory { get; internal set; } /// /// A resource-specific folder that can be used to store your files. /// [JsonInclude] public string DataFolder { get; internal set; } /// /// Get the where this script is loaded from. /// [JsonInclude] public Dictionary Files { get; internal set; } = new Dictionary(); /// /// A instance that can be used to debug your resource. /// [JsonIgnore] public ResourceLogger Logger => ResourceLogger.Default; } }