Struct CasinoCardSnapshot
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
idstringThe scene-local native card identifier.
suitCasinoCardSuitThe card suit.
valueCasinoCardValueThe card value.
isFaceUpboolWhether the card is face up for the current client.
Properties
Id
Gets the scene-local native card identifier.
public string Id { get; }
Property Value
IsFaceUp
Gets whether the card is face up for the current client.
public bool IsFaceUp { get; }
Property Value
Suit
Gets the card suit.
public CasinoCardSuit Suit { get; }
Property Value
Value
Gets the card value.
public CasinoCardValue Value { get; }