Table of Contents

Class SlotMachine

Namespace
S1API.Casino
Assembly
S1API.dll

Read-only managed view of a native slot machine.

public sealed class SlotMachine
Inheritance
SlotMachine
Inherited Members
Extension Methods

Properties

AvailableBets

Gets the immutable native bet choices.

public IReadOnlyList<int> AvailableBets { get; }

Property Value

IReadOnlyList<int>

CurrentBet

Gets the machine's currently selected bet.

public int CurrentBet { get; }

Property Value

int

IsSpinning

Gets whether the reels are currently spinning.

public bool IsSpinning { get; }

Property Value

bool

Name

Gets the scene object name.

public string Name { get; }

Property Value

string

Position

Gets the current world position.

public Vector3 Position { get; }

Property Value

Vector3

Events

SpinCompleted

Raised when a synchronized spin displays its outcome.

public event Action<SlotSpinSnapshot>? SpinCompleted

Event Type

Action<SlotSpinSnapshot>

SpinStarted

Raised when a synchronized spin begins.

public event Action<SlotSpinSnapshot>? SpinStarted

Event Type

Action<SlotSpinSnapshot>