Method GetColors
- Namespace
- GuildWars2.Hero.Equipment.Dyes
- Assembly
- GuildWars2.dll
GetColors(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all dye colors.
public Task<(IImmutableValueSet<DyeColor> Value, MessageContext Context)> GetColors(Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
languageLanguageThe language to use for descriptions.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(IImmutableValueSet<DyeColor> Value, MessageContext Context)>
A task that represents the API request.