Table of Contents

Method GetStoredBuild

Namespace
GuildWars2.Hero.Builds
Assembly
GW2SDK.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

storageNumber int

The number of the storage space to fetch.

accessToken string

An API key or subtoken.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(Build Value, MessageContext Context)>

A task that represents the API request.