Table of Contents

Method GetFloorsByIds

Namespace
GuildWars2.Exploration
Assembly
GW2SDK.dll

GetFloorsByIds(int, IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)

Retrieves floors by their IDs.

public Task<(HashSet<Floor> Value, MessageContext Context)> GetFloorsByIds(int continentId, IEnumerable<int> floorIds, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

continentId int

The continent ID.

floorIds IEnumerable<int>

The floor IDs.

language Language

The language to use for descriptions.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(HashSet<Floor> Value, MessageContext Context)>

A task that represents the API request.