Table of Contents

Method GetDecorationCategoryById

Namespace
GuildWars2.Pve.Home
Assembly
GW2SDK.dll

GetDecorationCategoryById(int, Language?, MissingMemberBehavior, CancellationToken)

Retrieves a homestead decoration category by its ID.

public Task<(DecorationCategory Value, MessageContext Context)> GetDecorationCategoryById(int categoryId, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

categoryId int

The category 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<(DecorationCategory Value, MessageContext Context)>

A task that represents the API request.