11 KiB
sidebar_position
sidebar_position |
---|
2 |
Freerounds Model
Index
Properties
- arrFreeroundsData Stores the list of available freerounds data.
- betPoint Current bet point used in the freerounds.
- freeroundsID Identifier of the current freerounds session.
- totalFreerounds Total number of freerounds awarded.
- freeroundsPlayed Number of freerounds already played.
- totalWinPoint Accumulated win points from freerounds.
Methods
- SetArrayFreeroundsData Stores an array of freerounds data.
- GetFreeroundsData Retrieves the first item from the freerounds data array.
- ShiftFreeroundsData Removes and returns the first element from the freerounds data array.
- SetFreeroundsID Sets the freerounds session ID.
- GetFreeroundsID Retrieves the current freerounds session ID.
- SetBetPoint Sets the bet point value.
- GetBetPoint Gets the current bet point value.
- SetTotalFreerounds Sets the total number of freerounds available.
- GetTotalFreerounds Gets the total number of freerounds.
- SetFreeroundsPlayed Sets the number of freerounds that have been played.
- GetFreeroundsPlayed Gets the number of freerounds played.
- CheckFreeroundsCompleted Checks whether all freerounds have been completed.
- SetTotalWinPoint Sets the total accumulated win points.
- GetTotalWinPoint Gets the total win points earned in freerounds.
- GetFreeroundsLeft Calculates how many freerounds are remaining.
Details
Properties
arrFreeroundsData
Stores the list of available freerounds data.
meta | description |
---|---|
Type | Array |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L7 |
betPoint
Current bet point used in the freerounds.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L8 |
freeroundsID
Identifier of the current freerounds session.
meta | description |
---|---|
Type | String |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L9 |
totalFreerounds
Total number of freerounds awarded.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L10 |
freeroundsPlayed
Number of freerounds already played.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L11 |
totalWinPoint
Accumulated win points from freerounds.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L12 |
Methods
SetArrayFreeroundsData
Stores an array of freerounds data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L13 |
Parameters
arrFreeroundsData
Array
GetFreeroundsData
Retrieves the first item from the freerounds data array.
meta | description |
---|---|
Returns | Object |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L17 |
ShiftFreeroundsData
Removes and returns the first element from the freerounds data array.
meta | description |
---|---|
Returns | Object |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L21 |
SetFreeroundsID
Sets the freerounds session ID.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L25 |
Parameters
freeroundsID
String
GetFreeroundsID
Retrieves the current freerounds session ID.
meta | description |
---|---|
Returns | String |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L29 |
SetBetPoint
Sets the bet point value.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L33 |
Parameters
betPoint
Number
GetBetPoint
Gets the current bet point value.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L37 |
SetTotalFreerounds
Sets the total number of freerounds available.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L41 |
Parameters
totalFreerounds
Number
GetTotalFreerounds
Gets the total number of freerounds.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L45 |
SetFreeroundsPlayed
Sets the number of freerounds that have been played.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L49 |
Parameters
freeroundsPlayed
Number
GetFreeroundsPlayed
Gets the number of freerounds played.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L53 |
CheckFreeroundsCompleted
Checks whether all freerounds have been completed.
meta | description |
---|---|
Returns | Boolean |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L57 |
SetTotalWinPoint
Sets the total accumulated win points.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L61 |
Parameters
totalWinPoint
Number
GetTotalWinPoint
Gets the total win points earned in freerounds.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L65 |
GetFreeroundsLeft
Calculates how many freerounds are remaining.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/freerounds-model.js#L69 |