5.9 KiB
5.9 KiB
sidebar_position
sidebar_position |
---|
1 |
Present Win Controller
Index
Methods
- _registerEvent Register events.
- _start Initialize some logic which need to be called the game enters the Present Win State.
- reset Reset the current win presentation data.
- getAllWinsData Get the all wins data.
- presentWin Start the current win presentation.
- transitionToNextState Check the condition and move to the next state.
- presentPoint Start the current win point presentation.
- getSequencePresentWin Process the current win data and return a sequence of present wins.
- startSequencePresentWin Start the sequence of present wins.
- calculateDurationPresentAllWins Calculate the duration of present wins.
- onPresentSpecialWinTriggered Start the special win.
- onPresentSpecialWinCompleted Stop the special win.
- onPresentWinPointCompleted Stop the current win point presentation.
- onPresentWinTurboCompleted Notify the client balance.
- allowLoopPresentation Indicates whether the sequence of present wins.
Details
_registerevent
Register events.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:32 |
_start
Initialize some logic which need to be called the game enters the Bet State.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:41 |
reset
Reset the current win presentation data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:53 |
getAllWinsData
Get the all wins data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:64 |
presentWin
Start the current win presentation.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:82 |
transitionToNextState
Check the condition and move to the next state.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:91 |
presentPoint
Start the current win point presentation.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:125 |
getSequencePresentWin
Process the current win data and return a sequence of present wins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:137 |
startSequencePresentWin
Start the sequence of present wins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:168 |
calculateDurationPresentAllWins
Calculate the duration of present wins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:216 |
onPresentSpecialWinTriggered
Start the special win.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:228 |
onPresentSpecialWinTriggered
Stop the special win.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:237 |
onPresentWinPointCompleted
Stop the current win point presentation.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:245 |
onPresentWinTurboCompleted
Stop the current win presentation if turbo mode is active.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:254 |
onPresentWinPointCompleted
Indicates whether the sequence of present wins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/present-win-controller.js:264 |