Table of Contents

Method GetMapChestsByIds

Namespace
GuildWars2.Pve.MapChests
Assembly
GW2SDK.dll

GetMapChestsByIds(IEnumerable<string>, MissingMemberBehavior, CancellationToken)

Retrieves map chests by their IDs.

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

Parameters

mapChestIds IEnumerable<string>

The map chest IDs.

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.