Method GetDungeonsByIds
- Namespace
- GuildWars2.Pve.Dungeons
- Assembly
- GuildWars2.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
dungeonIdsIEnumerable<string>The dungeon IDs.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.