87 lines
3.6 KiB
Markdown
87 lines
3.6 KiB
Markdown
---
|
|
sidebar_position: 3
|
|
---
|
|
|
|
# Present Win View
|
|
|
|
## Index
|
|
|
|
### Properties
|
|
* [listTimer](#listtimer) `Timer` List of timer actions that have a finite duration.
|
|
|
|
### Methods
|
|
|
|
* [StartPresentWin](#startpresentwin) Called when the win presentation starts.
|
|
* [StopPresentWin](#stoptpresentwin) Called when the win presentation has completed.
|
|
* [GetDurationFromHitItems](#getdurationfromhititems) Get duration of the win item's animation.
|
|
* [PresentWinTurbo](#presentwinturbo) Called when the win presentation is running in turbo mode.
|
|
* [PresentAllWins](#presentallwins) Called when the win presentation displays all win items.
|
|
* [PresentWinLines](#presentwinlines) Called when the win presentation displays win lines.
|
|
* [PresentWinScatters](#presentwinscatters) Called when the win presentation displays the scatter win.
|
|
* [clearTimer](#cleartimer) Clear the list of timer actions.
|
|
|
|
## Details
|
|
|
|
#### listTimer
|
|
> List of timer actions that have a finite duration.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Type | [Timer](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/helper/timer.js#L4) |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:12](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L12)|
|
|
|
|
#### StartPresentWin
|
|
> Called when the win presentation starts.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:17](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L17)|
|
|
|
|
#### StopPresentWin
|
|
> Called when the win presentation has completed.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:23](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L23)|
|
|
|
|
#### GetDurationFromHitItems
|
|
> Get duration of the win item's animation.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:29](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L29)|
|
|
|
|
#### PresentWinTurbo
|
|
> Called when the win presentation is running in turbo mode.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:33](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L33)|
|
|
|
|
#### PresentAllWins
|
|
> Called when the win presentation is running in turbo mode.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:47](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L47)|
|
|
|
|
#### PresentWinLines
|
|
> Called when the win presentation displays win lines.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:61](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L61)|
|
|
|
|
#### PresentWinScatters
|
|
> Called when the win presentation displays the scatter win.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:89](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L89)|
|
|
|
|
#### clearTimer
|
|
> Clear the list of timer actions.<br/>
|
|
|
|
| meta | description |
|
|
| :--- | :---------- |
|
|
| Defined in | [p4f-slotty-core/src/view/present-win-view.js:117](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/view/present-win-view.js#L117)| |