Table of Contents

Method GetLegendsByIds

Namespace
GuildWars2.Hero.Builds
Assembly
GW2SDK.dll

GetLegendsByIds(IEnumerable<string>, MissingMemberBehavior, CancellationToken)

Retrieves Revenant legends by their IDs.

public Task<(HashSet<Legend> Value, MessageContext Context)> GetLegendsByIds(IEnumerable<string> legendIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

legendIds IEnumerable<string>

The legend IDs.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.