7.1 KiB
7.1 KiB
sidebar_position
sidebar_position |
---|
2 |
Respin Model
Index
Properties
- respinRetriggerData
Object | null
Data for respin retrigger conditions. - respinLeft
Number
Number of respins remaining. - totalRespin
Number
Total number of respins triggered by feature logic. - respinWin
Number
Total win amount during respins.
Methods
- Reset Resets all respin data to default values.
- SetRespinLeft Sets the number of remaining respins.
- SetTotalRespin Sets the total number of respins.
- SetRespinRetriggerData Sets retrigger data for respins.
- SetRespinWin Sets the win amount during respins.
- GetRespinLeft Returns the number of remaining respins.
- GetRespinPlayed Calculates the number of played respins.
- GetTotalRespin Returns the total number of respins.
- GetRespinRetriggerData Returns a clone of the retrigger data object.
- GetRespinWin Returns the total win during respins.
Details
Properties
respinRetriggerData
Data for respin retrigger conditions.
meta | description |
---|---|
Type | Object | null |
Defined in | p4f-slotty-core/src/model/respin-model.js#L9 |
respinLeft
Number of respins remaining.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/respin-model.js#L10 |
totalRespin
Total number of respins triggered by feature logic.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/respin-model.js#L11 |
respinWin
Total win amount during respins.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/respin-model.js#L12 |
Methods
Reset
Resets all respin data to default values.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/respin-model.js#L17 |
SetRespinLeft
Sets the number of remaining respins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/respin-model.js#L26 |
Parameters
* respinLeft
Number
SetTotalRespin
Sets the total number of respins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/respin-model.js#L32 |
Parameters
* totalRespin
Number
SetRespinRetriggerData
Sets retrigger data for respins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/respin-model.js#L38 |
Parameters
* respinRetriggerData
Object
SetRespinWin
Sets the win amount during respins.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/respin-model.js#L44 |
Parameters
* respinWin
Number
GetRespinLeft
Returns the number of remaining respins.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/respin-model.js#L50 |
GetRespinPlayed
Calculates the number of played respins.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/respin-model.js#L56 |
GetTotalRespin
Returns the total number of respins.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/respin-model.js#L62 |
GetRespinRetriggerData
Returns a clone of the retrigger data object.
meta | description |
---|---|
Returns | Object | null |
Defined in | p4f-slotty-core/src/model/respin-model.js#L58 |
GetRespinWin
Returns the total win during respins.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/respin-model.js#L74 |