Table of Contents

Method GetOutfitById

Namespace
GuildWars2.Hero.Equipment.Outfits
Assembly
GW2SDK.dll

GetOutfitById(int, Language?, MissingMemberBehavior, CancellationToken)

Retrieves an outfit by its ID.

public Task<(Outfit Value, MessageContext Context)> GetOutfitById(int outfitId, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

outfitId int

The outfit ID.

language Language

The language to use for descriptions.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(Outfit Value, MessageContext Context)>

A task that represents the API request.