C# Class GW2PAO.API.Services.ZoneService

Inheritance: IZoneService
Afficher le fichier Open project: SamHurne/gw2pao

Méthodes publiques

Méthode Description
GetContinent ( int continentId ) : Data.Entities.Continent

Retrieves the continent information for the given continent ID

GetContinentByMap ( int mapId ) : Data.Entities.Continent

Retrieves the continent information for the given map ID

GetContinents ( ) : IEnumerable

Retrieves continent information for all continents

GetMap ( int mapId ) : Data.Entities.Map

Retrieves the map information for the given map ID

GetMap ( int continentId, Point continentCoordinates ) : Data.Entities.Map

Retrieves map information using the provided continent coordinates, or null if the coordinates do not fall into any current zone

GetZoneItems ( int mapId ) : IEnumerable

Retrieves a collection of ZoneItems located in the zone with the given mapID

GetZoneItemsByContinent ( int continentId ) : IEnumerable

Retrieves a collection of zone items located in the given continent

GetZoneName ( int mapId ) : string

Retrieves the name of the zone using the given mapID

Initialize ( ) : void

Initializes the zone service

ZoneService ( ) : System

Static constructor, initializes the MapNames static property

Private Methods

Méthode Description
GetFloor ( int continentId, int floorId ) : GW2NET.Maps.Floor

Retrieves the floor data for the given floor ID, using the internal cache when possible

Method Details

GetContinent() public méthode

Retrieves the continent information for the given continent ID
public GetContinent ( int continentId ) : Data.Entities.Continent
continentId int
Résultat Data.Entities.Continent

GetContinentByMap() public méthode

Retrieves the continent information for the given map ID
public GetContinentByMap ( int mapId ) : Data.Entities.Continent
mapId int The ID of a zone
Résultat Data.Entities.Continent

GetContinents() public méthode

Retrieves continent information for all continents
public GetContinents ( ) : IEnumerable
Résultat IEnumerable

GetMap() public méthode

Retrieves the map information for the given map ID
public GetMap ( int mapId ) : Data.Entities.Map
mapId int The ID of a zone
Résultat Data.Entities.Map

GetMap() public méthode

Retrieves map information using the provided continent coordinates, or null if the coordinates do not fall into any current zone
public GetMap ( int continentId, Point continentCoordinates ) : Data.Entities.Map
continentId int ID of the continent that the coordinates are for
continentCoordinates Point Continent coordinates to use
Résultat Data.Entities.Map

GetZoneItems() public méthode

Retrieves a collection of ZoneItems located in the zone with the given mapID
public GetZoneItems ( int mapId ) : IEnumerable
mapId int The mapID of the zone to retrieve zone items for
Résultat IEnumerable

GetZoneItemsByContinent() public méthode

Retrieves a collection of zone items located in the given continent
public GetZoneItemsByContinent ( int continentId ) : IEnumerable
continentId int ID of the continent
Résultat IEnumerable

GetZoneName() public méthode

Retrieves the name of the zone using the given mapID
public GetZoneName ( int mapId ) : string
mapId int The mapID of the zone to retrieve the name for
Résultat string

Initialize() public méthode

Initializes the zone service
public Initialize ( ) : void
Résultat void

ZoneService() public méthode

Static constructor, initializes the MapNames static property
public ZoneService ( ) : System
Résultat System