Ejemplo n.º 1
0
        public string GetServerName(int gameID, int serverID)
        {
            CacheServer cacheServer = new CacheServer();
            var         info        = cacheServer.GetServers(gameID, serverID);

            return(info == null ? "" : info.ServerName);
        }
Ejemplo n.º 2
0
 public string GetServerName(int gameID, int serverID)
 {
     CacheServer cacheServer = new CacheServer();
     var info = cacheServer.GetServers(gameID, serverID);
     return info == null ? "" : info.ServerName;
 }
Ejemplo n.º 3
0
 public ServerInfo[] GetServers(int gameID, bool isSort, bool isEnable)
 {
     CacheServer cacheServer = new CacheServer();
     return cacheServer.GetServers(gameID, isSort, isEnable).ToArray();
 }
Ejemplo n.º 4
0
 public ServerInfo GetServerObj(int gameID, int serverId)
 {
     CacheServer cacheServer = new CacheServer();
     return cacheServer.GetServers(gameID, serverId);
 }
Ejemplo n.º 5
0
        public ServerInfo[] GetServers(int gameID, bool isSort, bool isEnable)
        {
            CacheServer cacheServer = new CacheServer();

            return(cacheServer.GetServers(gameID, isSort, isEnable).ToArray());
        }
Ejemplo n.º 6
0
        public ServerInfo GetServerObj(int gameID, int serverId)
        {
            CacheServer cacheServer = new CacheServer();

            return(cacheServer.GetServers(gameID, serverId));
        }