Table of Contents

Method GetDefeatedWorldBosses

Namespace
GuildWars2.Pve.WorldBosses
Assembly
GW2SDK.dll

GetDefeatedWorldBosses(string?, CancellationToken)

Retrieves the IDs of all world bosses that have been defeated since the last server reset on the account associated with the access token. This endpoint is only accessible with a valid access token.

public Task<(HashSet<string> Value, MessageContext Context)> GetDefeatedWorldBosses(string? accessToken, CancellationToken cancellationToken = default)

Parameters

accessToken string

An API key or subtoken.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.