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

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

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

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