class
SlotMachineController
- 11 properties
- 6 functions
Extends ink.WidgetLogicController ink.IWidgetLogicController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
barrelAnimationID | CName | 0x0 | scripted |
winAnimationsID | CName[] | 0x8 | scripted |
looseAnimationID | CName | 0x18 | scripted |
slotWidgets | ink.WidgetReference[] | 0x20 | scripted |
imagePresets | CName[] | 0x30 | scripted |
winChance | int | 0x40 | scripted |
maxWinChance | int | 0x44 | scripted |
slots | WeakHandle<SlotMachineSlot>[] | 0x48 | scripted |
barellAnimation | ink.anim.Proxy? | 0x58 | scripted |
outcomeAnimation | ink.anim.Proxy? | 0x68 | scripted |
shouldWinNextTime | bool | 0x78 | scripted |
Functions
bool OnInitialize()RTTIre.Hooks.Place( "SlotMachineController", "OnInitialize", (SlotMachineController_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct SlotMachineController_OnInitialize( SlotMachineController self );void SetupBarellSlots()RTTIre.Hooks.PlaceVoid( "SlotMachineController", "SetupBarellSlots;", (SlotMachineController_SetupBarellSlots x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SlotMachineController_SetupBarellSlots( SlotMachineController self );void PerformBarellCycle()RTTIre.Hooks.PlaceVoid( "SlotMachineController", "PerformBarellCycle;", (SlotMachineController_PerformBarellCycle x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SlotMachineController_PerformBarellCycle( SlotMachineController self );void RandomizeBarell()RTTIre.Hooks.PlaceVoid( "SlotMachineController", "RandomizeBarell;", (SlotMachineController_RandomizeBarell x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SlotMachineController_RandomizeBarell( SlotMachineController self );bool OnBarellAnimationFinished(ink.anim.Proxy anim)RTTIre.Hooks.Place( "SlotMachineController", "OnBarellAnimationFinished", (SlotMachineController_OnBarellAnimationFinished x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct SlotMachineController_OnBarellAnimationFinished( SlotMachineController self, ink.anim.Proxy? anim );bool OnOutcomeAnimationFinished(ink.anim.Proxy anim)RTTIre.Hooks.Place( "SlotMachineController", "OnOutcomeAnimationFinished", (SlotMachineController_OnOutcomeAnimationFinished x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct SlotMachineController_OnOutcomeAnimationFinished( SlotMachineController self, ink.anim.Proxy? anim );