Table of Contents

Method GetCats

Namespace
GuildWars2.Pve.Home
Assembly
GW2SDK.dll

GetCats(MissingMemberBehavior, CancellationToken)

Retrieves all home cats.

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

Parameters

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.