public CCC_Server() { port = 63001; server = new WhiteNet.Server.Server(); server.ClientConnected += OnClient; // TODO: Load config Name = "Test Server"; MaxPlayers = 8; // Temp for testing gameRunning = false; clients = new List <CCC_Player>(); }
public CCC_Server() { port = 63001; server = new WhiteNet.Server.Server(); server.ClientConnected += OnClient; // TODO: Load config Name = "Test Server"; MaxPlayers = 8; // Temp for testing gameRunning = false; players = new List <CCC_Player>(); synctimer = new Timer(10000); synctimer.Elapsed += SendSync; synctimer.Enabled = true; synctimer.AutoReset = true; }