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