Method GetNodeById
- Namespace
- GuildWars2.Pve.Home
- Assembly
- GW2SDK.dll
GetNodeById(string, MissingMemberBehavior, CancellationToken)
Retrieves a home gathering node by its ID.
public Task<(Node Value, MessageContext Context)> GetNodeById(string nodeId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
nodeId
stringThe node ID.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(Node Value, MessageContext Context)>
A task that represents the API request.