public MatchmakerServer(ushort port) : base(port) { Database = new JSONDatabase(); Rooms.Server = this; PingThread = new Thread(PingLoop); PingThread.Start(); Rooms.AddRoom(new Room() { Name = "Veronaville", IsGlobal = true }); Rooms.AddRoom(new Room() { Name = "Strangetown", IsGlobal = true }); Rooms.AddRoom(new Room() { Name = "Pleasantview", IsGlobal = true }); Rooms.AddRoom(new Room() { Name = "Belladonna Cove", IsGlobal = true }); Rooms.AddRoom(new Room() { Name = "Riverblossom Hills", IsGlobal = true }); }
public MatchmakerServer(ushort port) : base(port) { Database = new JSONDatabase(); Rooms.Server = this; PingThread = new Thread(PingLoop); PingThread.Start(); Rooms.AddRoom(new Room() { Name = "Room-1", IsGlobal = true }); Rooms.AddRoom(new Room() { Name = "Room-2", IsGlobal = true }); Rooms.AddRoom(new Room() { Name = "Room-3", IsGlobal = true }); //Rooms.AddRoom(new Room() { Name = "Room-4", IsGlobal = true }); //Rooms.AddRoom(new Room() { Name = "Room-5", IsGlobal = true }); }