Method GetActiveEquipmentTemplate
- Namespace
- GuildWars2.Hero.Equipment.Templates
- Assembly
- GuildWars2.dll
GetActiveEquipmentTemplate(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves the currently active equipment tab of a character on the account. This endpoint is only accessible with a valid access token.
public Task<(EquipmentTemplate Value, MessageContext Context)> GetActiveEquipmentTemplate(string characterName, string? accessToken, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
characterNamestringA character name that belongs to the account associated with the access token.
accessTokenstringAn API key or subtoken.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(EquipmentTemplate Value, MessageContext Context)>
A task that represents the API request.
Remarks
Expect there to be a delay after switching tabs in the game before this is reflected in the API.