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
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.