Class CasinoGameRegistry
Discovers native casino games and publishes their synchronized lifecycle transitions.
public static class CasinoGameRegistry
- Inheritance
-
CasinoGameRegistry
- Inherited Members
Remarks
This first-version API is intentionally read-only. It does not expose native RPCs, payout replacement, game authoring, or methods that mutate bets and round state.
Methods
FindNearestSlotMachine(Vector3, float)
Finds the active slot machine nearest to a world position.
public static SlotMachine? FindNearestSlotMachine(Vector3 position, float maxDistance)
Parameters
positionVector3The world position to search from.
maxDistancefloatThe maximum search distance.
Returns
- SlotMachine
The nearest managed slot-machine wrapper, or null when none is in range.
GetBlackjackGames()
Gets a read-only snapshot of all active blackjack tables.
public static IReadOnlyList<BlackjackGame> GetBlackjackGames()
Returns
GetRideTheBusGames()
Gets a read-only snapshot of all active Ride the Bus tables.
public static IReadOnlyList<RideTheBusGame> GetRideTheBusGames()
Returns
GetSlotMachines()
Gets a read-only snapshot of all active native slot machines.
public static IReadOnlyList<SlotMachine> GetSlotMachines()
Returns
GetTables()
Gets a read-only snapshot of all active blackjack and Ride the Bus tables.
public static IReadOnlyList<CasinoGameTable> GetTables()
Returns
Events
BlackjackRoundEnded
Raised when a blackjack table returns to the waiting stage.
public static event Action<BlackjackGame>? BlackjackRoundEnded
Event Type
BlackjackRoundStarted
Raised when a blackjack table enters the dealing stage.
public static event Action<BlackjackGame>? BlackjackRoundStarted
Event Type
BlackjackStageChanged
Raised after a blackjack table changes stage.
public static event Action<BlackjackGame, BlackjackStage, BlackjackStage>? BlackjackStageChanged
Event Type
RideTheBusRoundEnded
Raised when a Ride the Bus table returns to the waiting stage.
public static event Action<RideTheBusGame>? RideTheBusRoundEnded
Event Type
RideTheBusRoundStarted
Raised when a Ride the Bus table begins its first question.
public static event Action<RideTheBusGame>? RideTheBusRoundStarted
Event Type
RideTheBusStageChanged
Raised after the Ride the Bus table changes stage.
public static event Action<RideTheBusGame, RideTheBusStage, RideTheBusStage>? RideTheBusStageChanged
Event Type
SlotSpinCompleted
Raised when a slot machine displays a synchronized spin outcome.
public static event Action<SlotMachine, SlotSpinSnapshot>? SlotSpinCompleted
Event Type
SlotSpinStarted
Raised when a slot machine begins a synchronized spin.
public static event Action<SlotMachine, SlotSpinSnapshot>? SlotSpinStarted