Method GetPointsOfInterestByPage
- Namespace
- GuildWars2.Exploration
- Assembly
- GW2SDK.dll
GetPointsOfInterestByPage(int, int, int, int, int, int?, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a page of points of interest.
public Task<(HashSet<PointOfInterest> Value, MessageContext Context)> GetPointsOfInterestByPage(int continentId, int floorId, int regionId, int mapId, int pageIndex, int? pageSize = null, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
continentId
intThe continent ID.
floorId
intThe floor ID.
regionId
intThe region ID.
mapId
intThe map ID.
pageIndex
intHow many pages to skip. The first page starts at 0.
pageSize
int?How many entries to take.
language
LanguageThe language to use for descriptions.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(HashSet<PointOfInterest> Value, MessageContext Context)>
A task that represents the API request.