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
stringA character name that belongs to the account associated with the access token.
accessToken
stringAn API key or subtoken.
cancellationToken
CancellationTokenA token to cancel the request.