9.7 KiB
sidebar_position
sidebar_position |
---|
1 |
Freerounds Controller
Index
Properties
Methods
- _start Initializes freerounds session and presents appropriate dialogs based on state.
- _complete Clears timers and unregisters auto-spin deactivation events.
- _registerEvent Registers relevant network and game events.
- presentDialog Displays appropriate freerounds dialog based on configuration.
- onFreeroundsDataReceived Handles incoming freerounds data and updates model.
- onFreeroundsTotalWinPointReceived Updates model with total win points.
- onSelectFreeroundsDataReceived Processes selected freerounds data.
- onFreeroundsReadyToPlay Continues the game when ready.
- onStartFreeroundsClicked Handles player clicking to start freerounds.
- onSkipFreeroundsClicked Skips the current freerounds selection screen.
- onHideFreeroundsWinClicked Finalizes win screen and resets related states.
- onAutoSpinActivated Triggers spin automatically if conditions met.
- onSpinClicked Triggers spin on user interaction.
- onAutoSpinDeactivated Stops any auto-spin delay timers.
- selectFreeroundsCompleted Finalizes selection and initializes freerounds session.
- continue Determines game flow after selection or spin completion.
- spin Executes one spin of the freeround feature.
Details
Properties
Methods
_start
Initializes freerounds session and presents appropriate dialogs based on state
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L22 |
_complete
Clears timers and unregisters auto-spin deactivation events.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L40 |
_registerEvent
Registers relevant network and game events.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L47 |
presentDialog
Displays appropriate freerounds dialog based on configuration.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L59 |
Parameters
onFreeroundsDataReceived
Handles incoming freerounds data and updates model.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L83 |
Parameters
onFreeroundsTotalWinPointReceived
Updates model with total win points.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L98 |
Parameters
totalWinPoint
Number
onSelectFreeroundsDataReceived
Processes selected freerounds data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L106 |
Parameters
data
Object
onFreeroundsReadyToPlay
Continues the game when ready.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L114 |
Parameters
data
Object
onStartFreeroundsClicked
Handles player clicking to start freerounds.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L122 |
Parameters
optionIndex
Number
onSkipFreeroundsClicked
Skips the current freerounds selection screen.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L136 |
onHideFreeroundsWinClicked
Finalizes win screen and resets related states.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L145 |
onAutoSpinActivated
Triggers spin automatically if conditions met.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L164 |
onSpinClicked
Triggers spin on user interaction.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L172 |
onAutoSpinDeactivated
Stops any auto-spin delay timers.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L180 |
selectFreeroundsCompleted
Finalizes selection and initializes freerounds session.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L191 |
Parameters
continue
Determines game flow after selection or spin completion.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L214 |
spin
Executes one spin of the freeround feature.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/freerounds-controller.js#L227 |