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