Table of Contents

Method GetCatsByIds

Namespace
GuildWars2.Pve.Home
Assembly
GW2SDK.dll

GetCatsByIds(IEnumerable<int>, MissingMemberBehavior, CancellationToken)

Retrieves home cats by their IDs.

public Task<(HashSet<Cat> Value, MessageContext Context)> GetCatsByIds(IEnumerable<int> catIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

catIds IEnumerable<int>

The cat IDs.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.