Method GetDungeonsByIds
- Namespace
- GuildWars2.Pve.Dungeons
- Assembly
- GW2SDK.dll
GetDungeonsByIds(IEnumerable<string>, MissingMemberBehavior, CancellationToken)
Retrieves dungeons by their IDs.
public Task<(HashSet<Dungeon> Value, MessageContext Context)> GetDungeonsByIds(IEnumerable<string> dungeonIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
dungeonIds
IEnumerable<string>The dungeon IDs.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.