Table of Contents

Method GetBuildNumbers

Namespace
GuildWars2.Hero.Builds
Assembly
GW2SDK.dll

GetBuildNumbers(string, string?, CancellationToken)

Retrieves the unlocked build template numbers of a character on the account. Each character has 3 templates unlocked initially, which can be expanded up to 8 with Build Template Expansions. This endpoint is only accessible with a valid access token.

public Task<(HashSet<int> Value, MessageContext Context)> GetBuildNumbers(string characterName, string? accessToken, CancellationToken cancellationToken = default)

Parameters

characterName string

A character name that belongs to the account associated with the access token.

accessToken string

An API key or subtoken.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.