Method GetEquipmentTemplateNumbers
- Namespace
- GuildWars2.Hero.Equipment.Templates
- Assembly
- GuildWars2.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<(IImmutableValueList<int> Value, MessageContext Context)> GetEquipmentTemplateNumbers(string characterName, string? accessToken, CancellationToken cancellationToken = default)
Parameters
characterNamestringA character name that belongs to the account associated with the access token.
accessTokenstringAn API key or subtoken.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(IImmutableValueList<int> Value, MessageContext Context)>
A task that represents the API request.