gs2-cdk 1.0.60 → 1.0.61
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/guild/ref/GuildModelRef.d.ts +5 -0
- package/guild/ref/GuildModelRef.js +8 -0
- package/guild/ref/GuildModelRef.js.map +1 -1
- package/guild/ref/GuildModelRef.ts +33 -0
- package/guild/ref/GuildRef.d.ts +5 -0
- package/guild/ref/GuildRef.js +10 -0
- package/guild/ref/GuildRef.js.map +1 -1
- package/guild/ref/GuildRef.ts +34 -0
- package/guild/ref/NamespaceRef.d.ts +5 -0
- package/guild/ref/NamespaceRef.js +8 -0
- package/guild/ref/NamespaceRef.js.map +1 -1
- package/guild/ref/NamespaceRef.ts +35 -0
- package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.d.ts +15 -0
- package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.js +58 -0
- package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.js.map +1 -0
- package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.ts +76 -0
- package/guild/stampSheet/VerifyIncludeMemberByUserId.d.ts +15 -0
- package/guild/stampSheet/VerifyIncludeMemberByUserId.js +55 -0
- package/guild/stampSheet/VerifyIncludeMemberByUserId.js.map +1 -0
- package/guild/stampSheet/VerifyIncludeMemberByUserId.ts +73 -0
- package/guild/stampSheet/enum/GuildVerifyType.d.ts +5 -0
- package/guild/stampSheet/enum/GuildVerifyType.js +23 -0
- package/guild/stampSheet/enum/GuildVerifyType.js.map +1 -0
- package/guild/stampSheet/enum/GuildVerifyType.ts +23 -0
- package/guild/stampSheet/index.d.ts +3 -1
- package/guild/stampSheet/index.js +5 -1
- package/guild/stampSheet/index.js.map +1 -1
- package/guild/stampSheet/index.ts +4 -0
- package/idle/ref/NamespaceRef.d.ts +3 -0
- package/idle/ref/NamespaceRef.js +4 -0
- package/idle/ref/NamespaceRef.js.map +1 -1
- package/idle/ref/NamespaceRef.ts +15 -0
- package/idle/stampSheet/ReceiveByUserId.d.ts +14 -0
- package/idle/stampSheet/ReceiveByUserId.js +54 -0
- package/idle/stampSheet/ReceiveByUserId.js.map +1 -0
- package/idle/stampSheet/ReceiveByUserId.ts +71 -0
- package/idle/stampSheet/index.d.ts +2 -1
- package/idle/stampSheet/index.js +3 -1
- package/idle/stampSheet/index.js.map +1 -1
- package/idle/stampSheet/index.ts +2 -0
- package/package.json +1 -1
- package/ranking2/index.d.ts +12 -0
- package/ranking2/index.js +32 -0
- package/ranking2/index.js.map +1 -0
- package/ranking2/index.ts +36 -0
- package/ranking2/model/ClusterRankingModel.d.ts +19 -0
- package/ranking2/model/ClusterRankingModel.js +59 -0
- package/ranking2/model/ClusterRankingModel.js.map +1 -0
- package/ranking2/model/ClusterRankingModel.ts +91 -0
- package/ranking2/model/CurrentMasterData.d.ts +17 -0
- package/ranking2/model/CurrentMasterData.js +58 -0
- package/ranking2/model/CurrentMasterData.js.map +1 -0
- package/ranking2/model/CurrentMasterData.ts +86 -0
- package/ranking2/model/GlobalRankingModel.d.ts +17 -0
- package/ranking2/model/GlobalRankingModel.js +55 -0
- package/ranking2/model/GlobalRankingModel.js.map +1 -0
- package/ranking2/model/GlobalRankingModel.ts +84 -0
- package/ranking2/model/Namespace.d.ts +23 -0
- package/ranking2/model/Namespace.js +72 -0
- package/ranking2/model/Namespace.js.map +1 -0
- package/ranking2/model/Namespace.ts +121 -0
- package/ranking2/model/RankingReward.d.ts +10 -0
- package/ranking2/model/RankingReward.js +27 -0
- package/ranking2/model/RankingReward.js.map +1 -0
- package/ranking2/model/RankingReward.ts +50 -0
- package/ranking2/model/SubscribeRankingModel.d.ts +16 -0
- package/ranking2/model/SubscribeRankingModel.js +50 -0
- package/ranking2/model/SubscribeRankingModel.js.map +1 -0
- package/ranking2/model/SubscribeRankingModel.ts +76 -0
- package/ranking2/model/enum/ClusterRankingModelClusterType.d.ts +5 -0
- package/ranking2/model/enum/ClusterRankingModelClusterType.js +23 -0
- package/ranking2/model/enum/ClusterRankingModelClusterType.js.map +1 -0
- package/ranking2/model/enum/ClusterRankingModelClusterType.ts +23 -0
- package/ranking2/model/enum/ClusterRankingModelOrderDirection.d.ts +5 -0
- package/ranking2/model/enum/ClusterRankingModelOrderDirection.js +23 -0
- package/ranking2/model/enum/ClusterRankingModelOrderDirection.js.map +1 -0
- package/ranking2/model/enum/ClusterRankingModelOrderDirection.ts +23 -0
- package/ranking2/model/enum/GlobalRankingModelOrderDirection.d.ts +5 -0
- package/ranking2/model/enum/GlobalRankingModelOrderDirection.js +23 -0
- package/ranking2/model/enum/GlobalRankingModelOrderDirection.js.map +1 -0
- package/ranking2/model/enum/GlobalRankingModelOrderDirection.ts +23 -0
- package/ranking2/model/enum/SubscribeRankingModelOrderDirection.d.ts +5 -0
- package/ranking2/model/enum/SubscribeRankingModelOrderDirection.js +23 -0
- package/ranking2/model/enum/SubscribeRankingModelOrderDirection.js.map +1 -0
- package/ranking2/model/enum/SubscribeRankingModelOrderDirection.ts +23 -0
- package/ranking2/model/index.d.ts +16 -0
- package/ranking2/model/index.js +40 -0
- package/ranking2/model/index.js.map +1 -0
- package/ranking2/model/index.ts +48 -0
- package/ranking2/model/options/ClusterRankingModelOptions.d.ts +9 -0
- package/ranking2/model/options/ClusterRankingModelOptions.js +3 -0
- package/ranking2/model/options/ClusterRankingModelOptions.js.map +1 -0
- package/ranking2/model/options/ClusterRankingModelOptions.ts +29 -0
- package/ranking2/model/options/GlobalRankingModelOptions.d.ts +9 -0
- package/ranking2/model/options/GlobalRankingModelOptions.js +3 -0
- package/ranking2/model/options/GlobalRankingModelOptions.js.map +1 -0
- package/ranking2/model/options/GlobalRankingModelOptions.ts +28 -0
- package/ranking2/model/options/NamespaceOptions.d.ts +7 -0
- package/ranking2/model/options/NamespaceOptions.js +3 -0
- package/ranking2/model/options/NamespaceOptions.js.map +1 -0
- package/ranking2/model/options/NamespaceOptions.ts +24 -0
- package/ranking2/model/options/RankingRewardOptions.d.ts +5 -0
- package/ranking2/model/options/RankingRewardOptions.js +3 -0
- package/ranking2/model/options/RankingRewardOptions.js.map +1 -0
- package/ranking2/model/options/RankingRewardOptions.ts +22 -0
- package/ranking2/model/options/SubscribeRankingModelOptions.d.ts +7 -0
- package/ranking2/model/options/SubscribeRankingModelOptions.js +3 -0
- package/ranking2/model/options/SubscribeRankingModelOptions.js.map +1 -0
- package/ranking2/model/options/SubscribeRankingModelOptions.ts +25 -0
- package/ranking2/ref/ClusterRankingBorderRef.d.ts +8 -0
- package/ranking2/ref/ClusterRankingBorderRef.js +47 -0
- package/ranking2/ref/ClusterRankingBorderRef.js.map +1 -0
- package/ranking2/ref/ClusterRankingBorderRef.ts +65 -0
- package/ranking2/ref/ClusterRankingModelRef.d.ts +6 -0
- package/ranking2/ref/ClusterRankingModelRef.js +38 -0
- package/ranking2/ref/ClusterRankingModelRef.js.map +1 -0
- package/ranking2/ref/ClusterRankingModelRef.ts +53 -0
- package/ranking2/ref/ClusterRankingSeasonRef.d.ts +8 -0
- package/ranking2/ref/ClusterRankingSeasonRef.js +46 -0
- package/ranking2/ref/ClusterRankingSeasonRef.js.map +1 -0
- package/ranking2/ref/ClusterRankingSeasonRef.ts +65 -0
- package/ranking2/ref/GlobalRankingBorderRef.d.ts +7 -0
- package/ranking2/ref/GlobalRankingBorderRef.js +45 -0
- package/ranking2/ref/GlobalRankingBorderRef.js.map +1 -0
- package/ranking2/ref/GlobalRankingBorderRef.ts +61 -0
- package/ranking2/ref/GlobalRankingModelRef.d.ts +6 -0
- package/ranking2/ref/GlobalRankingModelRef.js +38 -0
- package/ranking2/ref/GlobalRankingModelRef.js.map +1 -0
- package/ranking2/ref/GlobalRankingModelRef.ts +53 -0
- package/ranking2/ref/GlobalRankingSeasonRef.d.ts +7 -0
- package/ranking2/ref/GlobalRankingSeasonRef.js +44 -0
- package/ranking2/ref/GlobalRankingSeasonRef.js.map +1 -0
- package/ranking2/ref/GlobalRankingSeasonRef.ts +61 -0
- package/ranking2/ref/NamespaceRef.d.ts +15 -0
- package/ranking2/ref/NamespaceRef.js +56 -0
- package/ranking2/ref/NamespaceRef.js.map +1 -0
- package/ranking2/ref/NamespaceRef.ts +107 -0
- package/ranking2/ref/SubscribeRankingModelRef.d.ts +6 -0
- package/ranking2/ref/SubscribeRankingModelRef.js +38 -0
- package/ranking2/ref/SubscribeRankingModelRef.js.map +1 -0
- package/ranking2/ref/SubscribeRankingModelRef.ts +52 -0
- package/ranking2/ref/index.d.ts +9 -0
- package/ranking2/ref/index.js +36 -0
- package/ranking2/ref/index.js.map +1 -0
- package/ranking2/ref/index.ts +34 -0
- package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.d.ts +14 -0
- package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.js +58 -0
- package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.js.map +1 -0
- package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.ts +75 -0
- package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.d.ts +13 -0
- package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.js +54 -0
- package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.js.map +1 -0
- package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.ts +69 -0
- package/ranking2/stampSheet/index.d.ts +3 -0
- package/ranking2/stampSheet/index.js +24 -0
- package/ranking2/stampSheet/index.js.map +1 -0
- package/ranking2/stampSheet/index.ts +22 -0
|
@@ -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 { AcquireAction } from "../../../core/model";
|
|
17
|
+
|
|
18
|
+
export interface RankingRewardOptions {
|
|
19
|
+
metadata?: string|null;
|
|
20
|
+
acquireActions?: AcquireAction[]|null;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscribeRankingModelOptions.js","sourceRoot":"","sources":["SubscribeRankingModelOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { SubscribeRankingModelOrderDirection } from "../enum/SubscribeRankingModelOrderDirection";
|
|
17
|
+
|
|
18
|
+
export interface SubscribeRankingModelOptions {
|
|
19
|
+
metadata?: string|null;
|
|
20
|
+
minimumValue?: number|null;
|
|
21
|
+
maximumValue?: number|null;
|
|
22
|
+
entryPeriodEventId?: string|null;
|
|
23
|
+
accessPeriodEventId?: string|null;
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default class ClusterRankingBorderRef {
|
|
2
|
+
private readonly namespaceName;
|
|
3
|
+
private readonly rankingName;
|
|
4
|
+
private readonly clusterName;
|
|
5
|
+
private readonly season;
|
|
6
|
+
constructor(namespaceName: string, rankingName: string, clusterName: string, season: number);
|
|
7
|
+
grn(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
class ClusterRankingBorderRef {
|
|
22
|
+
constructor(namespaceName, rankingName, clusterName, season) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.rankingName = rankingName;
|
|
25
|
+
this.clusterName = clusterName;
|
|
26
|
+
this.season = season;
|
|
27
|
+
}
|
|
28
|
+
grn() {
|
|
29
|
+
return new func_1.Join(":", [
|
|
30
|
+
"grn",
|
|
31
|
+
"gs2",
|
|
32
|
+
func_1.GetAttr.region().str(),
|
|
33
|
+
func_1.GetAttr.ownerId().str(),
|
|
34
|
+
"ranking2",
|
|
35
|
+
this.namespaceName,
|
|
36
|
+
"cluster",
|
|
37
|
+
this.rankingName,
|
|
38
|
+
"ranking",
|
|
39
|
+
"cluster",
|
|
40
|
+
this.clusterName,
|
|
41
|
+
this.season.toString(),
|
|
42
|
+
"border",
|
|
43
|
+
]).str();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.default = ClusterRankingBorderRef;
|
|
47
|
+
//# sourceMappingURL=ClusterRankingBorderRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterRankingBorderRef.js","sourceRoot":"","sources":["ClusterRankingBorderRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAE9C,MAAqB,uBAAuB;IAMxC,YACI,aAAqB,EACrB,WAAmB,EACnB,WAAmB,EACnB,MAAc;QAEd,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,SAAS;YACT,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YACtB,QAAQ;SACX,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5CD,0CA4CC"}
|
|
@@ -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
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import {GetAttr, Join} from "../../core/func";
|
|
20
|
+
|
|
21
|
+
export default class ClusterRankingBorderRef {
|
|
22
|
+
private readonly namespaceName: string;
|
|
23
|
+
private readonly rankingName: string;
|
|
24
|
+
private readonly clusterName: string;
|
|
25
|
+
private readonly season: number;
|
|
26
|
+
|
|
27
|
+
public constructor(
|
|
28
|
+
namespaceName: string,
|
|
29
|
+
rankingName: string,
|
|
30
|
+
clusterName: string,
|
|
31
|
+
season: number,
|
|
32
|
+
) {
|
|
33
|
+
this.namespaceName = namespaceName;
|
|
34
|
+
this.rankingName = rankingName;
|
|
35
|
+
this.clusterName = clusterName;
|
|
36
|
+
this.season = season;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public grn(
|
|
40
|
+
): string {
|
|
41
|
+
return new Join(
|
|
42
|
+
":",
|
|
43
|
+
[
|
|
44
|
+
"grn",
|
|
45
|
+
"gs2",
|
|
46
|
+
GetAttr.region(
|
|
47
|
+
).str(
|
|
48
|
+
),
|
|
49
|
+
GetAttr.ownerId(
|
|
50
|
+
).str(
|
|
51
|
+
),
|
|
52
|
+
"ranking2",
|
|
53
|
+
this.namespaceName,
|
|
54
|
+
"cluster",
|
|
55
|
+
this.rankingName,
|
|
56
|
+
"ranking",
|
|
57
|
+
"cluster",
|
|
58
|
+
this.clusterName,
|
|
59
|
+
this.season.toString(),
|
|
60
|
+
"border",
|
|
61
|
+
],
|
|
62
|
+
).str(
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
const func_1 = require("../../core/func");
|
|
19
|
+
class ClusterRankingModelRef {
|
|
20
|
+
constructor(namespaceName, rankingName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.rankingName = rankingName;
|
|
23
|
+
}
|
|
24
|
+
grn() {
|
|
25
|
+
return new func_1.Join(":", [
|
|
26
|
+
"grn",
|
|
27
|
+
"gs2",
|
|
28
|
+
func_1.GetAttr.region().str(),
|
|
29
|
+
func_1.GetAttr.ownerId().str(),
|
|
30
|
+
"ranking2",
|
|
31
|
+
this.namespaceName,
|
|
32
|
+
"cluster",
|
|
33
|
+
this.rankingName,
|
|
34
|
+
]).str();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = ClusterRankingModelRef;
|
|
38
|
+
//# sourceMappingURL=ClusterRankingModelRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterRankingModelRef.js","sourceRoot":"","sources":["ClusterRankingModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAG9C,MAAqB,sBAAsB;IAIvC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,yCAiCC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 {GetAttr, Join} from "../../core/func";
|
|
18
|
+
import ClusterRankingSeasonRef from "./ClusterRankingSeasonRef";
|
|
19
|
+
|
|
20
|
+
export default class ClusterRankingModelRef {
|
|
21
|
+
private readonly namespaceName: string;
|
|
22
|
+
private readonly rankingName: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
rankingName: string,
|
|
27
|
+
) {
|
|
28
|
+
this.namespaceName = namespaceName;
|
|
29
|
+
this.rankingName = rankingName;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public grn(
|
|
33
|
+
): string {
|
|
34
|
+
return new Join(
|
|
35
|
+
":",
|
|
36
|
+
[
|
|
37
|
+
"grn",
|
|
38
|
+
"gs2",
|
|
39
|
+
GetAttr.region(
|
|
40
|
+
).str(
|
|
41
|
+
),
|
|
42
|
+
GetAttr.ownerId(
|
|
43
|
+
).str(
|
|
44
|
+
),
|
|
45
|
+
"ranking2",
|
|
46
|
+
this.namespaceName,
|
|
47
|
+
"cluster",
|
|
48
|
+
this.rankingName,
|
|
49
|
+
],
|
|
50
|
+
).str(
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default class ClusterRankingSeasonRef {
|
|
2
|
+
private readonly namespaceName;
|
|
3
|
+
private readonly rankingName;
|
|
4
|
+
private readonly clusterName;
|
|
5
|
+
private readonly season;
|
|
6
|
+
constructor(namespaceName: string, rankingName: string, clusterName: string, season: number);
|
|
7
|
+
grn(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
class ClusterRankingSeasonRef {
|
|
22
|
+
constructor(namespaceName, rankingName, clusterName, season) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.rankingName = rankingName;
|
|
25
|
+
this.clusterName = clusterName;
|
|
26
|
+
this.season = season;
|
|
27
|
+
}
|
|
28
|
+
grn() {
|
|
29
|
+
return new func_1.Join(":", [
|
|
30
|
+
"grn",
|
|
31
|
+
"gs2",
|
|
32
|
+
func_1.GetAttr.region().str(),
|
|
33
|
+
func_1.GetAttr.ownerId().str(),
|
|
34
|
+
"ranking2",
|
|
35
|
+
this.namespaceName,
|
|
36
|
+
"cluster",
|
|
37
|
+
this.rankingName,
|
|
38
|
+
"ranking",
|
|
39
|
+
"cluster",
|
|
40
|
+
this.clusterName,
|
|
41
|
+
this.season.toString(),
|
|
42
|
+
]).str();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.default = ClusterRankingSeasonRef;
|
|
46
|
+
//# sourceMappingURL=ClusterRankingSeasonRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterRankingSeasonRef.js","sourceRoot":"","sources":["ClusterRankingSeasonRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAG9C,MAAqB,uBAAuB;IAMxC,YACI,aAAqB,EACrB,WAAmB,EACnB,WAAmB,EACnB,MAAc;QAEd,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,SAAS;YACT,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;SACzB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA3CD,0CA2CC"}
|
|
@@ -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
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import {GetAttr, Join} from "../../core/func";
|
|
20
|
+
import ClusterRankingBorderRef from "./ClusterRankingBorderRef";
|
|
21
|
+
|
|
22
|
+
export default class ClusterRankingSeasonRef {
|
|
23
|
+
private readonly namespaceName: string;
|
|
24
|
+
private readonly rankingName: string;
|
|
25
|
+
private readonly clusterName: string;
|
|
26
|
+
private readonly season: number;
|
|
27
|
+
|
|
28
|
+
public constructor(
|
|
29
|
+
namespaceName: string,
|
|
30
|
+
rankingName: string,
|
|
31
|
+
clusterName: string,
|
|
32
|
+
season: number,
|
|
33
|
+
) {
|
|
34
|
+
this.namespaceName = namespaceName;
|
|
35
|
+
this.rankingName = rankingName;
|
|
36
|
+
this.clusterName = clusterName;
|
|
37
|
+
this.season = season;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public grn(
|
|
41
|
+
): string {
|
|
42
|
+
return new Join(
|
|
43
|
+
":",
|
|
44
|
+
[
|
|
45
|
+
"grn",
|
|
46
|
+
"gs2",
|
|
47
|
+
GetAttr.region(
|
|
48
|
+
).str(
|
|
49
|
+
),
|
|
50
|
+
GetAttr.ownerId(
|
|
51
|
+
).str(
|
|
52
|
+
),
|
|
53
|
+
"ranking2",
|
|
54
|
+
this.namespaceName,
|
|
55
|
+
"cluster",
|
|
56
|
+
this.rankingName,
|
|
57
|
+
"ranking",
|
|
58
|
+
"cluster",
|
|
59
|
+
this.clusterName,
|
|
60
|
+
this.season.toString(),
|
|
61
|
+
],
|
|
62
|
+
).str(
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
class GlobalRankingBorderRef {
|
|
22
|
+
constructor(namespaceName, rankingName, season) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.rankingName = rankingName;
|
|
25
|
+
this.season = season;
|
|
26
|
+
}
|
|
27
|
+
grn() {
|
|
28
|
+
return new func_1.Join(":", [
|
|
29
|
+
"grn",
|
|
30
|
+
"gs2",
|
|
31
|
+
func_1.GetAttr.region().str(),
|
|
32
|
+
func_1.GetAttr.ownerId().str(),
|
|
33
|
+
"ranking2",
|
|
34
|
+
this.namespaceName,
|
|
35
|
+
"global",
|
|
36
|
+
this.rankingName,
|
|
37
|
+
"ranking",
|
|
38
|
+
"global",
|
|
39
|
+
this.season.toString(),
|
|
40
|
+
"border",
|
|
41
|
+
]).str();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.default = GlobalRankingBorderRef;
|
|
45
|
+
//# sourceMappingURL=GlobalRankingBorderRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalRankingBorderRef.js","sourceRoot":"","sources":["GlobalRankingBorderRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAE9C,MAAqB,sBAAsB;IAKvC,YACI,aAAqB,EACrB,WAAmB,EACnB,MAAc;QAEd,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,IAAI,CAAC,WAAW;YAChB,SAAS;YACT,QAAQ;YACR,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YACtB,QAAQ;SACX,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAxCD,yCAwCC"}
|
|
@@ -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
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import {GetAttr, Join} from "../../core/func";
|
|
20
|
+
|
|
21
|
+
export default class GlobalRankingBorderRef {
|
|
22
|
+
private readonly namespaceName: string;
|
|
23
|
+
private readonly rankingName: string;
|
|
24
|
+
private readonly season: number;
|
|
25
|
+
|
|
26
|
+
public constructor(
|
|
27
|
+
namespaceName: string,
|
|
28
|
+
rankingName: string,
|
|
29
|
+
season: number,
|
|
30
|
+
) {
|
|
31
|
+
this.namespaceName = namespaceName;
|
|
32
|
+
this.rankingName = rankingName;
|
|
33
|
+
this.season = season;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public grn(
|
|
37
|
+
): string {
|
|
38
|
+
return new Join(
|
|
39
|
+
":",
|
|
40
|
+
[
|
|
41
|
+
"grn",
|
|
42
|
+
"gs2",
|
|
43
|
+
GetAttr.region(
|
|
44
|
+
).str(
|
|
45
|
+
),
|
|
46
|
+
GetAttr.ownerId(
|
|
47
|
+
).str(
|
|
48
|
+
),
|
|
49
|
+
"ranking2",
|
|
50
|
+
this.namespaceName,
|
|
51
|
+
"global",
|
|
52
|
+
this.rankingName,
|
|
53
|
+
"ranking",
|
|
54
|
+
"global",
|
|
55
|
+
this.season.toString(),
|
|
56
|
+
"border",
|
|
57
|
+
],
|
|
58
|
+
).str(
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
const func_1 = require("../../core/func");
|
|
19
|
+
class GlobalRankingModelRef {
|
|
20
|
+
constructor(namespaceName, rankingName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.rankingName = rankingName;
|
|
23
|
+
}
|
|
24
|
+
grn() {
|
|
25
|
+
return new func_1.Join(":", [
|
|
26
|
+
"grn",
|
|
27
|
+
"gs2",
|
|
28
|
+
func_1.GetAttr.region().str(),
|
|
29
|
+
func_1.GetAttr.ownerId().str(),
|
|
30
|
+
"ranking2",
|
|
31
|
+
this.namespaceName,
|
|
32
|
+
"global",
|
|
33
|
+
this.rankingName,
|
|
34
|
+
]).str();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = GlobalRankingModelRef;
|
|
38
|
+
//# sourceMappingURL=GlobalRankingModelRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalRankingModelRef.js","sourceRoot":"","sources":["GlobalRankingModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAG9C,MAAqB,qBAAqB;IAItC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,wCAiCC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 {GetAttr, Join} from "../../core/func";
|
|
18
|
+
import GlobalRankingSeasonRef from "./GlobalRankingSeasonRef";
|
|
19
|
+
|
|
20
|
+
export default class GlobalRankingModelRef {
|
|
21
|
+
private readonly namespaceName: string;
|
|
22
|
+
private readonly rankingName: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
rankingName: string,
|
|
27
|
+
) {
|
|
28
|
+
this.namespaceName = namespaceName;
|
|
29
|
+
this.rankingName = rankingName;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public grn(
|
|
33
|
+
): string {
|
|
34
|
+
return new Join(
|
|
35
|
+
":",
|
|
36
|
+
[
|
|
37
|
+
"grn",
|
|
38
|
+
"gs2",
|
|
39
|
+
GetAttr.region(
|
|
40
|
+
).str(
|
|
41
|
+
),
|
|
42
|
+
GetAttr.ownerId(
|
|
43
|
+
).str(
|
|
44
|
+
),
|
|
45
|
+
"ranking2",
|
|
46
|
+
this.namespaceName,
|
|
47
|
+
"global",
|
|
48
|
+
this.rankingName,
|
|
49
|
+
],
|
|
50
|
+
).str(
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
}
|