gs2-cdk 1.0.60 → 1.0.62
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/mission/ref/NamespaceRef.d.ts +3 -0
- package/mission/ref/NamespaceRef.js +4 -0
- package/mission/ref/NamespaceRef.js.map +1 -1
- package/mission/ref/NamespaceRef.ts +19 -0
- package/mission/stampSheet/VerifyCompleteByUserId.d.ts +16 -0
- package/mission/stampSheet/VerifyCompleteByUserId.js +62 -0
- package/mission/stampSheet/VerifyCompleteByUserId.js.map +1 -0
- package/mission/stampSheet/VerifyCompleteByUserId.ts +82 -0
- package/mission/stampSheet/enum/CompleteVerifyType.d.ts +8 -0
- package/mission/stampSheet/enum/CompleteVerifyType.js +26 -0
- package/mission/stampSheet/enum/CompleteVerifyType.js.map +1 -0
- package/mission/stampSheet/enum/CompleteVerifyType.ts +26 -0
- package/mission/stampSheet/index.d.ts +2 -1
- package/mission/stampSheet/index.js +3 -1
- package/mission/stampSheet/index.js.map +1 -1
- package/mission/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,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"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
|
|
19
|
+
export default class SubscribeRankingModelRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly rankingName: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
rankingName: string,
|
|
26
|
+
) {
|
|
27
|
+
this.namespaceName = namespaceName;
|
|
28
|
+
this.rankingName = rankingName;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public grn(
|
|
32
|
+
): string {
|
|
33
|
+
return new Join(
|
|
34
|
+
":",
|
|
35
|
+
[
|
|
36
|
+
"grn",
|
|
37
|
+
"gs2",
|
|
38
|
+
GetAttr.region(
|
|
39
|
+
).str(
|
|
40
|
+
),
|
|
41
|
+
GetAttr.ownerId(
|
|
42
|
+
).str(
|
|
43
|
+
),
|
|
44
|
+
"ranking2",
|
|
45
|
+
this.namespaceName,
|
|
46
|
+
"subscribe",
|
|
47
|
+
this.rankingName,
|
|
48
|
+
],
|
|
49
|
+
).str(
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import NamespaceRef from "./NamespaceRef";
|
|
2
|
+
import GlobalRankingModelRef from "./GlobalRankingModelRef";
|
|
3
|
+
import GlobalRankingSeasonRef from "./GlobalRankingSeasonRef";
|
|
4
|
+
import GlobalRankingBorderRef from "./GlobalRankingBorderRef";
|
|
5
|
+
import ClusterRankingModelRef from "./ClusterRankingModelRef";
|
|
6
|
+
import ClusterRankingSeasonRef from "./ClusterRankingSeasonRef";
|
|
7
|
+
import ClusterRankingBorderRef from "./ClusterRankingBorderRef";
|
|
8
|
+
import SubscribeRankingModelRef from "./SubscribeRankingModelRef";
|
|
9
|
+
export { NamespaceRef, GlobalRankingModelRef, GlobalRankingSeasonRef, GlobalRankingBorderRef, ClusterRankingModelRef, ClusterRankingSeasonRef, ClusterRankingBorderRef, SubscribeRankingModelRef, };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscribeRankingModelRef = exports.ClusterRankingBorderRef = exports.ClusterRankingSeasonRef = exports.ClusterRankingModelRef = exports.GlobalRankingBorderRef = exports.GlobalRankingSeasonRef = exports.GlobalRankingModelRef = exports.NamespaceRef = 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 NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
21
|
+
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
|
+
const GlobalRankingModelRef_1 = tslib_1.__importDefault(require("./GlobalRankingModelRef"));
|
|
23
|
+
exports.GlobalRankingModelRef = GlobalRankingModelRef_1.default;
|
|
24
|
+
const GlobalRankingSeasonRef_1 = tslib_1.__importDefault(require("./GlobalRankingSeasonRef"));
|
|
25
|
+
exports.GlobalRankingSeasonRef = GlobalRankingSeasonRef_1.default;
|
|
26
|
+
const GlobalRankingBorderRef_1 = tslib_1.__importDefault(require("./GlobalRankingBorderRef"));
|
|
27
|
+
exports.GlobalRankingBorderRef = GlobalRankingBorderRef_1.default;
|
|
28
|
+
const ClusterRankingModelRef_1 = tslib_1.__importDefault(require("./ClusterRankingModelRef"));
|
|
29
|
+
exports.ClusterRankingModelRef = ClusterRankingModelRef_1.default;
|
|
30
|
+
const ClusterRankingSeasonRef_1 = tslib_1.__importDefault(require("./ClusterRankingSeasonRef"));
|
|
31
|
+
exports.ClusterRankingSeasonRef = ClusterRankingSeasonRef_1.default;
|
|
32
|
+
const ClusterRankingBorderRef_1 = tslib_1.__importDefault(require("./ClusterRankingBorderRef"));
|
|
33
|
+
exports.ClusterRankingBorderRef = ClusterRankingBorderRef_1.default;
|
|
34
|
+
const SubscribeRankingModelRef_1 = tslib_1.__importDefault(require("./SubscribeRankingModelRef"));
|
|
35
|
+
exports.SubscribeRankingModelRef = SubscribeRankingModelRef_1.default;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAUtC,uBAVG,sBAAY,CAUH;AAThB,4FAA4D;AAUxD,gCAVG,+BAAqB,CAUH;AATzB,8FAA8D;AAU1D,iCAVG,gCAAsB,CAUH;AAT1B,8FAA8D;AAU1D,iCAVG,gCAAsB,CAUH;AAT1B,8FAA8D;AAU1D,iCAVG,gCAAsB,CAUH;AAT1B,gGAAgE;AAU5D,kCAVG,iCAAuB,CAUH;AAT3B,gGAAgE;AAU5D,kCAVG,iCAAuB,CAUH;AAT3B,kGAAkE;AAU9D,mCAVG,kCAAwB,CAUH"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 NamespaceRef from "./NamespaceRef";
|
|
17
|
+
import GlobalRankingModelRef from "./GlobalRankingModelRef";
|
|
18
|
+
import GlobalRankingSeasonRef from "./GlobalRankingSeasonRef";
|
|
19
|
+
import GlobalRankingBorderRef from "./GlobalRankingBorderRef";
|
|
20
|
+
import ClusterRankingModelRef from "./ClusterRankingModelRef";
|
|
21
|
+
import ClusterRankingSeasonRef from "./ClusterRankingSeasonRef";
|
|
22
|
+
import ClusterRankingBorderRef from "./ClusterRankingBorderRef";
|
|
23
|
+
import SubscribeRankingModelRef from "./SubscribeRankingModelRef";
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
NamespaceRef,
|
|
27
|
+
GlobalRankingModelRef,
|
|
28
|
+
GlobalRankingSeasonRef,
|
|
29
|
+
GlobalRankingBorderRef,
|
|
30
|
+
ClusterRankingModelRef,
|
|
31
|
+
ClusterRankingSeasonRef,
|
|
32
|
+
ClusterRankingBorderRef,
|
|
33
|
+
SubscribeRankingModelRef,
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConsumeAction } from "../../core/model";
|
|
2
|
+
export default class CreateClusterRankingReceivedRewardByUserId extends ConsumeAction {
|
|
3
|
+
private readonly namespaceName;
|
|
4
|
+
private readonly rankingName;
|
|
5
|
+
private readonly clusterName;
|
|
6
|
+
private readonly userId;
|
|
7
|
+
private readonly season;
|
|
8
|
+
private readonly timeOffsetToken;
|
|
9
|
+
constructor(namespaceName: string, rankingName: string, clusterName: string, season?: number | null, timeOffsetToken?: string | null, userId?: string);
|
|
10
|
+
request(): {
|
|
11
|
+
[name: string]: any;
|
|
12
|
+
};
|
|
13
|
+
action(): string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 model_1 = require("../../core/model");
|
|
19
|
+
class CreateClusterRankingReceivedRewardByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, rankingName, clusterName, season = null, timeOffsetToken = null, userId = "#{userId}") {
|
|
21
|
+
super();
|
|
22
|
+
this.season = null;
|
|
23
|
+
this.timeOffsetToken = null;
|
|
24
|
+
this.namespaceName = namespaceName;
|
|
25
|
+
this.rankingName = rankingName;
|
|
26
|
+
this.clusterName = clusterName;
|
|
27
|
+
this.season = season !== null && season !== void 0 ? season : null;
|
|
28
|
+
this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
|
|
29
|
+
this.userId = userId;
|
|
30
|
+
}
|
|
31
|
+
request() {
|
|
32
|
+
let properties = {};
|
|
33
|
+
if (this.namespaceName != null) {
|
|
34
|
+
properties["namespaceName"] = this.namespaceName;
|
|
35
|
+
}
|
|
36
|
+
if (this.rankingName != null) {
|
|
37
|
+
properties["rankingName"] = this.rankingName;
|
|
38
|
+
}
|
|
39
|
+
if (this.clusterName != null) {
|
|
40
|
+
properties["clusterName"] = this.clusterName;
|
|
41
|
+
}
|
|
42
|
+
if (this.userId != null) {
|
|
43
|
+
properties["userId"] = this.userId;
|
|
44
|
+
}
|
|
45
|
+
if (this.season != null) {
|
|
46
|
+
properties["season"] = this.season;
|
|
47
|
+
}
|
|
48
|
+
if (this.timeOffsetToken != null) {
|
|
49
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
50
|
+
}
|
|
51
|
+
return properties;
|
|
52
|
+
}
|
|
53
|
+
action() {
|
|
54
|
+
return "Gs2Ranking2:CreateClusterRankingReceivedRewardByUserId";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.default = CreateClusterRankingReceivedRewardByUserId;
|
|
58
|
+
//# sourceMappingURL=CreateClusterRankingReceivedRewardByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateClusterRankingReceivedRewardByUserId.js","sourceRoot":"","sources":["CreateClusterRankingReceivedRewardByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,0CAA2C,SAAQ,qBAAa;IASjF,YACI,aAAqB,EACrB,WAAmB,EACnB,WAAmB,EACnB,SAAsB,IAAI,EAC1B,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAZK,WAAM,GAAgB,IAAI,CAAC;QAC3B,oBAAe,GAAgB,IAAI,CAAC;QAajD,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,aAAN,MAAM,cAAN,MAAM,GAAI,IAAI,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,wDAAwD,CAAC;IACpE,CAAC;CACJ;AAxDD,6DAwDC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 {AcquireAction, ConsumeAction} from "../../core/model";
|
|
18
|
+
|
|
19
|
+
export default class CreateClusterRankingReceivedRewardByUserId extends ConsumeAction {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly rankingName: string;
|
|
22
|
+
private readonly clusterName: string;
|
|
23
|
+
private readonly userId: string;
|
|
24
|
+
private readonly season: number|null = null;
|
|
25
|
+
private readonly timeOffsetToken: string|null = null;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
public constructor(
|
|
29
|
+
namespaceName: string,
|
|
30
|
+
rankingName: string,
|
|
31
|
+
clusterName: string,
|
|
32
|
+
season: number|null = null,
|
|
33
|
+
timeOffsetToken: string|null = null,
|
|
34
|
+
userId: string = "#{userId}",
|
|
35
|
+
) {
|
|
36
|
+
super();
|
|
37
|
+
|
|
38
|
+
this.namespaceName = namespaceName;
|
|
39
|
+
this.rankingName = rankingName;
|
|
40
|
+
this.clusterName = clusterName;
|
|
41
|
+
this.season = season ?? null;
|
|
42
|
+
this.timeOffsetToken = timeOffsetToken ?? null;
|
|
43
|
+
this.userId = userId;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public request(
|
|
47
|
+
): {[name: string]: any} {
|
|
48
|
+
let properties: {[name: string]: any} = {};
|
|
49
|
+
|
|
50
|
+
if (this.namespaceName != null) {
|
|
51
|
+
properties["namespaceName"] = this.namespaceName;
|
|
52
|
+
}
|
|
53
|
+
if (this.rankingName != null) {
|
|
54
|
+
properties["rankingName"] = this.rankingName;
|
|
55
|
+
}
|
|
56
|
+
if (this.clusterName != null) {
|
|
57
|
+
properties["clusterName"] = this.clusterName;
|
|
58
|
+
}
|
|
59
|
+
if (this.userId != null) {
|
|
60
|
+
properties["userId"] = this.userId;
|
|
61
|
+
}
|
|
62
|
+
if (this.season != null) {
|
|
63
|
+
properties["season"] = this.season;
|
|
64
|
+
}
|
|
65
|
+
if (this.timeOffsetToken != null) {
|
|
66
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return properties;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
public action(): string {
|
|
73
|
+
return "Gs2Ranking2:CreateClusterRankingReceivedRewardByUserId";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ConsumeAction } from "../../core/model";
|
|
2
|
+
export default class CreateGlobalRankingReceivedRewardByUserId extends ConsumeAction {
|
|
3
|
+
private readonly namespaceName;
|
|
4
|
+
private readonly rankingName;
|
|
5
|
+
private readonly userId;
|
|
6
|
+
private readonly season;
|
|
7
|
+
private readonly timeOffsetToken;
|
|
8
|
+
constructor(namespaceName: string, rankingName: string, season?: number | null, timeOffsetToken?: string | null, userId?: string);
|
|
9
|
+
request(): {
|
|
10
|
+
[name: string]: any;
|
|
11
|
+
};
|
|
12
|
+
action(): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 model_1 = require("../../core/model");
|
|
19
|
+
class CreateGlobalRankingReceivedRewardByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, rankingName, season = null, timeOffsetToken = null, userId = "#{userId}") {
|
|
21
|
+
super();
|
|
22
|
+
this.season = null;
|
|
23
|
+
this.timeOffsetToken = null;
|
|
24
|
+
this.namespaceName = namespaceName;
|
|
25
|
+
this.rankingName = rankingName;
|
|
26
|
+
this.season = season !== null && season !== void 0 ? season : null;
|
|
27
|
+
this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
|
|
28
|
+
this.userId = userId;
|
|
29
|
+
}
|
|
30
|
+
request() {
|
|
31
|
+
let properties = {};
|
|
32
|
+
if (this.namespaceName != null) {
|
|
33
|
+
properties["namespaceName"] = this.namespaceName;
|
|
34
|
+
}
|
|
35
|
+
if (this.rankingName != null) {
|
|
36
|
+
properties["rankingName"] = this.rankingName;
|
|
37
|
+
}
|
|
38
|
+
if (this.userId != null) {
|
|
39
|
+
properties["userId"] = this.userId;
|
|
40
|
+
}
|
|
41
|
+
if (this.season != null) {
|
|
42
|
+
properties["season"] = this.season;
|
|
43
|
+
}
|
|
44
|
+
if (this.timeOffsetToken != null) {
|
|
45
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
46
|
+
}
|
|
47
|
+
return properties;
|
|
48
|
+
}
|
|
49
|
+
action() {
|
|
50
|
+
return "Gs2Ranking2:CreateGlobalRankingReceivedRewardByUserId";
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.default = CreateGlobalRankingReceivedRewardByUserId;
|
|
54
|
+
//# sourceMappingURL=CreateGlobalRankingReceivedRewardByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateGlobalRankingReceivedRewardByUserId.js","sourceRoot":"","sources":["CreateGlobalRankingReceivedRewardByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,yCAA0C,SAAQ,qBAAa;IAQhF,YACI,aAAqB,EACrB,WAAmB,EACnB,SAAsB,IAAI,EAC1B,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAXK,WAAM,GAAgB,IAAI,CAAC;QAC3B,oBAAe,GAAgB,IAAI,CAAC;QAYjD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,IAAI,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,uDAAuD,CAAC;IACnE,CAAC;CACJ;AAlDD,4DAkDC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 {AcquireAction, ConsumeAction} from "../../core/model";
|
|
18
|
+
|
|
19
|
+
export default class CreateGlobalRankingReceivedRewardByUserId extends ConsumeAction {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly rankingName: string;
|
|
22
|
+
private readonly userId: string;
|
|
23
|
+
private readonly season: number|null = null;
|
|
24
|
+
private readonly timeOffsetToken: string|null = null;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
public constructor(
|
|
28
|
+
namespaceName: string,
|
|
29
|
+
rankingName: string,
|
|
30
|
+
season: number|null = null,
|
|
31
|
+
timeOffsetToken: string|null = null,
|
|
32
|
+
userId: string = "#{userId}",
|
|
33
|
+
) {
|
|
34
|
+
super();
|
|
35
|
+
|
|
36
|
+
this.namespaceName = namespaceName;
|
|
37
|
+
this.rankingName = rankingName;
|
|
38
|
+
this.season = season ?? null;
|
|
39
|
+
this.timeOffsetToken = timeOffsetToken ?? null;
|
|
40
|
+
this.userId = userId;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public request(
|
|
44
|
+
): {[name: string]: any} {
|
|
45
|
+
let properties: {[name: string]: any} = {};
|
|
46
|
+
|
|
47
|
+
if (this.namespaceName != null) {
|
|
48
|
+
properties["namespaceName"] = this.namespaceName;
|
|
49
|
+
}
|
|
50
|
+
if (this.rankingName != null) {
|
|
51
|
+
properties["rankingName"] = this.rankingName;
|
|
52
|
+
}
|
|
53
|
+
if (this.userId != null) {
|
|
54
|
+
properties["userId"] = this.userId;
|
|
55
|
+
}
|
|
56
|
+
if (this.season != null) {
|
|
57
|
+
properties["season"] = this.season;
|
|
58
|
+
}
|
|
59
|
+
if (this.timeOffsetToken != null) {
|
|
60
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return properties;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public action(): string {
|
|
67
|
+
return "Gs2Ranking2:CreateGlobalRankingReceivedRewardByUserId";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import CreateGlobalRankingReceivedRewardByUserId from "./CreateGlobalRankingReceivedRewardByUserId";
|
|
2
|
+
import CreateClusterRankingReceivedRewardByUserId from "./CreateClusterRankingReceivedRewardByUserId";
|
|
3
|
+
export { CreateGlobalRankingReceivedRewardByUserId, CreateClusterRankingReceivedRewardByUserId, };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateClusterRankingReceivedRewardByUserId = exports.CreateGlobalRankingReceivedRewardByUserId = 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 CreateGlobalRankingReceivedRewardByUserId_1 = tslib_1.__importDefault(require("./CreateGlobalRankingReceivedRewardByUserId"));
|
|
21
|
+
exports.CreateGlobalRankingReceivedRewardByUserId = CreateGlobalRankingReceivedRewardByUserId_1.default;
|
|
22
|
+
const CreateClusterRankingReceivedRewardByUserId_1 = tslib_1.__importDefault(require("./CreateClusterRankingReceivedRewardByUserId"));
|
|
23
|
+
exports.CreateClusterRankingReceivedRewardByUserId = CreateClusterRankingReceivedRewardByUserId_1.default;
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oIAAoG;AAIhG,oDAJG,mDAAyC,CAIH;AAH7C,sIAAsG;AAIlG,qDAJG,oDAA0C,CAIH"}
|
|
@@ -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 CreateGlobalRankingReceivedRewardByUserId from "./CreateGlobalRankingReceivedRewardByUserId";
|
|
17
|
+
import CreateClusterRankingReceivedRewardByUserId from "./CreateClusterRankingReceivedRewardByUserId";
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
CreateGlobalRankingReceivedRewardByUserId,
|
|
21
|
+
CreateClusterRankingReceivedRewardByUserId,
|
|
22
|
+
}
|