Method GetEquipmentTemplateNumbers
- Namespace
- GuildWars2.Hero.Equipment.Templates
- Assembly
- GW2SDK.dll
GetEquipmentTemplateNumbers(string, string?, CancellationToken)
Retrieves the unlocked equipment template numbers of a character on the account. Each character has 2 templates unlocked initially, which can be expanded up to 8 with Equipment Template Expansions. This endpoint is only accessible with a valid access token.
public Task<(IReadOnlyList<int> Value, MessageContext Context)> GetEquipmentTemplateNumbers(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.
Returns
- Task<(IReadOnlyList<int> Value, MessageContext Context)>
A task that represents the API request.