using System; using System.Collections.Generic; using JetBrains.Annotations; namespace Metacity.Publish.Editor { [Serializable] public class GameServerPort { public string name; public int port; public string protocol; } [Serializable] public class EnvironmentVariable { public string name; public string value; } [Serializable] public class Config { public Config() { accessToken = null; templateName = "demo"; description = ""; thumbnail = null; memberLimit = 5; buildNeeded = false; serverType = ServerType.Official; serverPath = ""; executableServerPath = ""; clientPath = ""; executableClientPath = ""; gameServerPorts = new List(); environmentVariables = new List(); } public string accessToken; public string userId; public string templateId; public string buildId; public string templateName; public string description; [CanBeNull] public string thumbnail; public int memberLimit; public bool buildNeeded; public ServerType serverType; public string serverPath; public string executableServerPath; public string clientPath; public string executableClientPath; public List gameServerPorts; public List environmentVariables; } }