141 lines
6.0 KiB
Markdown
141 lines
6.0 KiB
Markdown
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
# Present Win Model
|
|
|
|
## Index
|
|
|
|
### Properties
|
|
* [winLinesData](#winlinesdata) `WinlineData` The current win lines data.
|
|
* [winScattersData](#winscattersdata) `WinlineData` The current scatter win data.
|
|
* [winPoint](#winpoint) `Number` The current win point.
|
|
* [durationPresentAllWins](#durationpresentallwins) `Number` The duration of all wins.
|
|
* [durationPresentWinLines](#durationpresentwinlines) `Number` The duration of win lines.
|
|
* [durationPresentWinScatters](#durationpresentwinscatters) `Number` The duration of scatter win.
|
|
|
|
### Methods
|
|
* [Reset](#reset) Reset the present win data.
|
|
* [SetWinLinesData](#setwinlinesdata) Set the current win lines data.
|
|
* [GetWinLinesData](#getwinlinesdata) Get the current win lines data.
|
|
* [SetWinScattersData](#setwinscattersdata) Set the current scatter win data.
|
|
* [GetWinScattersData](#getwinscattersdata) Get the current scatter win data.
|
|
* [SetWinPoint](#setwinpoint) Set the current win point.
|
|
* [GetWinPoint](#getwinpoint) Get the current win point.
|
|
* [SetDurationPresentAllWins](#setdurationpresentallwins) Set the duration of all wins.
|
|
* [GetDurationPresentAllWins](#getdurationpresentallwins) Get the duration of all wins.
|
|
|
|
## Details
|
|
|
|
|
|
#### winLinesData
|
|
> The current win lines data.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Type | [WinlineData](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/slotty-data/response-data/win-line-data.js) |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:11](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L11)|
|
|
|
|
|
|
#### winScattersData
|
|
> The current scatter win data.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Type | [WinlineData](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/slotty-data/response-data/win-line-data.js) |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:12](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L12)|
|
|
|
|
#### winPoint
|
|
> The current win point.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Type | [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:13](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L13)|
|
|
|
|
#### durationPresentAllWins
|
|
> The duration of all wins.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Type | [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:14](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L14)|
|
|
|
|
#### durationPresentWinLines
|
|
> The duration of win lines.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Type | [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:15](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L15)|
|
|
|
|
#### durationPresentWinScatters
|
|
> The duration of scatter win.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Type | [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:16](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L16)|
|
|
|
|
#### Reset
|
|
> Reset the present win data.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:21](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L21)|
|
|
|
|
#### SetWinLinesData
|
|
> Set the current win lines data.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:32](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L32)|
|
|
|
|
#### GetWinLinesData
|
|
> Get the current win lines data.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:38](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#38)|
|
|
|
|
#### SetWinScattersData
|
|
> Set the current scatter win data.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:42](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L42)|
|
|
|
|
#### GetWinScattersData
|
|
> Get the current scatter win data.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:48](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#48)|
|
|
|
|
#### SetWinPoint
|
|
> Set the current win point.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:52](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L52)|
|
|
|
|
#### GetWinPoint
|
|
> Get the current win point.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:58](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#58)|
|
|
|
|
#### SetDurationPresentAllWins
|
|
> Set the duration of all wins.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:52](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#L52)|
|
|
|
|
#### GetDurationPresentAllWins
|
|
> Get the duration of all wins.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/model/present-win-model.js:58](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-win-model.js#58)| |