gs2-cdk 1.0.21 → 1.0.22
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/enchant/index.d.ts +12 -0
- package/enchant/index.js +32 -0
- package/enchant/index.js.map +1 -0
- package/enchant/index.ts +36 -0
- package/enchant/model/BalanceParameterModel.d.ts +14 -0
- package/enchant/model/BalanceParameterModel.js +34 -0
- package/enchant/model/BalanceParameterModel.js.map +1 -0
- package/enchant/model/BalanceParameterModel.ts +64 -0
- package/enchant/model/BalanceParameterValue.d.ts +9 -0
- package/enchant/model/BalanceParameterValue.js +20 -0
- package/enchant/model/BalanceParameterValue.js.map +1 -0
- package/enchant/model/BalanceParameterValue.ts +44 -0
- package/enchant/model/BalanceParameterValueModel.d.ts +9 -0
- package/enchant/model/BalanceParameterValueModel.js +22 -0
- package/enchant/model/BalanceParameterValueModel.js.map +1 -0
- package/enchant/model/BalanceParameterValueModel.ts +43 -0
- package/enchant/model/CurrentMasterData.d.ts +15 -0
- package/enchant/model/CurrentMasterData.js +54 -0
- package/enchant/model/CurrentMasterData.js.map +1 -0
- package/enchant/model/CurrentMasterData.ts +78 -0
- package/enchant/model/Namespace.d.ts +23 -0
- package/enchant/model/Namespace.js +71 -0
- package/enchant/model/Namespace.js.map +1 -0
- package/enchant/model/Namespace.ts +119 -0
- package/enchant/model/RarityParameterCountModel.d.ts +9 -0
- package/enchant/model/RarityParameterCountModel.js +20 -0
- package/enchant/model/RarityParameterCountModel.js.map +1 -0
- package/enchant/model/RarityParameterCountModel.ts +44 -0
- package/enchant/model/RarityParameterModel.d.ts +14 -0
- package/enchant/model/RarityParameterModel.js +34 -0
- package/enchant/model/RarityParameterModel.js.map +1 -0
- package/enchant/model/RarityParameterModel.ts +65 -0
- package/enchant/model/RarityParameterValue.d.ts +10 -0
- package/enchant/model/RarityParameterValue.js +24 -0
- package/enchant/model/RarityParameterValue.js.map +1 -0
- package/enchant/model/RarityParameterValue.ts +50 -0
- package/enchant/model/RarityParameterValueModel.d.ts +12 -0
- package/enchant/model/RarityParameterValueModel.js +34 -0
- package/enchant/model/RarityParameterValueModel.js.map +1 -0
- package/enchant/model/RarityParameterValueModel.ts +61 -0
- package/enchant/model/enum/BalanceParameterModelInitialValueStrategy.d.ts +5 -0
- package/enchant/model/enum/BalanceParameterModelInitialValueStrategy.js +23 -0
- package/enchant/model/enum/BalanceParameterModelInitialValueStrategy.js.map +1 -0
- package/enchant/model/enum/BalanceParameterModelInitialValueStrategy.ts +23 -0
- package/enchant/model/index.d.ts +19 -0
- package/enchant/model/index.js +40 -0
- package/enchant/model/index.js.map +1 -0
- package/enchant/model/index.ts +54 -0
- package/enchant/model/options/BalanceParameterModelOptions.d.ts +3 -0
- package/enchant/model/options/BalanceParameterModelOptions.js +3 -0
- package/enchant/model/options/BalanceParameterModelOptions.js.map +1 -0
- package/enchant/model/options/BalanceParameterModelOptions.ts +22 -0
- package/enchant/model/options/BalanceParameterValueModelOptions.d.ts +3 -0
- package/enchant/model/options/BalanceParameterValueModelOptions.js +18 -0
- package/enchant/model/options/BalanceParameterValueModelOptions.js.map +1 -0
- package/enchant/model/options/BalanceParameterValueModelOptions.ts +20 -0
- package/enchant/model/options/BalanceParameterValueOptions.d.ts +2 -0
- package/enchant/model/options/BalanceParameterValueOptions.js +18 -0
- package/enchant/model/options/BalanceParameterValueOptions.js.map +1 -0
- package/enchant/model/options/BalanceParameterValueOptions.ts +19 -0
- package/enchant/model/options/NamespaceOptions.d.ts +5 -0
- package/enchant/model/options/NamespaceOptions.js +3 -0
- package/enchant/model/options/NamespaceOptions.js.map +1 -0
- package/enchant/model/options/NamespaceOptions.ts +23 -0
- package/enchant/model/options/RarityParameterCountModelOptions.d.ts +2 -0
- package/enchant/model/options/RarityParameterCountModelOptions.js +18 -0
- package/enchant/model/options/RarityParameterCountModelOptions.js.map +1 -0
- package/enchant/model/options/RarityParameterCountModelOptions.ts +19 -0
- package/enchant/model/options/RarityParameterModelOptions.d.ts +3 -0
- package/enchant/model/options/RarityParameterModelOptions.js +3 -0
- package/enchant/model/options/RarityParameterModelOptions.js.map +1 -0
- package/enchant/model/options/RarityParameterModelOptions.ts +22 -0
- package/enchant/model/options/RarityParameterValueModelOptions.d.ts +3 -0
- package/enchant/model/options/RarityParameterValueModelOptions.js +18 -0
- package/enchant/model/options/RarityParameterValueModelOptions.js.map +1 -0
- package/enchant/model/options/RarityParameterValueModelOptions.ts +20 -0
- package/enchant/model/options/RarityParameterValueOptions.d.ts +2 -0
- package/enchant/model/options/RarityParameterValueOptions.js +18 -0
- package/enchant/model/options/RarityParameterValueOptions.js.map +1 -0
- package/enchant/model/options/RarityParameterValueOptions.ts +19 -0
- package/enchant/ref/BalanceParameterModelRef.d.ts +6 -0
- package/enchant/ref/BalanceParameterModelRef.js +39 -0
- package/enchant/ref/BalanceParameterModelRef.js.map +1 -0
- package/enchant/ref/BalanceParameterModelRef.ts +53 -0
- package/enchant/ref/NamespaceRef.d.ts +17 -0
- package/enchant/ref/NamespaceRef.js +60 -0
- package/enchant/ref/NamespaceRef.js.map +1 -0
- package/enchant/ref/NamespaceRef.ts +135 -0
- package/enchant/ref/RarityParameterModelRef.d.ts +6 -0
- package/enchant/ref/RarityParameterModelRef.js +39 -0
- package/enchant/ref/RarityParameterModelRef.js.map +1 -0
- package/enchant/ref/RarityParameterModelRef.ts +53 -0
- package/enchant/ref/index.d.ts +4 -0
- package/enchant/ref/index.js +26 -0
- package/enchant/ref/index.js.map +1 -0
- package/enchant/ref/index.ts +24 -0
- package/enchant/stampSheet/AddRarityParameterStatusByUserId.d.ts +4 -0
- package/enchant/stampSheet/AddRarityParameterStatusByUserId.js +31 -0
- package/enchant/stampSheet/AddRarityParameterStatusByUserId.js.map +1 -0
- package/enchant/stampSheet/AddRarityParameterStatusByUserId.ts +41 -0
- package/enchant/stampSheet/ReDrawBalanceParameterStatusByUserId.d.ts +4 -0
- package/enchant/stampSheet/ReDrawBalanceParameterStatusByUserId.js +31 -0
- package/enchant/stampSheet/ReDrawBalanceParameterStatusByUserId.js.map +1 -0
- package/enchant/stampSheet/ReDrawBalanceParameterStatusByUserId.ts +41 -0
- package/enchant/stampSheet/ReDrawRarityParameterStatusByUserId.d.ts +4 -0
- package/enchant/stampSheet/ReDrawRarityParameterStatusByUserId.js +31 -0
- package/enchant/stampSheet/ReDrawRarityParameterStatusByUserId.js.map +1 -0
- package/enchant/stampSheet/ReDrawRarityParameterStatusByUserId.ts +41 -0
- package/enchant/stampSheet/VerifyRarityParameterStatusByUserId.d.ts +4 -0
- package/enchant/stampSheet/VerifyRarityParameterStatusByUserId.js +33 -0
- package/enchant/stampSheet/VerifyRarityParameterStatusByUserId.js.map +1 -0
- package/enchant/stampSheet/VerifyRarityParameterStatusByUserId.ts +45 -0
- package/enchant/stampSheet/index.d.ts +5 -0
- package/enchant/stampSheet/index.js +28 -0
- package/enchant/stampSheet/index.js.map +1 -0
- package/enchant/stampSheet/index.ts +26 -0
- package/idle/model/Namespace.js +1 -1
- package/idle/model/Namespace.js.map +1 -1
- package/idle/model/Namespace.ts +2 -2
- package/loginReward/model/Namespace.js +1 -1
- package/loginReward/model/Namespace.js.map +1 -1
- package/loginReward/model/Namespace.ts +2 -2
- package/mission/model/MissionTaskModel.d.ts +1 -0
- package/mission/model/MissionTaskModel.js +9 -4
- package/mission/model/MissionTaskModel.js.map +1 -1
- package/mission/model/MissionTaskModel.ts +6 -0
- package/mission/model/enum/MissionTaskModelTargetResetType.d.ts +7 -0
- package/mission/model/enum/MissionTaskModelTargetResetType.js +25 -0
- package/mission/model/enum/MissionTaskModelTargetResetType.js.map +1 -0
- package/mission/model/enum/MissionTaskModelTargetResetType.ts +25 -0
- package/mission/model/index.d.ts +2 -1
- package/mission/model/index.js +3 -1
- package/mission/model/index.js.map +1 -1
- package/mission/model/index.ts +2 -0
- package/mission/model/options/MissionTaskModelOptions.d.ts +2 -0
- package/mission/model/options/MissionTaskModelOptions.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
|
|
17
|
+
import {CdkResource, Stack} from "../../core/model";
|
|
18
|
+
import {GetAttr} from "../../core/func";
|
|
19
|
+
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
20
|
+
import LogSetting from "../../core/model/LogSetting";
|
|
21
|
+
|
|
22
|
+
import NamespaceRef from "../ref/NamespaceRef";
|
|
23
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
24
|
+
import BalanceParameterModel from "./BalanceParameterModel";
|
|
25
|
+
import RarityParameterModel from "./RarityParameterModel";
|
|
26
|
+
|
|
27
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
28
|
+
|
|
29
|
+
export default class Namespace extends CdkResource {
|
|
30
|
+
private readonly stack: Stack;
|
|
31
|
+
private readonly name: string;
|
|
32
|
+
private readonly transactionSetting: TransactionSetting;
|
|
33
|
+
private readonly description: string|null = null;
|
|
34
|
+
private readonly logSetting: LogSetting|null = null;
|
|
35
|
+
|
|
36
|
+
public constructor(
|
|
37
|
+
stack: Stack,
|
|
38
|
+
name: string,
|
|
39
|
+
transactionSetting: TransactionSetting,
|
|
40
|
+
options: NamespaceOptions|null = null,
|
|
41
|
+
) {
|
|
42
|
+
super(
|
|
43
|
+
"Enchant_Namespace_" + name
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
this.stack = stack;
|
|
47
|
+
this.name = name;
|
|
48
|
+
this.transactionSetting = transactionSetting;
|
|
49
|
+
this.description = options?.description ?? null;
|
|
50
|
+
this.logSetting = options?.logSetting ?? null;
|
|
51
|
+
stack.addResource(
|
|
52
|
+
this,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
public alternateKeys(
|
|
58
|
+
) {
|
|
59
|
+
return "name";
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public resourceType(
|
|
63
|
+
): string {
|
|
64
|
+
return "GS2::Enchant::Namespace";
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public properties(
|
|
68
|
+
): {[name: string]: any} {
|
|
69
|
+
let properties: {[name: string]: any} = {};
|
|
70
|
+
|
|
71
|
+
if (this.name != null) {
|
|
72
|
+
properties["Name"] = this.name;
|
|
73
|
+
}
|
|
74
|
+
if (this.description != null) {
|
|
75
|
+
properties["Description"] = this.description;
|
|
76
|
+
}
|
|
77
|
+
if (this.transactionSetting != null) {
|
|
78
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
if (this.logSetting != null) {
|
|
82
|
+
properties["LogSetting"] = this.logSetting?.properties(
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return properties;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
public ref(
|
|
90
|
+
): NamespaceRef {
|
|
91
|
+
return new NamespaceRef(
|
|
92
|
+
this.name!,
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
public getAttrNamespaceId(
|
|
97
|
+
): GetAttr {
|
|
98
|
+
return new GetAttr(
|
|
99
|
+
this,
|
|
100
|
+
"Item.NamespaceId",
|
|
101
|
+
null,
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public masterData(
|
|
106
|
+
balanceParameterModels: BalanceParameterModel[],
|
|
107
|
+
rarityParameterModels: RarityParameterModel[],
|
|
108
|
+
): Namespace {
|
|
109
|
+
new CurrentMasterData(
|
|
110
|
+
this.stack,
|
|
111
|
+
this.name,
|
|
112
|
+
balanceParameterModels,
|
|
113
|
+
rarityParameterModels,
|
|
114
|
+
).addDependsOn(
|
|
115
|
+
this,
|
|
116
|
+
);
|
|
117
|
+
return this;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RarityParameterCountModelOptions } from "./options/RarityParameterCountModelOptions";
|
|
2
|
+
export default class RarityParameterCountModel {
|
|
3
|
+
private readonly count;
|
|
4
|
+
private readonly weight;
|
|
5
|
+
constructor(count: number, weight: number, options?: RarityParameterCountModelOptions | null);
|
|
6
|
+
properties(): {
|
|
7
|
+
[name: string]: any;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class RarityParameterCountModel {
|
|
4
|
+
constructor(count, weight, options = null) {
|
|
5
|
+
this.count = count;
|
|
6
|
+
this.weight = weight;
|
|
7
|
+
}
|
|
8
|
+
properties() {
|
|
9
|
+
let properties = {};
|
|
10
|
+
if (this.count != null) {
|
|
11
|
+
properties["count"] = this.count;
|
|
12
|
+
}
|
|
13
|
+
if (this.weight != null) {
|
|
14
|
+
properties["weight"] = this.weight;
|
|
15
|
+
}
|
|
16
|
+
return properties;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = RarityParameterCountModel;
|
|
20
|
+
//# sourceMappingURL=RarityParameterCountModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RarityParameterCountModel.js","sourceRoot":"","sources":["RarityParameterCountModel.ts"],"names":[],"mappings":";;AAiBA,MAAqB,yBAAyB;IAI1C,YACI,KAAa,EACb,MAAc,EACd,UAAiD,IAAI;QAErD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1BD,4CA0BC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { RarityParameterCountModelOptions } from "./options/RarityParameterCountModelOptions";
|
|
17
|
+
|
|
18
|
+
export default class RarityParameterCountModel {
|
|
19
|
+
private readonly count: number;
|
|
20
|
+
private readonly weight: number;
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
count: number,
|
|
24
|
+
weight: number,
|
|
25
|
+
options: RarityParameterCountModelOptions|null = null,
|
|
26
|
+
) {
|
|
27
|
+
this.count = count;
|
|
28
|
+
this.weight = weight;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public properties(
|
|
32
|
+
): {[name: string]: any} {
|
|
33
|
+
let properties: {[name: string]: any} = {};
|
|
34
|
+
|
|
35
|
+
if (this.count != null) {
|
|
36
|
+
properties["count"] = this.count;
|
|
37
|
+
}
|
|
38
|
+
if (this.weight != null) {
|
|
39
|
+
properties["weight"] = this.weight;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return properties;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import RarityParameterCountModel from "./RarityParameterCountModel";
|
|
2
|
+
import RarityParameterValueModel from "./RarityParameterValueModel";
|
|
3
|
+
import { RarityParameterModelOptions } from "./options/RarityParameterModelOptions";
|
|
4
|
+
export default class RarityParameterModel {
|
|
5
|
+
private readonly name;
|
|
6
|
+
private readonly maximumParameterCount;
|
|
7
|
+
private readonly parameterCounts;
|
|
8
|
+
private readonly parameters;
|
|
9
|
+
private readonly metadata;
|
|
10
|
+
constructor(name: string, maximumParameterCount: number, parameterCounts: RarityParameterCountModel[], parameters: RarityParameterValueModel[], options?: RarityParameterModelOptions | null);
|
|
11
|
+
properties(): {
|
|
12
|
+
[name: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class RarityParameterModel {
|
|
4
|
+
constructor(name, maximumParameterCount, parameterCounts, parameters, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.metadata = null;
|
|
7
|
+
this.name = name;
|
|
8
|
+
this.maximumParameterCount = maximumParameterCount;
|
|
9
|
+
this.parameterCounts = parameterCounts;
|
|
10
|
+
this.parameters = parameters;
|
|
11
|
+
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
12
|
+
}
|
|
13
|
+
properties() {
|
|
14
|
+
let properties = {};
|
|
15
|
+
if (this.name != null) {
|
|
16
|
+
properties["name"] = this.name;
|
|
17
|
+
}
|
|
18
|
+
if (this.metadata != null) {
|
|
19
|
+
properties["metadata"] = this.metadata;
|
|
20
|
+
}
|
|
21
|
+
if (this.maximumParameterCount != null) {
|
|
22
|
+
properties["maximumParameterCount"] = this.maximumParameterCount;
|
|
23
|
+
}
|
|
24
|
+
if (this.parameterCounts != null) {
|
|
25
|
+
properties["parameterCounts"] = this.parameterCounts.map(v => v.properties());
|
|
26
|
+
}
|
|
27
|
+
if (this.parameters != null) {
|
|
28
|
+
properties["parameters"] = this.parameters.map(v => v.properties());
|
|
29
|
+
}
|
|
30
|
+
return properties;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.default = RarityParameterModel;
|
|
34
|
+
//# sourceMappingURL=RarityParameterModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RarityParameterModel.js","sourceRoot":"","sources":["RarityParameterModel.ts"],"names":[],"mappings":";;AAmBA,MAAqB,oBAAoB;IAOrC,YACI,IAAY,EACZ,qBAA6B,EAC7B,eAA4C,EAC5C,UAAuC,EACvC,UAA4C,IAAI;;QAPnC,aAAQ,GAAgB,IAAI,CAAC;QAS1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC;SACpE;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACrE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC3D,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA7CD,uCA6CC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 RarityParameterCountModel from "./RarityParameterCountModel";
|
|
17
|
+
import RarityParameterValueModel from "./RarityParameterValueModel";
|
|
18
|
+
import { RarityParameterModelOptions } from "./options/RarityParameterModelOptions";
|
|
19
|
+
|
|
20
|
+
export default class RarityParameterModel {
|
|
21
|
+
private readonly name: string;
|
|
22
|
+
private readonly maximumParameterCount: number;
|
|
23
|
+
private readonly parameterCounts: RarityParameterCountModel[];
|
|
24
|
+
private readonly parameters: RarityParameterValueModel[];
|
|
25
|
+
private readonly metadata: string|null = null;
|
|
26
|
+
|
|
27
|
+
public constructor(
|
|
28
|
+
name: string,
|
|
29
|
+
maximumParameterCount: number,
|
|
30
|
+
parameterCounts: RarityParameterCountModel[],
|
|
31
|
+
parameters: RarityParameterValueModel[],
|
|
32
|
+
options: RarityParameterModelOptions|null = null,
|
|
33
|
+
) {
|
|
34
|
+
this.name = name;
|
|
35
|
+
this.maximumParameterCount = maximumParameterCount;
|
|
36
|
+
this.parameterCounts = parameterCounts;
|
|
37
|
+
this.parameters = parameters;
|
|
38
|
+
this.metadata = options?.metadata ?? null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public properties(
|
|
42
|
+
): {[name: string]: any} {
|
|
43
|
+
let properties: {[name: string]: any} = {};
|
|
44
|
+
|
|
45
|
+
if (this.name != null) {
|
|
46
|
+
properties["name"] = this.name;
|
|
47
|
+
}
|
|
48
|
+
if (this.metadata != null) {
|
|
49
|
+
properties["metadata"] = this.metadata;
|
|
50
|
+
}
|
|
51
|
+
if (this.maximumParameterCount != null) {
|
|
52
|
+
properties["maximumParameterCount"] = this.maximumParameterCount;
|
|
53
|
+
}
|
|
54
|
+
if (this.parameterCounts != null) {
|
|
55
|
+
properties["parameterCounts"] = this.parameterCounts.map(v => v.properties(
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
if (this.parameters != null) {
|
|
59
|
+
properties["parameters"] = this.parameters.map(v => v.properties(
|
|
60
|
+
));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return properties;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RarityParameterValueOptions } from "./options/RarityParameterValueOptions";
|
|
2
|
+
export default class RarityParameterValue {
|
|
3
|
+
private readonly name;
|
|
4
|
+
private readonly resourceName;
|
|
5
|
+
private readonly resourceValue;
|
|
6
|
+
constructor(name: string, resourceName: string, resourceValue: number, options?: RarityParameterValueOptions | null);
|
|
7
|
+
properties(): {
|
|
8
|
+
[name: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class RarityParameterValue {
|
|
4
|
+
constructor(name, resourceName, resourceValue, options = null) {
|
|
5
|
+
this.name = name;
|
|
6
|
+
this.resourceName = resourceName;
|
|
7
|
+
this.resourceValue = resourceValue;
|
|
8
|
+
}
|
|
9
|
+
properties() {
|
|
10
|
+
let properties = {};
|
|
11
|
+
if (this.name != null) {
|
|
12
|
+
properties["name"] = this.name;
|
|
13
|
+
}
|
|
14
|
+
if (this.resourceName != null) {
|
|
15
|
+
properties["resourceName"] = this.resourceName;
|
|
16
|
+
}
|
|
17
|
+
if (this.resourceValue != null) {
|
|
18
|
+
properties["resourceValue"] = this.resourceValue;
|
|
19
|
+
}
|
|
20
|
+
return properties;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = RarityParameterValue;
|
|
24
|
+
//# sourceMappingURL=RarityParameterValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RarityParameterValue.js","sourceRoot":"","sources":["RarityParameterValue.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;IAKrC,YACI,IAAY,EACZ,YAAoB,EACpB,aAAqB,EACrB,UAA4C,IAAI;QAEhD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC;SAClD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAhCD,uCAgCC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { RarityParameterValueOptions } from "./options/RarityParameterValueOptions";
|
|
17
|
+
|
|
18
|
+
export default class RarityParameterValue {
|
|
19
|
+
private readonly name: string;
|
|
20
|
+
private readonly resourceName: string;
|
|
21
|
+
private readonly resourceValue: number;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
name: string,
|
|
25
|
+
resourceName: string,
|
|
26
|
+
resourceValue: number,
|
|
27
|
+
options: RarityParameterValueOptions|null = null,
|
|
28
|
+
) {
|
|
29
|
+
this.name = name;
|
|
30
|
+
this.resourceName = resourceName;
|
|
31
|
+
this.resourceValue = resourceValue;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public properties(
|
|
35
|
+
): {[name: string]: any} {
|
|
36
|
+
let properties: {[name: string]: any} = {};
|
|
37
|
+
|
|
38
|
+
if (this.name != null) {
|
|
39
|
+
properties["name"] = this.name;
|
|
40
|
+
}
|
|
41
|
+
if (this.resourceName != null) {
|
|
42
|
+
properties["resourceName"] = this.resourceName;
|
|
43
|
+
}
|
|
44
|
+
if (this.resourceValue != null) {
|
|
45
|
+
properties["resourceValue"] = this.resourceValue;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return properties;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RarityParameterValueModelOptions } from "./options/RarityParameterValueModelOptions";
|
|
2
|
+
export default class RarityParameterValueModel {
|
|
3
|
+
private readonly name;
|
|
4
|
+
private readonly resourceName;
|
|
5
|
+
private readonly resourceValue;
|
|
6
|
+
private readonly weight;
|
|
7
|
+
private readonly metadata;
|
|
8
|
+
constructor(name: string, resourceName: string, resourceValue: number, weight: number, options?: RarityParameterValueModelOptions | null);
|
|
9
|
+
properties(): {
|
|
10
|
+
[name: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class RarityParameterValueModel {
|
|
4
|
+
constructor(name, resourceName, resourceValue, weight, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.metadata = null;
|
|
7
|
+
this.name = name;
|
|
8
|
+
this.resourceName = resourceName;
|
|
9
|
+
this.resourceValue = resourceValue;
|
|
10
|
+
this.weight = weight;
|
|
11
|
+
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
12
|
+
}
|
|
13
|
+
properties() {
|
|
14
|
+
let properties = {};
|
|
15
|
+
if (this.name != null) {
|
|
16
|
+
properties["name"] = this.name;
|
|
17
|
+
}
|
|
18
|
+
if (this.metadata != null) {
|
|
19
|
+
properties["metadata"] = this.metadata;
|
|
20
|
+
}
|
|
21
|
+
if (this.resourceName != null) {
|
|
22
|
+
properties["resourceName"] = this.resourceName;
|
|
23
|
+
}
|
|
24
|
+
if (this.resourceValue != null) {
|
|
25
|
+
properties["resourceValue"] = this.resourceValue;
|
|
26
|
+
}
|
|
27
|
+
if (this.weight != null) {
|
|
28
|
+
properties["weight"] = this.weight;
|
|
29
|
+
}
|
|
30
|
+
return properties;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.default = RarityParameterValueModel;
|
|
34
|
+
//# sourceMappingURL=RarityParameterValueModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RarityParameterValueModel.js","sourceRoot":"","sources":["RarityParameterValueModel.ts"],"names":[],"mappings":";;AAiBA,MAAqB,yBAAyB;IAO1C,YACI,IAAY,EACZ,YAAoB,EACpB,aAAqB,EACrB,MAAc,EACd,UAAiD,IAAI;;QAPxC,aAAQ,GAAgB,IAAI,CAAC;QAS1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC;SAClD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA3CD,4CA2CC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { RarityParameterValueModelOptions } from "./options/RarityParameterValueModelOptions";
|
|
17
|
+
|
|
18
|
+
export default class RarityParameterValueModel {
|
|
19
|
+
private readonly name: string;
|
|
20
|
+
private readonly resourceName: string;
|
|
21
|
+
private readonly resourceValue: number;
|
|
22
|
+
private readonly weight: number;
|
|
23
|
+
private readonly metadata: string|null = null;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
name: string,
|
|
27
|
+
resourceName: string,
|
|
28
|
+
resourceValue: number,
|
|
29
|
+
weight: number,
|
|
30
|
+
options: RarityParameterValueModelOptions|null = null,
|
|
31
|
+
) {
|
|
32
|
+
this.name = name;
|
|
33
|
+
this.resourceName = resourceName;
|
|
34
|
+
this.resourceValue = resourceValue;
|
|
35
|
+
this.weight = weight;
|
|
36
|
+
this.metadata = options?.metadata ?? null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public properties(
|
|
40
|
+
): {[name: string]: any} {
|
|
41
|
+
let properties: {[name: string]: any} = {};
|
|
42
|
+
|
|
43
|
+
if (this.name != null) {
|
|
44
|
+
properties["name"] = this.name;
|
|
45
|
+
}
|
|
46
|
+
if (this.metadata != null) {
|
|
47
|
+
properties["metadata"] = this.metadata;
|
|
48
|
+
}
|
|
49
|
+
if (this.resourceName != null) {
|
|
50
|
+
properties["resourceName"] = this.resourceName;
|
|
51
|
+
}
|
|
52
|
+
if (this.resourceValue != null) {
|
|
53
|
+
properties["resourceValue"] = this.resourceValue;
|
|
54
|
+
}
|
|
55
|
+
if (this.weight != null) {
|
|
56
|
+
properties["weight"] = this.weight;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return properties;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const BalanceParameterModelInitialValueStrategy: {
|
|
2
|
+
readonly AVERAGE: "average";
|
|
3
|
+
readonly LOTTERY: "lottery";
|
|
4
|
+
};
|
|
5
|
+
export type BalanceParameterModelInitialValueStrategy = typeof BalanceParameterModelInitialValueStrategy[keyof typeof BalanceParameterModelInitialValueStrategy];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.BalanceParameterModelInitialValueStrategy = void 0;
|
|
19
|
+
exports.BalanceParameterModelInitialValueStrategy = {
|
|
20
|
+
AVERAGE: "average",
|
|
21
|
+
LOTTERY: "lottery",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=BalanceParameterModelInitialValueStrategy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalanceParameterModelInitialValueStrategy.js","sourceRoot":"","sources":["BalanceParameterModelInitialValueStrategy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,yCAAyC,GAAG;IACrD,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACZ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const BalanceParameterModelInitialValueStrategy = {
|
|
20
|
+
AVERAGE: "average",
|
|
21
|
+
LOTTERY: "lottery",
|
|
22
|
+
} as const;
|
|
23
|
+
export type BalanceParameterModelInitialValueStrategy = typeof BalanceParameterModelInitialValueStrategy[keyof typeof BalanceParameterModelInitialValueStrategy];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Namespace from "./Namespace";
|
|
2
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
|
+
import BalanceParameterModel from "./BalanceParameterModel";
|
|
4
|
+
import { BalanceParameterModelOptions } from "./options/BalanceParameterModelOptions";
|
|
5
|
+
import { BalanceParameterModelInitialValueStrategy } from "./enum/BalanceParameterModelInitialValueStrategy";
|
|
6
|
+
import RarityParameterModel from "./RarityParameterModel";
|
|
7
|
+
import { RarityParameterModelOptions } from "./options/RarityParameterModelOptions";
|
|
8
|
+
import BalanceParameterValueModel from "./BalanceParameterValueModel";
|
|
9
|
+
import { BalanceParameterValueModelOptions } from "./options/BalanceParameterValueModelOptions";
|
|
10
|
+
import RarityParameterCountModel from "./RarityParameterCountModel";
|
|
11
|
+
import { RarityParameterCountModelOptions } from "./options/RarityParameterCountModelOptions";
|
|
12
|
+
import RarityParameterValueModel from "./RarityParameterValueModel";
|
|
13
|
+
import { RarityParameterValueModelOptions } from "./options/RarityParameterValueModelOptions";
|
|
14
|
+
import BalanceParameterValue from "./BalanceParameterValue";
|
|
15
|
+
import { BalanceParameterValueOptions } from "./options/BalanceParameterValueOptions";
|
|
16
|
+
import RarityParameterValue from "./RarityParameterValue";
|
|
17
|
+
import { RarityParameterValueOptions } from "./options/RarityParameterValueOptions";
|
|
18
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
19
|
+
export { Namespace, NamespaceOptions, BalanceParameterModel, BalanceParameterModelOptions, BalanceParameterModelInitialValueStrategy, RarityParameterModel, RarityParameterModelOptions, BalanceParameterValueModel, BalanceParameterValueModelOptions, RarityParameterCountModel, RarityParameterCountModelOptions, RarityParameterValueModel, RarityParameterValueModelOptions, BalanceParameterValue, BalanceParameterValueOptions, RarityParameterValue, RarityParameterValueOptions, CurrentMasterData, };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CurrentMasterData = exports.RarityParameterValue = exports.BalanceParameterValue = exports.RarityParameterValueModel = exports.RarityParameterCountModel = exports.BalanceParameterValueModel = exports.RarityParameterModel = exports.BalanceParameterModelInitialValueStrategy = exports.BalanceParameterModel = exports.Namespace = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
* Reserved.
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
* You may not use this file except in compliance with the License.
|
|
11
|
+
* A copy of the License is located at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
* express or implied. See the License for the specific language governing
|
|
18
|
+
* permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
21
|
+
exports.Namespace = Namespace_1.default;
|
|
22
|
+
const BalanceParameterModel_1 = tslib_1.__importDefault(require("./BalanceParameterModel"));
|
|
23
|
+
exports.BalanceParameterModel = BalanceParameterModel_1.default;
|
|
24
|
+
const BalanceParameterModelInitialValueStrategy_1 = require("./enum/BalanceParameterModelInitialValueStrategy");
|
|
25
|
+
Object.defineProperty(exports, "BalanceParameterModelInitialValueStrategy", { enumerable: true, get: function () { return BalanceParameterModelInitialValueStrategy_1.BalanceParameterModelInitialValueStrategy; } });
|
|
26
|
+
const RarityParameterModel_1 = tslib_1.__importDefault(require("./RarityParameterModel"));
|
|
27
|
+
exports.RarityParameterModel = RarityParameterModel_1.default;
|
|
28
|
+
const BalanceParameterValueModel_1 = tslib_1.__importDefault(require("./BalanceParameterValueModel"));
|
|
29
|
+
exports.BalanceParameterValueModel = BalanceParameterValueModel_1.default;
|
|
30
|
+
const RarityParameterCountModel_1 = tslib_1.__importDefault(require("./RarityParameterCountModel"));
|
|
31
|
+
exports.RarityParameterCountModel = RarityParameterCountModel_1.default;
|
|
32
|
+
const RarityParameterValueModel_1 = tslib_1.__importDefault(require("./RarityParameterValueModel"));
|
|
33
|
+
exports.RarityParameterValueModel = RarityParameterValueModel_1.default;
|
|
34
|
+
const BalanceParameterValue_1 = tslib_1.__importDefault(require("./BalanceParameterValue"));
|
|
35
|
+
exports.BalanceParameterValue = BalanceParameterValue_1.default;
|
|
36
|
+
const RarityParameterValue_1 = tslib_1.__importDefault(require("./RarityParameterValue"));
|
|
37
|
+
exports.RarityParameterValue = RarityParameterValue_1.default;
|
|
38
|
+
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
|
39
|
+
exports.CurrentMasterData = CurrentMasterData_1.default;
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAoBhC,oBApBG,mBAAS,CAoBH;AAlBb,4FAA4D;AAoBxD,gCApBG,+BAAqB,CAoBH;AAlBzB,gHAA6G;AAoBzG,0HApBK,qFAAyC,OAoBL;AAnB7C,0FAA0D;AAoBtD,+BApBG,8BAAoB,CAoBH;AAlBxB,sGAAsE;AAoBlE,qCApBG,oCAA0B,CAoBH;AAlB9B,oGAAoE;AAoBhE,oCApBG,mCAAyB,CAoBH;AAlB7B,oGAAoE;AAoBhE,oCApBG,mCAAyB,CAoBH;AAlB7B,4FAA4D;AAoBxD,gCApBG,+BAAqB,CAoBH;AAlBzB,0FAA0D;AAoBtD,+BApBG,8BAAoB,CAoBH;AAlBxB,oFAAoD;AAoBhD,4BApBG,2BAAiB,CAoBH"}
|