Method GetColorsByIds
- Namespace
- GuildWars2.Hero.Equipment.Dyes
- Assembly
- GW2SDK.dll
GetColorsByIds(IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves dye colors by their IDs.
public Task<(HashSet<DyeColor> Value, MessageContext Context)> GetColorsByIds(IEnumerable<int> colorIds, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
colorIds
IEnumerable<int>The dye color IDs.
language
LanguageThe language to use for descriptions.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.