Table of Contents

Method GetTraitsIndex

Namespace
GuildWars2.Hero.Builds
Assembly
GW2SDK.dll

GetTraitsIndex(CancellationToken)

Retrieves the IDs of all traits.

public Task<(HashSet<int> Value, MessageContext Context)> GetTraitsIndex(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(HashSet<int> Value, MessageContext Context)>

A task that represents the API request.