Table of Contents

Method GetObjectives

Namespace
GuildWars2.WizardsVault
Assembly
GW2SDK.dll

GetObjectives(Language?, MissingMemberBehavior, CancellationToken)

Retrieves all objectives.

public Task<(HashSet<Objective> Value, MessageContext Context)> GetObjectives(Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

language Language

The language to use for descriptions.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.