Table of Contents

Method GetMapSummaryById

Namespace
GuildWars2.Exploration
Assembly
GW2SDK.dll

GetMapSummaryById(int, Language?, MissingMemberBehavior, CancellationToken)

Retrieves the summary of a map by its ID.

public Task<(MapSummary Value, MessageContext Context)> GetMapSummaryById(int mapId, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

mapId int

The map 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<(MapSummary Value, MessageContext Context)>

A task that represents the API request.