gs2-cdk 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/loginReward/index.d.ts +12 -0
- package/loginReward/index.js +32 -0
- package/loginReward/index.js.map +1 -0
- package/loginReward/index.ts +36 -0
- package/loginReward/model/BonusModel.d.ts +27 -0
- package/loginReward/model/BonusModel.js +90 -0
- package/loginReward/model/BonusModel.js.map +1 -0
- package/loginReward/model/BonusModel.ts +166 -0
- package/loginReward/model/CurrentMasterData.d.ts +13 -0
- package/loginReward/model/CurrentMasterData.js +50 -0
- package/loginReward/model/CurrentMasterData.js.map +1 -0
- package/loginReward/model/CurrentMasterData.ts +70 -0
- package/loginReward/model/Namespace.d.ts +23 -0
- package/loginReward/model/Namespace.js +76 -0
- package/loginReward/model/Namespace.js.map +1 -0
- package/loginReward/model/Namespace.ts +123 -0
- package/loginReward/model/Reward.d.ts +9 -0
- package/loginReward/model/Reward.js +16 -0
- package/loginReward/model/Reward.js.map +1 -0
- package/loginReward/model/Reward.ts +40 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.d.ts +5 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.js +23 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.js.map +1 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.ts +23 -0
- package/loginReward/model/enum/BonusModelMode.d.ts +5 -0
- package/loginReward/model/enum/BonusModelMode.js +23 -0
- package/loginReward/model/enum/BonusModelMode.js.map +1 -0
- package/loginReward/model/enum/BonusModelMode.ts +23 -0
- package/loginReward/model/enum/BonusModelRepeat.d.ts +5 -0
- package/loginReward/model/enum/BonusModelRepeat.js +23 -0
- package/loginReward/model/enum/BonusModelRepeat.js.map +1 -0
- package/loginReward/model/enum/BonusModelRepeat.ts +23 -0
- package/loginReward/model/index.d.ts +15 -0
- package/loginReward/model/index.js +34 -0
- package/loginReward/model/index.js.map +1 -0
- package/loginReward/model/index.ts +46 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js +3 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.ts +28 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js +3 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.ts +28 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.js +3 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.ts +28 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.js +3 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.ts +28 -0
- package/loginReward/model/options/BonusModelOptions.d.ts +11 -0
- package/loginReward/model/options/BonusModelOptions.js +3 -0
- package/loginReward/model/options/BonusModelOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelOptions.ts +31 -0
- package/loginReward/model/options/NamespaceOptions.d.ts +7 -0
- package/loginReward/model/options/NamespaceOptions.js +3 -0
- package/loginReward/model/options/NamespaceOptions.js.map +1 -0
- package/loginReward/model/options/NamespaceOptions.ts +25 -0
- package/loginReward/model/options/RewardOptions.d.ts +2 -0
- package/loginReward/model/options/RewardOptions.js +3 -0
- package/loginReward/model/options/RewardOptions.js.map +1 -0
- package/loginReward/model/options/RewardOptions.ts +20 -0
- package/loginReward/ref/BonusModelRef.d.ts +6 -0
- package/loginReward/ref/BonusModelRef.js +38 -0
- package/loginReward/ref/BonusModelRef.js.map +1 -0
- package/loginReward/ref/BonusModelRef.ts +52 -0
- package/loginReward/ref/NamespaceRef.d.ts +11 -0
- package/loginReward/ref/NamespaceRef.js +48 -0
- package/loginReward/ref/NamespaceRef.js.map +1 -0
- package/loginReward/ref/NamespaceRef.ts +83 -0
- package/loginReward/ref/index.d.ts +3 -0
- package/loginReward/ref/index.js +24 -0
- package/loginReward/ref/index.js.map +1 -0
- package/loginReward/ref/index.ts +22 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.d.ts +4 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js +29 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js.map +1 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.ts +37 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.d.ts +4 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.js +30 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.js.map +1 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.ts +39 -0
- package/loginReward/stampSheet/index.d.ts +3 -0
- package/loginReward/stampSheet/index.js +24 -0
- package/loginReward/stampSheet/index.js.map +1 -0
- package/loginReward/stampSheet/index.ts +22 -0
- package/package.json +1 -1
- package/script/model/Namespace.d.ts +1 -0
- package/script/model/Namespace.js +5 -0
- package/script/model/Namespace.js.map +1 -1
- package/script/model/Namespace.ts +7 -0
- package/stateMachine/index.d.ts +12 -0
- package/stateMachine/index.js +32 -0
- package/stateMachine/index.js.map +1 -0
- package/stateMachine/index.ts +36 -0
- package/stateMachine/integration/ArrayType.d.ts +8 -0
- package/stateMachine/integration/ArrayType.js +18 -0
- package/stateMachine/integration/ArrayType.js.map +1 -0
- package/stateMachine/integration/ArrayType.ts +36 -0
- package/stateMachine/integration/BoolType.d.ts +8 -0
- package/stateMachine/integration/BoolType.js +18 -0
- package/stateMachine/integration/BoolType.js.map +1 -0
- package/stateMachine/integration/BoolType.ts +36 -0
- package/stateMachine/integration/ErrorEvent.d.ts +4 -0
- package/stateMachine/integration/ErrorEvent.js +27 -0
- package/stateMachine/integration/ErrorEvent.js.map +1 -0
- package/stateMachine/integration/ErrorEvent.ts +24 -0
- package/stateMachine/integration/ErrorTask.d.ts +12 -0
- package/stateMachine/integration/ErrorTask.js +27 -0
- package/stateMachine/integration/ErrorTask.js.map +1 -0
- package/stateMachine/integration/ErrorTask.ts +49 -0
- package/stateMachine/integration/Event.d.ts +10 -0
- package/stateMachine/integration/Event.js +15 -0
- package/stateMachine/integration/Event.js.map +1 -0
- package/stateMachine/integration/Event.ts +35 -0
- package/stateMachine/integration/FloatType.d.ts +8 -0
- package/stateMachine/integration/FloatType.js +18 -0
- package/stateMachine/integration/FloatType.js.map +1 -0
- package/stateMachine/integration/FloatType.ts +36 -0
- package/stateMachine/integration/IGslElement.d.ts +3 -0
- package/stateMachine/integration/IGslElement.js +3 -0
- package/stateMachine/integration/IGslElement.js.map +1 -0
- package/stateMachine/integration/IGslElement.ts +18 -0
- package/stateMachine/integration/IMermaidElement.d.ts +3 -0
- package/stateMachine/integration/IMermaidElement.js +3 -0
- package/stateMachine/integration/IMermaidElement.js.map +1 -0
- package/stateMachine/integration/IMermaidElement.ts +18 -0
- package/stateMachine/integration/ITask.d.ts +8 -0
- package/stateMachine/integration/ITask.js +3 -0
- package/stateMachine/integration/ITask.js.map +1 -0
- package/stateMachine/integration/ITask.ts +24 -0
- package/stateMachine/integration/IVariable.d.ts +6 -0
- package/stateMachine/integration/IVariable.js +3 -0
- package/stateMachine/integration/IVariable.js.map +1 -0
- package/stateMachine/integration/IVariable.ts +22 -0
- package/stateMachine/integration/InParam.d.ts +6 -0
- package/stateMachine/integration/InParam.js +10 -0
- package/stateMachine/integration/InParam.js.map +1 -0
- package/stateMachine/integration/InParam.ts +26 -0
- package/stateMachine/integration/IntType.d.ts +8 -0
- package/stateMachine/integration/IntType.js +18 -0
- package/stateMachine/integration/IntType.js.map +1 -0
- package/stateMachine/integration/IntType.ts +36 -0
- package/stateMachine/integration/MapType.d.ts +8 -0
- package/stateMachine/integration/MapType.js +18 -0
- package/stateMachine/integration/MapType.js.map +1 -0
- package/stateMachine/integration/MapType.ts +36 -0
- package/stateMachine/integration/OutParam.d.ts +6 -0
- package/stateMachine/integration/OutParam.js +10 -0
- package/stateMachine/integration/OutParam.js.map +1 -0
- package/stateMachine/integration/OutParam.ts +26 -0
- package/stateMachine/integration/PassTask.d.ts +11 -0
- package/stateMachine/integration/PassTask.js +24 -0
- package/stateMachine/integration/PassTask.js.map +1 -0
- package/stateMachine/integration/PassTask.ts +45 -0
- package/stateMachine/integration/Result.d.ts +7 -0
- package/stateMachine/integration/Result.js +11 -0
- package/stateMachine/integration/Result.js.map +1 -0
- package/stateMachine/integration/Result.ts +28 -0
- package/stateMachine/integration/Script.d.ts +5 -0
- package/stateMachine/integration/Script.js +25 -0
- package/stateMachine/integration/Script.js.map +1 -0
- package/stateMachine/integration/Script.ts +24 -0
- package/stateMachine/integration/StateMachine.d.ts +17 -0
- package/stateMachine/integration/StateMachine.js +83 -0
- package/stateMachine/integration/StateMachine.js.map +1 -0
- package/stateMachine/integration/StateMachine.ts +116 -0
- package/stateMachine/integration/StateMachineDefinition.d.ts +40 -0
- package/stateMachine/integration/StateMachineDefinition.js +107 -0
- package/stateMachine/integration/StateMachineDefinition.js.map +1 -0
- package/stateMachine/integration/StateMachineDefinition.ts +146 -0
- package/stateMachine/integration/StringType.d.ts +8 -0
- package/stateMachine/integration/StringType.js +18 -0
- package/stateMachine/integration/StringType.js.map +1 -0
- package/stateMachine/integration/StringType.ts +36 -0
- package/stateMachine/integration/SubStateMachineTask.d.ts +17 -0
- package/stateMachine/integration/SubStateMachineTask.js +42 -0
- package/stateMachine/integration/SubStateMachineTask.js.map +1 -0
- package/stateMachine/integration/SubStateMachineTask.ts +71 -0
- package/stateMachine/integration/Task.d.ts +19 -0
- package/stateMachine/integration/Task.js +63 -0
- package/stateMachine/integration/Task.js.map +1 -0
- package/stateMachine/integration/Task.ts +98 -0
- package/stateMachine/integration/WaitTask.d.ts +15 -0
- package/stateMachine/integration/WaitTask.js +49 -0
- package/stateMachine/integration/WaitTask.js.map +1 -0
- package/stateMachine/integration/WaitTask.ts +75 -0
- package/stateMachine/integration/indent.d.ts +1 -0
- package/stateMachine/integration/indent.js +22 -0
- package/stateMachine/integration/indent.js.map +1 -0
- package/stateMachine/integration/indent.ts +18 -0
- package/stateMachine/model/Namespace.d.ts +25 -0
- package/stateMachine/model/Namespace.js +89 -0
- package/stateMachine/model/Namespace.js.map +1 -0
- package/stateMachine/model/Namespace.ts +140 -0
- package/stateMachine/model/StackEntry.d.ts +9 -0
- package/stateMachine/model/StackEntry.js +20 -0
- package/stateMachine/model/StackEntry.js.map +1 -0
- package/stateMachine/model/StackEntry.ts +44 -0
- package/stateMachine/model/StateMachineMaster.d.ts +18 -0
- package/stateMachine/model/StateMachineMaster.js +60 -0
- package/stateMachine/model/StateMachineMaster.js.map +1 -0
- package/stateMachine/model/StateMachineMaster.ts +97 -0
- package/stateMachine/model/Variable.d.ts +9 -0
- package/stateMachine/model/Variable.js +20 -0
- package/stateMachine/model/Variable.js.map +1 -0
- package/stateMachine/model/Variable.ts +44 -0
- package/stateMachine/model/index.d.ts +9 -0
- package/stateMachine/model/index.js +28 -0
- package/stateMachine/model/index.js.map +1 -0
- package/stateMachine/model/index.ts +34 -0
- package/stateMachine/model/options/NamespaceOptions.d.ts +10 -0
- package/stateMachine/model/options/NamespaceOptions.js +3 -0
- package/stateMachine/model/options/NamespaceOptions.js.map +1 -0
- package/stateMachine/model/options/NamespaceOptions.ts +27 -0
- package/stateMachine/model/options/StackEntryOptions.d.ts +2 -0
- package/stateMachine/model/options/StackEntryOptions.js +18 -0
- package/stateMachine/model/options/StackEntryOptions.js.map +1 -0
- package/stateMachine/model/options/StackEntryOptions.ts +19 -0
- package/stateMachine/model/options/StateMachineMasterOptions.d.ts +2 -0
- package/stateMachine/model/options/StateMachineMasterOptions.js +18 -0
- package/stateMachine/model/options/StateMachineMasterOptions.js.map +1 -0
- package/stateMachine/model/options/StateMachineMasterOptions.ts +19 -0
- package/stateMachine/model/options/VariableOptions.d.ts +2 -0
- package/stateMachine/model/options/VariableOptions.js +18 -0
- package/stateMachine/model/options/VariableOptions.js.map +1 -0
- package/stateMachine/model/options/VariableOptions.ts +19 -0
- package/stateMachine/ref/NamespaceRef.d.ts +7 -0
- package/stateMachine/ref/NamespaceRef.js +40 -0
- package/stateMachine/ref/NamespaceRef.js.map +1 -0
- package/stateMachine/ref/NamespaceRef.ts +61 -0
- package/stateMachine/ref/StateMachineMasterRef.d.ts +6 -0
- package/stateMachine/ref/StateMachineMasterRef.js +40 -0
- package/stateMachine/ref/StateMachineMasterRef.js.map +1 -0
- package/stateMachine/ref/StateMachineMasterRef.ts +54 -0
- package/stateMachine/ref/index.d.ts +3 -0
- package/stateMachine/ref/index.js +24 -0
- package/stateMachine/ref/index.js.map +1 -0
- package/stateMachine/ref/index.ts +22 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.d.ts +4 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.js +30 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.js.map +1 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.ts +39 -0
- package/stateMachine/stampSheet/index.d.ts +2 -0
- package/stateMachine/stampSheet/index.js +22 -0
- package/stateMachine/stampSheet/index.js.map +1 -0
- package/stateMachine/stampSheet/index.ts +20 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export default interface IGslElement {
|
|
17
|
+
gsl(): string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMermaidElement.js","sourceRoot":"","sources":["IMermaidElement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export default interface IMermaidElement {
|
|
17
|
+
mermaid(): string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import IGslElement from "./IGslElement";
|
|
2
|
+
import IMermaidElement from "./IMermaidElement";
|
|
3
|
+
import Event from "./Event";
|
|
4
|
+
export default interface ITask extends IGslElement, IMermaidElement {
|
|
5
|
+
getName(): string;
|
|
6
|
+
transition(event: Event): ITask;
|
|
7
|
+
getEvents(): Event[];
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ITask.js","sourceRoot":"","sources":["ITask.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IGslElement from "./IGslElement";
|
|
17
|
+
import IMermaidElement from "./IMermaidElement";
|
|
18
|
+
import Event from "./Event";
|
|
19
|
+
|
|
20
|
+
export default interface ITask extends IGslElement, IMermaidElement {
|
|
21
|
+
getName(): string;
|
|
22
|
+
transition(event: Event): ITask;
|
|
23
|
+
getEvents(): Event[];
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IVariable.js","sourceRoot":"","sources":["IVariable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IGslElement from "./IGslElement";
|
|
17
|
+
|
|
18
|
+
export default interface IVariable extends IGslElement {
|
|
19
|
+
getName(): string;
|
|
20
|
+
getTypeName(): string;
|
|
21
|
+
gsl(): string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class InParam {
|
|
4
|
+
constructor(currentStateMachineVariable, subStateMachineVariable) {
|
|
5
|
+
this.currentStateMachineVariable = currentStateMachineVariable;
|
|
6
|
+
this.subStateMachineVariable = subStateMachineVariable;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.default = InParam;
|
|
10
|
+
//# sourceMappingURL=InParam.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InParam.js","sourceRoot":"","sources":["InParam.ts"],"names":[],"mappings":";;AAiBA,MAAqB,OAAO;IAIxB,YAAY,2BAAsC,EAAE,uBAAkC;QAClF,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;QAC/D,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;IAC3D,CAAC;CACJ;AARD,0BAQC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IVariable from "./IVariable";
|
|
17
|
+
|
|
18
|
+
export default class InParam {
|
|
19
|
+
currentStateMachineVariable: IVariable;
|
|
20
|
+
subStateMachineVariable: IVariable;
|
|
21
|
+
|
|
22
|
+
constructor(currentStateMachineVariable: IVariable, subStateMachineVariable: IVariable) {
|
|
23
|
+
this.currentStateMachineVariable = currentStateMachineVariable;
|
|
24
|
+
this.subStateMachineVariable = subStateMachineVariable;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class IntType {
|
|
4
|
+
constructor(name) {
|
|
5
|
+
this.name = name;
|
|
6
|
+
}
|
|
7
|
+
getName() {
|
|
8
|
+
return this.name;
|
|
9
|
+
}
|
|
10
|
+
getTypeName() {
|
|
11
|
+
return "int";
|
|
12
|
+
}
|
|
13
|
+
gsl() {
|
|
14
|
+
return `${this.getTypeName()} ${this.getName()}`;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.default = IntType;
|
|
18
|
+
//# sourceMappingURL=IntType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntType.js","sourceRoot":"","sources":["IntType.ts"],"names":[],"mappings":";;AAiBA,MAAqB,OAAO;IAGxB,YAAY,IAAY;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAED,WAAW;QACP,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,GAAG;QACC,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;IACrD,CAAC;CACJ;AAlBD,0BAkBC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IVariable from "./IVariable";
|
|
17
|
+
|
|
18
|
+
export default class IntType implements IVariable {
|
|
19
|
+
private name: string;
|
|
20
|
+
|
|
21
|
+
constructor(name: string) {
|
|
22
|
+
this.name = name;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
getName() {
|
|
26
|
+
return this.name;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
getTypeName() {
|
|
30
|
+
return "int";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
gsl(): string {
|
|
34
|
+
return `${this.getTypeName()} ${this.getName()}`;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class MapType {
|
|
4
|
+
constructor(name) {
|
|
5
|
+
this.name = name;
|
|
6
|
+
}
|
|
7
|
+
getName() {
|
|
8
|
+
return this.name;
|
|
9
|
+
}
|
|
10
|
+
getTypeName() {
|
|
11
|
+
return "map";
|
|
12
|
+
}
|
|
13
|
+
gsl() {
|
|
14
|
+
return `${this.getTypeName()} ${this.getName()}`;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.default = MapType;
|
|
18
|
+
//# sourceMappingURL=MapType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapType.js","sourceRoot":"","sources":["MapType.ts"],"names":[],"mappings":";;AAiBA,MAAqB,OAAO;IAGxB,YAAY,IAAY;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAED,WAAW;QACP,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,GAAG;QACC,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;IACrD,CAAC;CACJ;AAlBD,0BAkBC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IVariable from "./IVariable";
|
|
17
|
+
|
|
18
|
+
export default class MapType implements IVariable {
|
|
19
|
+
private name: string;
|
|
20
|
+
|
|
21
|
+
constructor(name: string) {
|
|
22
|
+
this.name = name;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
getName() {
|
|
26
|
+
return this.name;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
getTypeName() {
|
|
30
|
+
return "map";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
gsl(): string {
|
|
34
|
+
return `${this.getTypeName()} ${this.getName()}`;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class OutParam {
|
|
4
|
+
constructor(subStateMachineVariable, currentStateMachineVariable) {
|
|
5
|
+
this.subStateMachineVariable = subStateMachineVariable;
|
|
6
|
+
this.currentStateMachineVariable = currentStateMachineVariable;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.default = OutParam;
|
|
10
|
+
//# sourceMappingURL=OutParam.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutParam.js","sourceRoot":"","sources":["OutParam.ts"],"names":[],"mappings":";;AAiBA,MAAqB,QAAQ;IAIzB,YAAY,uBAAkC,EAAE,2BAAsC;QAClF,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;QACvD,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;IACnE,CAAC;CACJ;AARD,2BAQC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IVariable from "./IVariable";
|
|
17
|
+
|
|
18
|
+
export default class OutParam {
|
|
19
|
+
subStateMachineVariable: IVariable;
|
|
20
|
+
currentStateMachineVariable: IVariable;
|
|
21
|
+
|
|
22
|
+
constructor(subStateMachineVariable: IVariable, currentStateMachineVariable: IVariable) {
|
|
23
|
+
this.subStateMachineVariable = subStateMachineVariable;
|
|
24
|
+
this.currentStateMachineVariable = currentStateMachineVariable;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import ITask from "./ITask";
|
|
2
|
+
import Event from "./Event";
|
|
3
|
+
export default class PassTask implements ITask {
|
|
4
|
+
private name;
|
|
5
|
+
constructor(name: string);
|
|
6
|
+
getName(): string;
|
|
7
|
+
transition(event: Event): this;
|
|
8
|
+
getEvents(): Event[];
|
|
9
|
+
gsl(): string;
|
|
10
|
+
mermaid(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class PassTask {
|
|
4
|
+
constructor(name) {
|
|
5
|
+
this.name = name;
|
|
6
|
+
}
|
|
7
|
+
getName() {
|
|
8
|
+
return this.name;
|
|
9
|
+
}
|
|
10
|
+
transition(event) {
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
getEvents() {
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
gsl() {
|
|
17
|
+
return "PassTask Pass;\n\n";
|
|
18
|
+
}
|
|
19
|
+
mermaid() {
|
|
20
|
+
return `${this.name}_${this.name}[${this.name}/]\n`;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = PassTask;
|
|
24
|
+
//# sourceMappingURL=PassTask.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PassTask.js","sourceRoot":"","sources":["PassTask.ts"],"names":[],"mappings":";;AAkBA,MAAqB,QAAQ;IAGzB,YAAY,IAAY;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAED,UAAU,CAAC,KAAY;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,SAAS;QACL,OAAO,EAAE,CAAC;IACd,CAAC;IAED,GAAG;QACC,OAAO,oBAAoB,CAAC;IAChC,CAAC;IAED,OAAO;QACH,OAAO,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,MAAM,CAAC;IACxD,CAAC;CACJ;AA1BD,2BA0BC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import ITask from "./ITask";
|
|
17
|
+
import Event from "./Event";
|
|
18
|
+
|
|
19
|
+
export default class PassTask implements ITask {
|
|
20
|
+
private name: string;
|
|
21
|
+
|
|
22
|
+
constructor(name: string) {
|
|
23
|
+
this.name = name;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
getName(): string {
|
|
27
|
+
return this.name;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
transition(event: Event): this {
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
getEvents(): Event[] {
|
|
35
|
+
return [];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
gsl(): string {
|
|
39
|
+
return "PassTask Pass;\n\n";
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
mermaid(): string {
|
|
43
|
+
return `${this.name}_${this.name}[${this.name}/]\n`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import IVariable from "./IVariable";
|
|
2
|
+
export default class Result {
|
|
3
|
+
name: string;
|
|
4
|
+
emitEventName: string;
|
|
5
|
+
emitEventArgumentVariableNames: Map<IVariable, string>;
|
|
6
|
+
constructor(name: string, emitEventName: string, emitEventArgumentVariableNames: Map<IVariable, string>);
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Result {
|
|
4
|
+
constructor(name, emitEventName, emitEventArgumentVariableNames) {
|
|
5
|
+
this.name = name;
|
|
6
|
+
this.emitEventName = emitEventName;
|
|
7
|
+
this.emitEventArgumentVariableNames = emitEventArgumentVariableNames;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.default = Result;
|
|
11
|
+
//# sourceMappingURL=Result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Result.js","sourceRoot":"","sources":["Result.ts"],"names":[],"mappings":";;AAiBA,MAAqB,MAAM;IAKvB,YAAY,IAAY,EAAE,aAAqB,EAAE,8BAAsD;QACnG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,8BAA8B,GAAG,8BAA8B,CAAC;IACzE,CAAC;CACJ;AAVD,yBAUC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IVariable from "./IVariable";
|
|
17
|
+
|
|
18
|
+
export default class Result {
|
|
19
|
+
name: string;
|
|
20
|
+
emitEventName: string;
|
|
21
|
+
emitEventArgumentVariableNames: Map<IVariable, string>;
|
|
22
|
+
|
|
23
|
+
constructor(name: string, emitEventName: string, emitEventArgumentVariableNames: Map<IVariable, string>) {
|
|
24
|
+
this.name = name;
|
|
25
|
+
this.emitEventName = emitEventName;
|
|
26
|
+
this.emitEventArgumentVariableNames = emitEventArgumentVariableNames;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
5
|
+
* Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
8
|
+
* You may not use this file except in compliance with the License.
|
|
9
|
+
* A copy of the License is located at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
14
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
15
|
+
* express or implied. See the License for the specific language governing
|
|
16
|
+
* permissions and limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
class Script {
|
|
19
|
+
constructor(name, payload) {
|
|
20
|
+
this.name = name;
|
|
21
|
+
this.payload = payload;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.default = Script;
|
|
25
|
+
//# sourceMappingURL=Script.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Script.js","sourceRoot":"","sources":["Script.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAqB,MAAM;IAIvB,YAAY,IAAY,EAAE,OAAe;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;CACJ;AARD,yBAQC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export default class Script {
|
|
17
|
+
name: string;
|
|
18
|
+
payload: string;
|
|
19
|
+
|
|
20
|
+
constructor(name: string, payload: string) {
|
|
21
|
+
this.name = name;
|
|
22
|
+
this.payload = payload;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import IVariable from "./IVariable";
|
|
2
|
+
import ITask from "./ITask";
|
|
3
|
+
import Script from "./Script";
|
|
4
|
+
import StateMachineDefinition from "./StateMachineDefinition";
|
|
5
|
+
export default class StateMachine {
|
|
6
|
+
name: string;
|
|
7
|
+
variables: IVariable[];
|
|
8
|
+
tasks: ITask[];
|
|
9
|
+
entryPointValue: string;
|
|
10
|
+
stateMachineDefinition: StateMachineDefinition;
|
|
11
|
+
constructor(stateMachineDefinition: StateMachineDefinition, name: string, variables: IVariable[]);
|
|
12
|
+
task(...args: ITask[]): this;
|
|
13
|
+
entryPoint(taskName: string): this;
|
|
14
|
+
scripts(): Script[];
|
|
15
|
+
gsl(): string;
|
|
16
|
+
mermaid(): string;
|
|
17
|
+
}
|