Table of Contents

Struct CasinoCardSnapshot

Namespace
S1API.Casino
Assembly
S1API.dll

Immutable public representation of a casino playing card.

public readonly struct CasinoCardSnapshot
Inherited Members
Extension Methods

Constructors

CasinoCardSnapshot(string, CasinoCardSuit, CasinoCardValue, bool)

Creates an immutable card snapshot.

public CasinoCardSnapshot(string id, CasinoCardSuit suit, CasinoCardValue value, bool isFaceUp)

Parameters

id string

The scene-local native card identifier.

suit CasinoCardSuit

The card suit.

value CasinoCardValue

The card value.

isFaceUp bool

Whether the card is face up for the current client.

Properties

Id

Gets the scene-local native card identifier.

public string Id { get; }

Property Value

string

IsFaceUp

Gets whether the card is face up for the current client.

public bool IsFaceUp { get; }

Property Value

bool

Suit

Gets the card suit.

public CasinoCardSuit Suit { get; }

Property Value

CasinoCardSuit

Value

Gets the card value.

public CasinoCardValue Value { get; }

Property Value

CasinoCardValue