Table of Contents

Method GetContinentsByIds

Namespace
GuildWars2.Exploration
Assembly
GW2SDK.dll

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

Retrieves continents by their IDs.

public Task<(HashSet<Continent> Value, MessageContext Context)> GetContinentsByIds(IEnumerable<int> continentIds, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

continentIds IEnumerable<int>

The continent 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<Continent> Value, MessageContext Context)>

A task that represents the API request.