change to list interface
This commit is contained in:
@@ -32,7 +32,7 @@ namespace XIVSync.Net
|
|||||||
return response.StatusCode != HttpStatusCode.OK ? null : JsonConvert.DeserializeObject<LodestoneCharacter>(response.Content);
|
return response.StatusCode != HttpStatusCode.OK ? null : JsonConvert.DeserializeObject<LodestoneCharacter>(response.Content);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Server> GetServers(double timeoutSeconds = 90)
|
public IList<Server> GetServers(double timeoutSeconds = 90)
|
||||||
{
|
{
|
||||||
var dom = CQ.CreateFromUrl("http://na.finalfantasyxiv.com/lodestone/worldstatus/", new ServerConfig() {TimeoutSeconds = timeoutSeconds});
|
var dom = CQ.CreateFromUrl("http://na.finalfantasyxiv.com/lodestone/worldstatus/", new ServerConfig() {TimeoutSeconds = timeoutSeconds});
|
||||||
var servers = new List<Server>();
|
var servers = new List<Server>();
|
||||||
|
|||||||
Reference in New Issue
Block a user