Exemplo n.º 1
0
 public int CalculateWorldLoad()
 {
     return(GameServers.Sum(x => x.Value.Connections) + ShopServers.Sum(x => x.Value.Connections));
 }
Exemplo n.º 2
0
 public IEnumerable <LocalServer> GetOnlineShopServers() => ShopServers.Select(x => x.Value).Where(x => x.Connected);