Method GetStoredBuild
- Namespace
- GuildWars2.Hero.Builds
- Assembly
- GuildWars2.dll
GetStoredBuild(int, string?, MissingMemberBehavior, CancellationToken)
Retrieves the build in the specified storage number on the account. This endpoint is only accessible with a valid access token.
public Task<(Build Value, MessageContext Context)> GetStoredBuild(int storageNumber, string? accessToken, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
storageNumberintThe number of the storage space to fetch.
accessTokenstringAn API key or subtoken.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(Build Value, MessageContext Context)>
A task that represents the API request.