Method GetSectorsByIds
- Namespace
- GuildWars2.Exploration
- Assembly
- GW2SDK.dll
GetSectorsByIds(int, int, int, int, IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves sectors by their IDs.
public Task<(HashSet<Sector> Value, MessageContext Context)> GetSectorsByIds(int continentId, int floorId, int regionId, int mapId, IEnumerable<int> sectorIds, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
continentId
intThe continent ID.
floorId
intThe floor ID.
regionId
intThe region ID.
mapId
intThe map ID.
sectorIds
IEnumerable<int>The sector IDs.
language
LanguageThe language to use for descriptions.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.