diff --git a/api-doc/intro.md b/api-doc/intro.md index 6486724..ec29559 100644 --- a/api-doc/intro.md +++ b/api-doc/intro.md @@ -11,4 +11,6 @@ sidebar_position: 0 * [Bet](category/bet) * [Spin](category/spin) * [After Spin](category/after-spin) -* [Auto Spin](category/after-spin) \ No newline at end of file +* [Present Feature Trigger](category/present-feature-trigger) +* [Auto Spin](category/after-spin) +* [Take Or Gamble](category/take-or-gamble) \ No newline at end of file diff --git a/api-doc/slot-machine/present-feature-trigger/_category_.json b/api-doc/slot-machine/present-feature-trigger/_category_.json new file mode 100644 index 0000000..0b33d0c --- /dev/null +++ b/api-doc/slot-machine/present-feature-trigger/_category_.json @@ -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" + ] + } +} \ No newline at end of file diff --git a/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-controller.md b/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-controller.md new file mode 100644 index 0000000..ec3fe58 --- /dev/null +++ b/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-controller.md @@ -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.
+ +| 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.
+ +| 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.
+ +| 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.
+ +| 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)| \ No newline at end of file diff --git a/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-model.md b/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-model.md new file mode 100644 index 0000000..ac0b3d6 --- /dev/null +++ b/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-model.md @@ -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.
+ +| 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.
+ +| 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.
+ +| 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.
+ +| 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)| \ No newline at end of file diff --git a/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-view.md b/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-view.md new file mode 100644 index 0000000..b282404 --- /dev/null +++ b/api-doc/slot-machine/present-feature-trigger/present-feature-trigger-view.md @@ -0,0 +1,5 @@ +--- +sidebar_position: 3 +--- + +# Present Feature Trigger View \ No newline at end of file