Table of Contents

Method GetNodesByIds

Namespace
GuildWars2.Pve.Home
Assembly
GW2SDK.dll

GetNodesByIds(IEnumerable<string>, MissingMemberBehavior, CancellationToken)

Retrieves home gathering nodes by their IDs.

public Task<(HashSet<Node> Value, MessageContext Context)> GetNodesByIds(IEnumerable<string> nodeIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

nodeIds IEnumerable<string>

The node IDs.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.