Table of Contents

Method GetEmblemForegroundsByIds

Namespace
GuildWars2.Guilds
Assembly
GW2SDK.dll

GetEmblemForegroundsByIds(IEnumerable<int>, MissingMemberBehavior, CancellationToken)

Retrieves emblem foregrounds by their IDs.

public Task<(HashSet<EmblemForeground> Value, MessageContext Context)> GetEmblemForegroundsByIds(IEnumerable<int> emblemForegroundIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

emblemForegroundIds IEnumerable<int>

The emblem foreground IDs.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.