public ServerSettings(ServerSettings other) { Name = other.Name; ListenPort = other.ListenPort; ExternalPort = other.ExternalPort; AdvertiseOnline = other.AdvertiseOnline; Password = other.Password; MasterServer = other.MasterServer; DiscoverNatDevices = other.DiscoverNatDevices; AllowPortForward = other.AllowPortForward; NatDeviceAvailable = other.NatDeviceAvailable; NatDiscoveryTimeout = other.NatDiscoveryTimeout; VerboseNatDiscovery = other.VerboseNatDiscovery; Map = other.Map; Ban = other.Ban; TimeOut = other.TimeOut; Dedicated = other.Dedicated; DedicatedLoop = other.DedicatedLoop; LockBots = other.LockBots; }
public static void CreateServer(ServerSettings settings) { server = new Server.Server(new IPEndPoint(IPAddress.Any, settings.ListenPort), settings, ModData, false); }
public static void CreateServer(ServerSettings settings) { server = new Server.Server(new IPEndPoint(IPAddress.Any, settings.ListenPort), Game.Settings.Game.Mods, settings, modData); }
public static void CreateServer(ServerSettings settings) { server = new Server.Server(new IPEndPoint(IPAddress.Any, settings.ListenPort), settings, ModData, ServerType.Multiplayer); }