Table of Contents

Method GetPointsOfInterestByIds

Namespace
GuildWars2.Exploration
Assembly
GW2SDK.dll

GetPointsOfInterestByIds(int, int, int, int, IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)

Retrieves points of interest by their IDs.

public Task<(HashSet<PointOfInterest> Value, MessageContext Context)> GetPointsOfInterestByIds(int continentId, int floorId, int regionId, int mapId, IEnumerable<int> pointOfInterestIds, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

continentId int

The continent ID.

floorId int

The floor ID.

regionId int

The region ID.

mapId int

The map ID.

pointOfInterestIds IEnumerable<int>

The point of interest IDs.

language Language

The language to use for descriptions.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(HashSet<PointOfInterest> Value, MessageContext Context)>

A task that represents the API request.