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

7.8 KiB

sidebar_position
sidebar_position
2

Balance Controller

Index

Properties

Methods

Details

savedCurrentPoint

Current played bet.

meta description
Type Number
Defined in p4f-game-core/src/controller/balance-controller.js:12

savedFreePoint

Current free point played bet.

meta description
Type Number
Defined in p4f-game-core/src/controller/balance-controller.js:13

isResume

Indicates whether the game state is not resumed.

meta description
Type Boolean
Defined in p4f-game-core/src/controller/balance-controller.js:14

onReplayHistoryClient

Indicates the game current state is resuming.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:28

onResume

Indicates the game current state is resuming.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:36

onResumeEnd

Indicates the game current state isn't resuming.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:44

onDeposit

Update the client balance when user deposit.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:52

onConnected

Update the client balance when the game is connected.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:82

onStartGame

Show the client balance when the game is started.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:90

onCollectDataReceived

Update the client balance when the game is collected.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:99

onBalanceDataReceived

Update the client balance when get new balance data.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:109

onBalanceChangeRateClicked

Change the client balance rate.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:117

updateBalance

Update the client balance.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:129

notifyBalance

Notify the client balance.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:141

placeBet

Set current client bet.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:151

clearBet

Clear current client bet.

meta description
Defined in p4f-game-core/src/controller/balance-controller.js:180

onSpinStart

Update the client balance when user spin.

meta description
Defined in p4f-slotty-core/src/controller/balance-controller.js:17

onReplayHistory

Indicates the game current state is resuming.

meta description
Defined in p4f-slotty-core/src/controller/balance-controller.js:29

onReplayHistoryEnd

Indicates the game current state isn't resuming.

meta description
Defined in p4f-slotty-core/src/controller/balance-controller.js:37

onFastPlayDataReceived

Update the client balance.

meta description
Defined in p4f-slotty-core/src/controller/balance-controller.js:45