Esempio n. 1
0
        public MatchmakerServer(ushort port) : base(port)
        {
            Database      = new JSONDatabase();
            Region.Server = this;

            PingThread = new Thread(PingLoop);
            PingThread.Start();

            Region.AddRoom(new Room()
            {
                Name = "USEAST", IsGlobal = true
            });
        }