Class BlackjackGame
Read-only managed view of a native blackjack table.
public sealed class BlackjackGame : CasinoGameTable
- Inheritance
-
BlackjackGame
- Inherited Members
- Extension Methods
Properties
DealerHand
Gets an immutable snapshot of the dealer's current hand.
public IReadOnlyList<CasinoCardSnapshot> DealerHand { get; }
Property Value
DealerScore
Gets the current dealer score visible to this peer.
public int DealerScore { get; }
Property Value
IsLocalPlayerBlackjack
Gets whether the local player has a natural blackjack.
public bool IsLocalPlayerBlackjack { get; }
Property Value
IsLocalPlayerBust
Gets whether the local player is bust.
public bool IsLocalPlayerBust { get; }
Property Value
IsLocalPlayerInRound
Gets whether the local player belongs to the active round.
public bool IsLocalPlayerInRound { get; }
Property Value
LocalPlayerScore
Gets the current local-player score.
public int LocalPlayerScore { get; }
Property Value
ReadyPlayerCount
Gets the number of seated players currently marked ready.
public int ReadyPlayerCount { get; }
Property Value
Stage
Gets the current round stage.
public BlackjackStage Stage { get; }
Property Value
Methods
GetPlayerHand(int)
Gets an immutable snapshot of a seated player's current hand.
public IReadOnlyList<CasinoCardSnapshot> GetPlayerHand(int seatIndex)
Parameters
seatIndexintThe zero-based seat index.
Returns
Events
RoundEnded
Raised when the table returns to its waiting stage.
public event Action? RoundEnded
Event Type
RoundStarted
Raised when the table enters the dealing stage.
public event Action? RoundStarted
Event Type
StageChanged
Raised after the native blackjack stage changes.
public event Action<BlackjackStage, BlackjackStage>? StageChanged