C# Класс GW2PAO.API.Services.WvWService

Наследование: IWvWService
Показать файл Открыть проект

Открытые методы

Метод Описание
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