Table of Contents

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 MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.