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

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

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

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

Приватные методы

Метод Описание
GetFloor ( int continentId, int floorId ) : GW2NET.Maps.Floor

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

Описание методов

GetContinent() публичный Метод

Retrieves the continent information for the given continent ID
public GetContinent ( int continentId ) : Data.Entities.Continent
continentId int
Результат Data.Entities.Continent

GetContinentByMap() публичный Метод

Retrieves the continent information for the given map ID
public GetContinentByMap ( int mapId ) : Data.Entities.Continent
mapId int The ID of a zone
Результат Data.Entities.Continent

GetContinents() публичный Метод

Retrieves continent information for all continents
public GetContinents ( ) : IEnumerable
Результат IEnumerable

GetMap() публичный Метод

Retrieves the map information for the given map ID
public GetMap ( int mapId ) : Data.Entities.Map
mapId int The ID of a zone
Результат Data.Entities.Map

GetMap() публичный Метод

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
Результат Data.Entities.Map

GetZoneItems() публичный Метод

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
Результат IEnumerable

GetZoneItemsByContinent() публичный Метод

Retrieves a collection of zone items located in the given continent
public GetZoneItemsByContinent ( int continentId ) : IEnumerable
continentId int ID of the continent
Результат IEnumerable

GetZoneName() публичный Метод

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
Результат string

Initialize() публичный Метод

Initializes the zone service
public Initialize ( ) : void
Результат void

ZoneService() публичный Метод

Static constructor, initializes the MapNames static property
public ZoneService ( ) : System
Результат System