Method GetLegendaryItems
- Namespace
- GuildWars2.Hero.Equipment.Templates
- Assembly
- GW2SDK.dll
GetLegendaryItems(MissingMemberBehavior, CancellationToken)
Retrieves all legendary items.
public Task<(HashSet<LegendaryItem> Value, MessageContext Context)> GetLegendaryItems(MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(HashSet<LegendaryItem> Value, MessageContext Context)>
A task that represents the API request.