gs2-cdk 1.0.59 → 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/buff/model/Namespace.d.ts +1 -0
- package/buff/model/Namespace.js +9 -4
- package/buff/model/Namespace.js.map +1 -1
- package/buff/model/Namespace.ts +7 -0
- package/buff/model/OverrideBuffRate.d.ts +9 -0
- package/buff/model/OverrideBuffRate.js +20 -0
- package/buff/model/OverrideBuffRate.js.map +1 -0
- package/buff/model/OverrideBuffRate.ts +44 -0
- package/buff/model/index.d.ts +3 -1
- package/buff/model/index.js +3 -1
- package/buff/model/index.js.map +1 -1
- package/buff/model/index.ts +4 -0
- package/buff/model/options/NamespaceOptions.d.ts +2 -0
- package/buff/model/options/NamespaceOptions.ts +2 -0
- package/buff/model/options/OverrideBuffRateOptions.d.ts +2 -0
- package/buff/model/options/OverrideBuffRateOptions.js +18 -0
- package/buff/model/options/OverrideBuffRateOptions.js.map +1 -0
- package/buff/model/options/OverrideBuffRateOptions.ts +19 -0
- 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 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 GlobalRankingSeasonRef {
|
|
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
|
+
]).str();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.default = GlobalRankingSeasonRef;
|
|
44
|
+
//# sourceMappingURL=GlobalRankingSeasonRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalRankingSeasonRef.js","sourceRoot":"","sources":["GlobalRankingSeasonRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAG9C,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;SACzB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvCD,yCAuCC"}
|
|
@@ -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
|
+
import GlobalRankingBorderRef from "./GlobalRankingBorderRef";
|
|
21
|
+
|
|
22
|
+
export default class GlobalRankingSeasonRef {
|
|
23
|
+
private readonly namespaceName: string;
|
|
24
|
+
private readonly rankingName: string;
|
|
25
|
+
private readonly season: number;
|
|
26
|
+
|
|
27
|
+
public constructor(
|
|
28
|
+
namespaceName: string,
|
|
29
|
+
rankingName: string,
|
|
30
|
+
season: number,
|
|
31
|
+
) {
|
|
32
|
+
this.namespaceName = namespaceName;
|
|
33
|
+
this.rankingName = rankingName;
|
|
34
|
+
this.season = season;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public grn(
|
|
38
|
+
): string {
|
|
39
|
+
return new Join(
|
|
40
|
+
":",
|
|
41
|
+
[
|
|
42
|
+
"grn",
|
|
43
|
+
"gs2",
|
|
44
|
+
GetAttr.region(
|
|
45
|
+
).str(
|
|
46
|
+
),
|
|
47
|
+
GetAttr.ownerId(
|
|
48
|
+
).str(
|
|
49
|
+
),
|
|
50
|
+
"ranking2",
|
|
51
|
+
this.namespaceName,
|
|
52
|
+
"global",
|
|
53
|
+
this.rankingName,
|
|
54
|
+
"ranking",
|
|
55
|
+
"global",
|
|
56
|
+
this.season.toString(),
|
|
57
|
+
],
|
|
58
|
+
).str(
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import GlobalRankingModelRef from "./GlobalRankingModelRef";
|
|
2
|
+
import SubscribeRankingModelRef from "./SubscribeRankingModelRef";
|
|
3
|
+
import ClusterRankingModelRef from "./ClusterRankingModelRef";
|
|
4
|
+
import CreateGlobalRankingReceivedRewardByUserId from "../stampSheet/CreateGlobalRankingReceivedRewardByUserId";
|
|
5
|
+
import CreateClusterRankingReceivedRewardByUserId from "../stampSheet/CreateClusterRankingReceivedRewardByUserId";
|
|
6
|
+
export default class NamespaceRef {
|
|
7
|
+
private readonly namespaceName;
|
|
8
|
+
constructor(namespaceName: string);
|
|
9
|
+
globalRankingModel(rankingName: string): GlobalRankingModelRef;
|
|
10
|
+
subscribeRankingModel(rankingName: string): SubscribeRankingModelRef;
|
|
11
|
+
clusterRankingModel(rankingName: string): ClusterRankingModelRef;
|
|
12
|
+
createGlobalRankingReceivedReward(rankingName: string, season?: number | null, userId?: string): CreateGlobalRankingReceivedRewardByUserId;
|
|
13
|
+
createClusterRankingReceivedReward(rankingName: string, clusterName: string, season?: number | null, userId?: string): CreateClusterRankingReceivedRewardByUserId;
|
|
14
|
+
grn(): string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 tslib_1 = require("tslib");
|
|
19
|
+
const func_1 = require("../../core/func");
|
|
20
|
+
const GlobalRankingModelRef_1 = tslib_1.__importDefault(require("./GlobalRankingModelRef"));
|
|
21
|
+
const SubscribeRankingModelRef_1 = tslib_1.__importDefault(require("./SubscribeRankingModelRef"));
|
|
22
|
+
const ClusterRankingModelRef_1 = tslib_1.__importDefault(require("./ClusterRankingModelRef"));
|
|
23
|
+
const CreateGlobalRankingReceivedRewardByUserId_1 = tslib_1.__importDefault(require("../stampSheet/CreateGlobalRankingReceivedRewardByUserId"));
|
|
24
|
+
const CreateClusterRankingReceivedRewardByUserId_1 = tslib_1.__importDefault(require("../stampSheet/CreateClusterRankingReceivedRewardByUserId"));
|
|
25
|
+
class NamespaceRef {
|
|
26
|
+
constructor(namespaceName) {
|
|
27
|
+
this.namespaceName = namespaceName;
|
|
28
|
+
}
|
|
29
|
+
globalRankingModel(rankingName) {
|
|
30
|
+
return new GlobalRankingModelRef_1.default(this.namespaceName, rankingName);
|
|
31
|
+
}
|
|
32
|
+
subscribeRankingModel(rankingName) {
|
|
33
|
+
return new SubscribeRankingModelRef_1.default(this.namespaceName, rankingName);
|
|
34
|
+
}
|
|
35
|
+
clusterRankingModel(rankingName) {
|
|
36
|
+
return new ClusterRankingModelRef_1.default(this.namespaceName, rankingName);
|
|
37
|
+
}
|
|
38
|
+
createGlobalRankingReceivedReward(rankingName, season = null, userId = "#{userId}") {
|
|
39
|
+
return new CreateGlobalRankingReceivedRewardByUserId_1.default(this.namespaceName, rankingName, season, userId);
|
|
40
|
+
}
|
|
41
|
+
createClusterRankingReceivedReward(rankingName, clusterName, season = null, userId = "#{userId}") {
|
|
42
|
+
return new CreateClusterRankingReceivedRewardByUserId_1.default(this.namespaceName, rankingName, clusterName, season, userId);
|
|
43
|
+
}
|
|
44
|
+
grn() {
|
|
45
|
+
return new func_1.Join(":", [
|
|
46
|
+
"grn",
|
|
47
|
+
"gs2",
|
|
48
|
+
func_1.GetAttr.region().str(),
|
|
49
|
+
func_1.GetAttr.ownerId().str(),
|
|
50
|
+
"ranking2",
|
|
51
|
+
this.namespaceName,
|
|
52
|
+
]).str();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.default = NamespaceRef;
|
|
56
|
+
//# sourceMappingURL=NamespaceRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAC5D,kGAAkE;AAClE,8FAA8D;AAC9D,gJAAgH;AAChH,kJAAkH;AAElH,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,kBAAkB,CACrB,WAAmB;QAEnB,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,WAAW,CACd,CAAC;IACN,CAAC;IAEM,qBAAqB,CACxB,WAAmB;QAEnB,OAAO,IAAI,kCAAwB,CAC/B,IAAI,CAAC,aAAa,EAClB,WAAW,CACd,CAAC;IACN,CAAC;IAEM,mBAAmB,CACtB,WAAmB;QAEnB,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,WAAW,CACd,CAAC;IACN,CAAC;IAEM,iCAAiC,CACpC,WAAmB,EACnB,SAAsB,IAAI,EAC1B,SAAiB,WAAW;QAE5B,OAAO,IAAI,mDAAyC,CAChD,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,MAAM,EACN,MAAM,CACT,CAAC;IACN,CAAC;IAEM,kCAAkC,CACrC,WAAmB,EACnB,WAAmB,EACnB,SAAsB,IAAI,EAC1B,SAAiB,WAAW;QAE5B,OAAO,IAAI,oDAA0C,CACjD,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,WAAW,EACX,MAAM,EACN,MAAM,CACT,CAAC;IACN,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;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAnFD,+BAmFC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
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 GlobalRankingModelRef from "./GlobalRankingModelRef";
|
|
19
|
+
import SubscribeRankingModelRef from "./SubscribeRankingModelRef";
|
|
20
|
+
import ClusterRankingModelRef from "./ClusterRankingModelRef";
|
|
21
|
+
import CreateGlobalRankingReceivedRewardByUserId from "../stampSheet/CreateGlobalRankingReceivedRewardByUserId";
|
|
22
|
+
import CreateClusterRankingReceivedRewardByUserId from "../stampSheet/CreateClusterRankingReceivedRewardByUserId";
|
|
23
|
+
|
|
24
|
+
export default class NamespaceRef {
|
|
25
|
+
private readonly namespaceName: string;
|
|
26
|
+
|
|
27
|
+
public constructor(
|
|
28
|
+
namespaceName: string,
|
|
29
|
+
) {
|
|
30
|
+
this.namespaceName = namespaceName;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public globalRankingModel(
|
|
34
|
+
rankingName: string,
|
|
35
|
+
): GlobalRankingModelRef {
|
|
36
|
+
return new GlobalRankingModelRef(
|
|
37
|
+
this.namespaceName,
|
|
38
|
+
rankingName,
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public subscribeRankingModel(
|
|
43
|
+
rankingName: string,
|
|
44
|
+
): SubscribeRankingModelRef {
|
|
45
|
+
return new SubscribeRankingModelRef(
|
|
46
|
+
this.namespaceName,
|
|
47
|
+
rankingName,
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public clusterRankingModel(
|
|
52
|
+
rankingName: string,
|
|
53
|
+
): ClusterRankingModelRef {
|
|
54
|
+
return new ClusterRankingModelRef(
|
|
55
|
+
this.namespaceName,
|
|
56
|
+
rankingName,
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public createGlobalRankingReceivedReward(
|
|
61
|
+
rankingName: string,
|
|
62
|
+
season: number|null = null,
|
|
63
|
+
userId: string = "#{userId}",
|
|
64
|
+
): CreateGlobalRankingReceivedRewardByUserId {
|
|
65
|
+
return new CreateGlobalRankingReceivedRewardByUserId(
|
|
66
|
+
this.namespaceName,
|
|
67
|
+
rankingName,
|
|
68
|
+
season,
|
|
69
|
+
userId,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public createClusterRankingReceivedReward(
|
|
74
|
+
rankingName: string,
|
|
75
|
+
clusterName: string,
|
|
76
|
+
season: number|null = null,
|
|
77
|
+
userId: string = "#{userId}",
|
|
78
|
+
): CreateClusterRankingReceivedRewardByUserId {
|
|
79
|
+
return new CreateClusterRankingReceivedRewardByUserId(
|
|
80
|
+
this.namespaceName,
|
|
81
|
+
rankingName,
|
|
82
|
+
clusterName,
|
|
83
|
+
season,
|
|
84
|
+
userId,
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public grn(
|
|
89
|
+
): string {
|
|
90
|
+
return new Join(
|
|
91
|
+
":",
|
|
92
|
+
[
|
|
93
|
+
"grn",
|
|
94
|
+
"gs2",
|
|
95
|
+
GetAttr.region(
|
|
96
|
+
).str(
|
|
97
|
+
),
|
|
98
|
+
GetAttr.ownerId(
|
|
99
|
+
).str(
|
|
100
|
+
),
|
|
101
|
+
"ranking2",
|
|
102
|
+
this.namespaceName,
|
|
103
|
+
],
|
|
104
|
+
).str(
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -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 SubscribeRankingModelRef {
|
|
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
|
+
"subscribe",
|
|
33
|
+
this.rankingName,
|
|
34
|
+
]).str();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = SubscribeRankingModelRef;
|
|
38
|
+
//# sourceMappingURL=SubscribeRankingModelRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscribeRankingModelRef.js","sourceRoot":"","sources":["SubscribeRankingModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,wBAAwB;IAIzC,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,WAAW;YACX,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,2CAiCC"}
|