15 KiB
sidebar_position
sidebar_position |
---|
1 |
Bet Controller
Index
Properties
- isHistoryActivated
Boolean
Indicates whether the game current state is resuming. - availablePoint
Number
User's current point. - waiterAutoSpin
Timer
Base class actions that do have a finite time duration. - betProcessorFactory
BetProcessorFactory
Bet Processor Factory. - betProcessor
BetProcessor
Current bet processor.
Methods
- CalculateTotalBet Current total bet.
- onChangeBetMode Change bet mode.
- getClampedBet The maximum bet that can be placed.
- _start Initialize some logic which need to be called the game enters the Bet State.
- _registerEvent Register events.
- _complete Called when the game exits the Bet State.
- setBetPoints Set the bet points.
- setBetPoint Set the bet point.
- notifyBetDataChanged Notify the bet data is changed.
- onAutoSpinDeactivated Progress the bet data when the user stop auto spin.
- onBetArrayReceived Progress the bet data get the bet array data.
- onBetMultiplierReceived Progress the bet data when get the bet multiplier data.
- onFreeroundsStarted Progress the bet data when the free rounds start.
- onFreeroundsDataReceived Progress the bet data when get the free rounds data.
- onMiniGameDataReceived Progress the bet data when get the mini game data.
- onResumeOrReplayGameRound Progress the bet data when resume the game.
- onBalanceChanged Progress the bet data when the balance change.
- onReplayHistoryClient Progress the bet data when replay the game.
- onResume Progress the bet data when resume the game.
- onReplayHistory Progress the bet data when replay the game.
- onHistoryActivated Progress the bet data when replay the game.
- onHistoryDeactivated Progress the bet data when replay the game.
- onStartGame Process the bet data when the game is started.
- onAutoSpinActivated Change the current game state to the Spin State.
- onSpinClicked Change the current game state to the Spin State.
- onOutcomeSelected Set the outcome data.
- onBetPointChanged Progress the bet point.
- onBetMultiplierChanged Process the bet multiplier.
- onPaylineCountChanged Process the bet data when the pay line is changed.
- getTotalBetPoint Get total bet point.
- spin Process bet data and notify event Spin.
- onManualBuyBonusOpened Process the bet data when the user buy bonus.
- onManualBuyBonusClosed Process the bet data when the user buy bonus.
- onManualBuyBonusChanged Process the bet data when the user buy bonus.
- setBetByPowerPlayModel Process the bet data when the user buy bonus.
Details
isHistoryActivated
Indicates whether the game current state is resuming.
meta | description |
---|---|
Type | Boolean |
Defined in | p4f-slotty-core/src/controller/bet-controller.js:35 |
availablePoint
User's current point.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/controller/bet-controller.js:36 |
waiterAutoSpin
Base class actions that do have a finite time duration.
meta | description |
---|---|
Type | Timer |
Defined in | p4f-slotty-core/src/controller/bet-controller.js:37 |
betProcessorFactory
Bet Processor Factory.
meta | description |
---|---|
Type | BetProcessorFactory |
Defined in | p4f-slotty-core/src/controller/bet-controller.js:38 |
betProcessor
Current bet processor.
meta | description |
---|---|
Type | BetProcessor |
Defined in | p4f-slotty-core/src/controller/bet-controller.js:39 |
CalculateTotalBet
Current total bet.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:44 |
onChangeBetMode
Change bet mode.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:54 |
getClampedBet
The maximum bet that can be placed.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:64 |
_start
Initialize some logic which need to be called the game enters the Bet State.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:77 |
_registerevent
Register events.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:112 |
_complete
Called when the game exits the Bet State.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:129 |
setBetPoints
Set the bet points.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:139 |
setBetPoint
Set the bet point.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:149 |
notifyBetDataChanged
Notify the bet data is changed.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:156 |
onAutoSpinDeactivated
Process the bet data when the user stop auto spin.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:180 |
onBetArrayReceived
Progress the bet data when get the bet array data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:197 |
onBetMultiplierReceived
Progress the bet data when get the bet multiplier data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:209 |
onFreeroundsStarted
Progress the bet data when the free rounds start.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:216 |
onFreeroundsDataReceived
Progress the bet data when get the free rounds data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:223 |
onMiniGameDataReceived
Progress the bet data when get the mini game data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:234 |
onResumeOrReplayGameRound
Progress the bet data when resume the game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:245 |
onBalanceChanged
Progress the bet data when the balance change.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:254 |
onReplayHistoryClient
Progress the bet data when replay the game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:263 |
onResume
Progress the bet data when resume the game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:269 |
onReplayHistory
Progress the bet data when replay the game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:275 |
onHistoryActivated
Progress the bet data when replay the game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:281 |
onHistoryDeactivated
Progress the bet data when replay the game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:287 |
onAutoSpinActivated
Change the current game state to the Spin State.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:309 |
onSpinClicked
Change the current game state to the Spin State.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:153 |
onOutcomeSelected
Set the outcome data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:321 |
onBetPointChanged
Progress the bet point.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:327 |
onBetMultiplierChanged
Process the bet multiplier.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:333 |
onPaylineCountChanged
Process the bet data when the pay line is changed.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:341 |
getTotalBetPoint
Get the total bet point.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:349 |
spin
Process bet data and notify event Spin.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:360 |
onManualBuyBonusOpened
Process the bet data when the user buy bonus.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:375 |
onManualBuyBonusClosed
Process the bet data when the user buy bonus.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:381 |
onManualBuyBonusChanged
Process the bet data when the user buy bonus.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:386 |
setBetByPowerPlayModel
Process the bet data when the user buy bonus.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bet-controller.js:391 |