Table of Contents

Method GetPetsIndex

Namespace
GuildWars2.Pve.Pets
Assembly
GW2SDK.dll

GetPetsIndex(CancellationToken)

Retrieves the IDs of all pets.

public Task<(HashSet<int> Value, MessageContext Context)> GetPetsIndex(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.