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

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

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

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