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
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.