Method GetPointsOfInterest
- Namespace
- GuildWars2.Exploration
- Assembly
- GuildWars2.dll
GetPointsOfInterest(int, int, int, int, Language?, MissingMemberBehavior, CancellationToken)
Retrieves all points of interests on a map.
public Task<(HashSet<PointOfInterest> Value, MessageContext Context)> GetPointsOfInterest(int continentId, int floorId, int regionId, int mapId, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
continentIdintThe continent ID.
floorIdintThe floor ID.
regionIdintThe region ID.
mapIdintThe map ID.
languageLanguageThe language to use for descriptions.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(HashSet<PointOfInterest> Value, MessageContext Context)>
A task that represents the API request.