Table of Contents

Method GetMaps

Namespace
GuildWars2.Exploration
Assembly
GW2SDK.dll

GetMaps(int, int, int, Language?, MissingMemberBehavior, CancellationToken)

Retrieves all maps in a region.

public Task<(HashSet<Map> Value, MessageContext Context)> GetMaps(int continentId, int floorId, int regionId, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

continentId int

The continent ID.

floorId int

The floor ID.

regionId int

The region ID.

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<Map> Value, MessageContext Context)>

A task that represents the API request.