Skip to content

SHTCGClient.Models.Seasons.Deck.Add

github-actions[bot] edited this page Mar 9, 2026 · 2 revisions

Deck.Add Method

Overloads
Add(ClientService, int) Adds a card to the deck
Add(ClientService, Card) Adds a card to the deck

Deck.Add(ClientService, int) Method

Adds a card to the deck

public System.Threading.Tasks.Task Add(SHTCGClient.ClientService client, int cardId);

Parameters

client ClientService

Your client

cardId System.Int32

ID of the card to add

Returns

System.Threading.Tasks.Task

Deck.Add(ClientService, Card) Method

Adds a card to the deck

public System.Threading.Tasks.Task Add(SHTCGClient.ClientService client, SHTCGClient.Models.Cards.Card card);

Parameters

client ClientService

Your client

card Card

Card to add

Returns

System.Threading.Tasks.Task

Clone this wiki locally