using System; namespace CLre_server.API.Config { [Serializable] public struct CLreConfig { public bool clre_clients_only; public bool web_server; public static CLreConfig Default() { return new CLreConfig { clre_clients_only = false, web_server = false, }; } public static CLreConfig FromString(string s) { return UnityEngine.JsonUtility.FromJson(s); } public override string ToString() { return UnityEngine.JsonUtility.ToJson(this, true); } } }