Compare commits
6 Commits
bfd25398c1
...
11d08bf006
Author | SHA1 | Date | |
---|---|---|---|
11d08bf006 | |||
527d6629b3 | |||
0a6c89c94b | |||
3a32c4ee62 | |||
aea8a96e38 | |||
ceeb5a2f27 |
@ -6,6 +6,11 @@ sidebar_position: 0
|
|||||||
# Slot Game API
|
# Slot Game API
|
||||||
|
|
||||||
## Slot Game Machine
|
## Slot Game Machine
|
||||||
* [Initialize Controller](slot-machine/initialize-controller)
|
* [Initialize](slot-machine/initialize-controller)
|
||||||
* [Balance](category/balance)
|
* [Balance](category/balance)
|
||||||
* [Bet](category/bet)
|
* [Bet](category/bet)
|
||||||
|
* [Spin](category/spin)
|
||||||
|
* [After Spin](category/after-spin)
|
||||||
|
* [Present Feature Trigger](category/present-feature-trigger)
|
||||||
|
* [Auto Spin](category/after-spin)
|
||||||
|
* [Take Or Gamble](category/take-or-gamble)
|
18
api-doc/slot-machine/after-spin/_category_.json
Normal file
18
api-doc/slot-machine/after-spin/_category_.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"position": 5,
|
||||||
|
"label": "After Spin",
|
||||||
|
"collapsible": true,
|
||||||
|
"collapsed": true,
|
||||||
|
"link": {
|
||||||
|
"type": "generated-index",
|
||||||
|
"title": "After Spin",
|
||||||
|
"description": "This section will guide you through the process of setting up a new project, including creating a new repository and configuring your development environment.",
|
||||||
|
"keywords": [
|
||||||
|
"controller",
|
||||||
|
"project",
|
||||||
|
"repository",
|
||||||
|
"model",
|
||||||
|
"afterspin"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
19
api-doc/slot-machine/after-spin/after-spin-controller.md
Normal file
19
api-doc/slot-machine/after-spin/after-spin-controller.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
---
|
||||||
|
|
||||||
|
# After Spin Controller
|
||||||
|
## Index
|
||||||
|
|
||||||
|
### Methods
|
||||||
|
|
||||||
|
* [transitionToNextState](#transitiontonextstate) Check the condition and move to the next state.
|
||||||
|
|
||||||
|
## Details
|
||||||
|
|
||||||
|
#### transitionToNextState
|
||||||
|
> Check the condition and move to the next state.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/controller/after-spin-controller.js:21](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/controller/after-spin-controller.js#L21)|
|
5
api-doc/slot-machine/after-spin/after-spin-model.md
Normal file
5
api-doc/slot-machine/after-spin/after-spin-model.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 2
|
||||||
|
---
|
||||||
|
|
||||||
|
# After Spin Model
|
5
api-doc/slot-machine/after-spin/after-spin-view.md
Normal file
5
api-doc/slot-machine/after-spin/after-spin-view.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 3
|
||||||
|
---
|
||||||
|
|
||||||
|
# After Spin View
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 2
|
sidebar_position: 1
|
||||||
---
|
---
|
||||||
|
|
||||||
# Balance Controller
|
# Balance Controller
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 2
|
sidebar_position: 3
|
||||||
---
|
---
|
||||||
|
|
||||||
# Balance View
|
# Balance View
|
||||||
|
18
api-doc/slot-machine/present-feature-trigger/_category_.json
Normal file
18
api-doc/slot-machine/present-feature-trigger/_category_.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"position": 7,
|
||||||
|
"label": "Present Feature Trigger",
|
||||||
|
"collapsible": true,
|
||||||
|
"collapsed": true,
|
||||||
|
"link": {
|
||||||
|
"type": "generated-index",
|
||||||
|
"title": "Present Feature Trigger",
|
||||||
|
"description": "This section will guide you through the process of setting up a new project, including creating a new repository and configuring your development environment.",
|
||||||
|
"keywords": [
|
||||||
|
"controller",
|
||||||
|
"project",
|
||||||
|
"repository",
|
||||||
|
"model",
|
||||||
|
"trigger"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 2
|
||||||
|
---
|
||||||
|
|
||||||
|
# Present Feature Trigger Controller
|
||||||
|
|
||||||
|
## Index
|
||||||
|
|
||||||
|
### Methods
|
||||||
|
|
||||||
|
* [_start](#_start) Initialize some logic which need to be called the game enters the Bet State.
|
||||||
|
* [_registerEvent](#_registerevent) Register events.
|
||||||
|
* [onPresentFeatureTriggerCompleted](#onpresentfeaturetriggercompleted) Start feature game.
|
||||||
|
* [startFeatureGame](#startfeaturegame) Check the feature game condition and start base on it.
|
||||||
|
|
||||||
|
## Details
|
||||||
|
|
||||||
|
#### _start
|
||||||
|
> Initialize some logic which need to be called the game enters the Bet State.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/controller/present-feature-trigger-controller.js:16](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/controller/present-feature-trigger-controller.js#L16)|
|
||||||
|
|
||||||
|
#### _registerevent
|
||||||
|
> Register events.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/controller/present-feature-trigger-controller.js:23](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/controller/present-feature-trigger-controller.js#L23)|
|
||||||
|
|
||||||
|
#### onPresentFeatureTriggerCompleted
|
||||||
|
> Start feature game.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/controller/present-feature-trigger-controller.js:29](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/controller/present-feature-trigger-controller.js#L29)|
|
||||||
|
|
||||||
|
#### startFeatureGame
|
||||||
|
> Check the feature game condition and start base on it.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/controller/present-feature-trigger-controller.js:37](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/controller/present-feature-trigger-controller.js#L37)|
|
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 2
|
||||||
|
---
|
||||||
|
|
||||||
|
# Present Feature Trigger Model
|
||||||
|
|
||||||
|
## Index
|
||||||
|
|
||||||
|
### Properties
|
||||||
|
* [featureData](#featuredata) `WinlineData` The current feature trigger data.
|
||||||
|
|
||||||
|
### Methods
|
||||||
|
* [Reset](#reset) Reset the feature trigger data.
|
||||||
|
* [SetFeatureTriggerData](#setfeaturetriggerdata) Set the feature trigger data.
|
||||||
|
* [GetFeatureTriggerData](#getfeaturetriggerdata) Get the feature trigger data.
|
||||||
|
|
||||||
|
## Details
|
||||||
|
|
||||||
|
#### featureData
|
||||||
|
> Current point.<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-feature-trigger-model.js:10](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-feature-trigger-model.js#L10)|
|
||||||
|
|
||||||
|
#### Reset
|
||||||
|
> Reset the feature trigger data.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/model/present-feature-trigger-model.js:15](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-feature-trigger-model.js#L15)|
|
||||||
|
|
||||||
|
#### SetFeatureTriggerData
|
||||||
|
> Set the feature trigger data.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/model/present-feature-trigger-model.js:21](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-feature-trigger-model.js#L21)|
|
||||||
|
|
||||||
|
#### GetFeatureTriggerData
|
||||||
|
> Get the feature trigger data.<br/>
|
||||||
|
|
||||||
|
| meta | description |
|
||||||
|
| :--- | :---------- |
|
||||||
|
| Defined in | [p4f-slotty-core/src/model/present-feature-trigger-model.js:27](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/model/present-feature-trigger-model.js#L27)|
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 3
|
||||||
|
---
|
||||||
|
|
||||||
|
# Present Feature Trigger View
|
Loading…
x
Reference in New Issue
Block a user