Table of Contents

Method GetMapChests

Namespace
GuildWars2.Pve.MapChests
Assembly
GW2SDK.dll

GetMapChests(MissingMemberBehavior, CancellationToken)

Retrieves all map chests.

public Task<(HashSet<MapChest> Value, MessageContext Context)> GetMapChests(MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.