C# 클래스 GW2PAO.API.Services.WvWService

상속: IWvWService
파일 보기 프로젝트 열기: SamHurne/gw2pao

공개 메소드들

메소드 설명
GetAllObjectives ( string matchId ) : IEnumerable

Retrieves a list of the objectives in the given match for all maps

GetMapObjectives ( string matchId, WvWMap map ) : IEnumerable

Retrieves a list of the objectives in the given match and map

GetMatchIDs ( ) : string>.Dictionary

Retrieves a full list of all match IDs for all servers

GetMatchId ( int worldId ) : string

Find and returns the Match ID for the given world

GetTeamColor ( int worldId ) : WorldColor

Retrieves the TeamColor of the given World

GetTeamColors ( ) : WorldColor>.Dictionary

Retrieves a full list of all team colors for all servers

GetWorldScore ( int worldId ) : int

Retrieves the current WvW score for the given world

GetWorldScore ( string matchId, int worldId ) : int

Retrieves the current WvW score for the given world

LoadData ( ) : void

Loads the WvW objects and initializes all cached information

WvWService ( ) : System

Default constructor

WvWService ( WvWObjectiveNameEnum>.IStringProvider objectiveNamesProvider ) : System

Alternate constructor

비공개 메소드들

메소드 설명
GetCurrentMatchup ( int worldId ) : Matchup

Retrieves either the cached matchup details, or requests new matchup details

메소드 상세

GetAllObjectives() 공개 메소드

Retrieves a list of the objectives in the given match for all maps
public GetAllObjectives ( string matchId ) : IEnumerable
matchId string The match's ID
리턴 IEnumerable

GetMapObjectives() 공개 메소드

Retrieves a list of the objectives in the given match and map
public GetMapObjectives ( string matchId, WvWMap map ) : IEnumerable
matchId string The match's ID
map WvWMap
리턴 IEnumerable

GetMatchIDs() 공개 메소드

Retrieves a full list of all match IDs for all servers
public GetMatchIDs ( ) : string>.Dictionary
리턴 string>.Dictionary

GetMatchId() 공개 메소드

Find and returns the Match ID for the given world
public GetMatchId ( int worldId ) : string
worldId int The ID for the world
리턴 string

GetTeamColor() 공개 메소드

Retrieves the TeamColor of the given World
public GetTeamColor ( int worldId ) : WorldColor
worldId int The ID for the world
리턴 WorldColor

GetTeamColors() 공개 메소드

Retrieves a full list of all team colors for all servers
public GetTeamColors ( ) : WorldColor>.Dictionary
리턴 WorldColor>.Dictionary

GetWorldScore() 공개 메소드

Retrieves the current WvW score for the given world
public GetWorldScore ( int worldId ) : int
worldId int The ID for the world
리턴 int

GetWorldScore() 공개 메소드

Retrieves the current WvW score for the given world
public GetWorldScore ( string matchId, int worldId ) : int
matchId string The match ID for the world
worldId int The ID for the world
리턴 int

LoadData() 공개 메소드

Loads the WvW objects and initializes all cached information
public LoadData ( ) : void
리턴 void

WvWService() 공개 메소드

Default constructor
public WvWService ( ) : System
리턴 System

WvWService() 공개 메소드

Alternate constructor
public WvWService ( WvWObjectiveNameEnum>.IStringProvider objectiveNamesProvider ) : System
objectiveNamesProvider WvWObjectiveNameEnum>.IStringProvider The StringProvider that supplies localized objective names. If null, a default implementation is used
리턴 System