Table of Contents

Class RideTheBusGame

Namespace
S1API.Casino
Assembly
S1API.dll

Read-only managed view of the native Ride the Bus table.

public sealed class RideTheBusGame : CasinoGameTable
Inheritance
RideTheBusGame
Inherited Members
Extension Methods

Properties

AnsweredPlayerCount

Gets the number of active-round players who submitted an answer.

public int AnsweredPlayerCount { get; }

Property Value

int

Cards

Gets immutable snapshots of cards currently assigned by the table.

public IReadOnlyList<CasinoCardSnapshot> Cards { get; }

Property Value

IReadOnlyList<CasinoCardSnapshot>

IsLocalPlayerInRound

Gets whether the local player belongs to the active round.

public bool IsLocalPlayerInRound { get; }

Property Value

bool

IsQuestionActive

Gets whether a question is currently accepting answers.

public bool IsQuestionActive { get; }

Property Value

bool

LocalBetMultiplier

Gets the local player's current bet multiplier.

public float LocalBetMultiplier { get; }

Property Value

float

MultipliedLocalBet

Gets the local player's multiplied bet.

public float MultipliedLocalBet { get; }

Property Value

float

ReadyPlayerCount

Gets the number of seated players currently marked ready.

public int ReadyPlayerCount { get; }

Property Value

int

RemainingAnswerTime

Gets the answer time remaining on the current peer.

public float RemainingAnswerTime { get; }

Property Value

float

Stage

Gets the current round stage.

public RideTheBusStage Stage { get; }

Property Value

RideTheBusStage

Events

RoundEnded

Raised when the table returns to its waiting stage.

public event Action? RoundEnded

Event Type

Action

RoundStarted

Raised when a new Ride the Bus round begins.

public event Action? RoundStarted

Event Type

Action

StageChanged

Raised after the native Ride the Bus stage changes.

public event Action<RideTheBusStage, RideTheBusStage>? StageChanged

Event Type

Action<RideTheBusStage, RideTheBusStage>