Nguyen Ngoc Thanh 7d8e871b6d add slot machine
balance, initialize, bet controller
2025-07-14 17:06:43 +07:00

15 KiB

sidebar_position
sidebar_position
1

Bet Controller

Index

Properties

Methods

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