Beispiel #1
0
        public async Task StartListening(ServerCore serverCore)
        {
            _running = true;

            while (_running)
            {
                serverCore.Receive();
                await Task.Delay(1000 / _config.TickRate);
            }
        }