Ejemplo n.º 1
0
		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;
		}
Ejemplo n.º 2
0
 public static void CreateServer(ServerSettings settings)
 {
     server = new Server.Server(new IPEndPoint(IPAddress.Any, settings.ListenPort), settings, ModData, false);
 }
Ejemplo n.º 3
0
 public static void CreateServer(ServerSettings settings)
 {
     server = new Server.Server(new IPEndPoint(IPAddress.Any, settings.ListenPort),
                                Game.Settings.Game.Mods, settings, modData);
 }
Ejemplo n.º 4
0
 public static void CreateServer(ServerSettings settings)
 {
     server = new Server.Server(new IPEndPoint(IPAddress.Any, settings.ListenPort), settings, ModData, ServerType.Multiplayer);
 }