Table of Contents

Method GetMapsIndex

Namespace
GuildWars2.Exploration
Assembly
GW2SDK.dll

GetMapsIndex(int, int, int, CancellationToken)

Retrieves the IDs of all maps in a region.

public Task<(HashSet<int> Value, MessageContext Context)> GetMapsIndex(int continentId, int floorId, int regionId, CancellationToken cancellationToken = default)

Parameters

continentId int

The continent ID.

floorId int

The floor ID.

regionId int

The region ID.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.

GetMapsIndex(CancellationToken)

Retrieves the IDs of all maps.

public Task<(HashSet<int> Value, MessageContext Context)> GetMapsIndex(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.