gs2-cdk 1.0.29 → 1.0.31
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/formation/ref/FormModelRef.d.ts +1 -1
- package/formation/ref/FormModelRef.js +2 -2
- package/formation/ref/FormModelRef.js.map +1 -1
- package/formation/ref/FormModelRef.ts +1 -2
- package/formation/ref/MoldModelRef.d.ts +4 -4
- package/formation/ref/MoldModelRef.js +8 -8
- package/formation/ref/MoldModelRef.js.map +1 -1
- package/formation/ref/MoldModelRef.ts +4 -8
- package/formation/ref/NamespaceRef.d.ts +4 -4
- package/formation/ref/NamespaceRef.js +8 -8
- package/formation/ref/NamespaceRef.js.map +1 -1
- package/formation/ref/NamespaceRef.ts +8 -8
- package/formation/stampSheet/AcquireActionsToFormProperties.d.ts +1 -1
- package/formation/stampSheet/AcquireActionsToFormProperties.js +2 -2
- package/formation/stampSheet/AcquireActionsToFormProperties.js.map +1 -1
- package/formation/stampSheet/AcquireActionsToFormProperties.ts +2 -2
- package/formation/stampSheet/AddMoldCapacityByUserId.d.ts +1 -1
- package/formation/stampSheet/AddMoldCapacityByUserId.js +2 -2
- package/formation/stampSheet/AddMoldCapacityByUserId.js.map +1 -1
- package/formation/stampSheet/AddMoldCapacityByUserId.ts +2 -2
- package/formation/stampSheet/SetMoldCapacityByUserId.d.ts +1 -1
- package/formation/stampSheet/SetMoldCapacityByUserId.js +2 -2
- package/formation/stampSheet/SetMoldCapacityByUserId.js.map +1 -1
- package/formation/stampSheet/SetMoldCapacityByUserId.ts +2 -2
- package/formation/stampSheet/SubMoldCapacityByUserId.d.ts +1 -1
- package/formation/stampSheet/SubMoldCapacityByUserId.js +2 -2
- package/formation/stampSheet/SubMoldCapacityByUserId.js.map +1 -1
- package/formation/stampSheet/SubMoldCapacityByUserId.ts +2 -2
- package/package.json +1 -1
- package/skillTree/index.d.ts +12 -0
- package/skillTree/index.js +32 -0
- package/skillTree/index.js.map +1 -0
- package/skillTree/index.ts +36 -0
- package/skillTree/model/CurrentMasterData.d.ts +13 -0
- package/skillTree/model/CurrentMasterData.js +50 -0
- package/skillTree/model/CurrentMasterData.js.map +1 -0
- package/skillTree/model/CurrentMasterData.ts +70 -0
- package/skillTree/model/Namespace.d.ts +24 -0
- package/skillTree/model/Namespace.js +81 -0
- package/skillTree/model/Namespace.js.map +1 -0
- package/skillTree/model/Namespace.ts +129 -0
- package/skillTree/model/NodeModel.d.ts +14 -0
- package/skillTree/model/NodeModel.js +37 -0
- package/skillTree/model/NodeModel.js.map +1 -0
- package/skillTree/model/NodeModel.ts +65 -0
- package/skillTree/model/index.d.ts +6 -0
- package/skillTree/model/index.js +26 -0
- package/skillTree/model/index.js.map +1 -0
- package/skillTree/model/index.ts +28 -0
- package/skillTree/model/options/NamespaceOptions.d.ts +8 -0
- package/skillTree/model/options/NamespaceOptions.js +3 -0
- package/skillTree/model/options/NamespaceOptions.js.map +1 -0
- package/skillTree/model/options/NamespaceOptions.ts +26 -0
- package/skillTree/model/options/NodeModelOptions.d.ts +6 -0
- package/skillTree/model/options/NodeModelOptions.js +3 -0
- package/skillTree/model/options/NodeModelOptions.js.map +1 -0
- package/skillTree/model/options/NodeModelOptions.ts +24 -0
- package/skillTree/ref/NamespaceRef.d.ts +11 -0
- package/skillTree/ref/NamespaceRef.js +48 -0
- package/skillTree/ref/NamespaceRef.js.map +1 -0
- package/skillTree/ref/NamespaceRef.ts +81 -0
- package/skillTree/ref/NodeModelRef.d.ts +6 -0
- package/skillTree/ref/NodeModelRef.js +38 -0
- package/skillTree/ref/NodeModelRef.js.map +1 -0
- package/skillTree/ref/NodeModelRef.ts +52 -0
- package/skillTree/ref/index.d.ts +3 -0
- package/skillTree/ref/index.js +24 -0
- package/skillTree/ref/index.js.map +1 -0
- package/skillTree/ref/index.ts +22 -0
- package/skillTree/stampSheet/MarkReleaseByUserId.d.ts +4 -0
- package/skillTree/stampSheet/MarkReleaseByUserId.js +29 -0
- package/skillTree/stampSheet/MarkReleaseByUserId.js.map +1 -0
- package/skillTree/stampSheet/MarkReleaseByUserId.ts +37 -0
- package/skillTree/stampSheet/MarkRestrainByUserId.d.ts +4 -0
- package/skillTree/stampSheet/MarkRestrainByUserId.js +29 -0
- package/skillTree/stampSheet/MarkRestrainByUserId.js.map +1 -0
- package/skillTree/stampSheet/MarkRestrainByUserId.ts +37 -0
- package/skillTree/stampSheet/index.d.ts +3 -0
- package/skillTree/stampSheet/index.js +24 -0
- package/skillTree/stampSheet/index.js.map +1 -0
- package/skillTree/stampSheet/index.ts +22 -0
|
@@ -0,0 +1,81 @@
|
|
|
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 NodeModelRef from "./NodeModelRef";
|
|
19
|
+
import MarkReleaseByUserId from "../stampSheet/MarkReleaseByUserId";
|
|
20
|
+
import MarkRestrainByUserId from "../stampSheet/MarkRestrainByUserId";
|
|
21
|
+
|
|
22
|
+
export default class NamespaceRef {
|
|
23
|
+
private readonly namespaceName: string;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
namespaceName: string,
|
|
27
|
+
) {
|
|
28
|
+
this.namespaceName = namespaceName;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public nodeModel(
|
|
32
|
+
nodeModelName: string,
|
|
33
|
+
): NodeModelRef {
|
|
34
|
+
return new NodeModelRef(
|
|
35
|
+
this.namespaceName,
|
|
36
|
+
nodeModelName,
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public markRelease(
|
|
41
|
+
nodeModelNames: string[],
|
|
42
|
+
userId: string|null = "#{userId}",
|
|
43
|
+
): MarkReleaseByUserId {
|
|
44
|
+
return new MarkReleaseByUserId(
|
|
45
|
+
this.namespaceName,
|
|
46
|
+
nodeModelNames,
|
|
47
|
+
userId,
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public markRestrain(
|
|
52
|
+
nodeModelNames: string[],
|
|
53
|
+
userId: string|null = "#{userId}",
|
|
54
|
+
): MarkRestrainByUserId {
|
|
55
|
+
return new MarkRestrainByUserId(
|
|
56
|
+
this.namespaceName,
|
|
57
|
+
nodeModelNames,
|
|
58
|
+
userId,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public grn(
|
|
63
|
+
): string {
|
|
64
|
+
return new Join(
|
|
65
|
+
":",
|
|
66
|
+
[
|
|
67
|
+
"grn",
|
|
68
|
+
"gs2",
|
|
69
|
+
GetAttr.region(
|
|
70
|
+
).str(
|
|
71
|
+
),
|
|
72
|
+
GetAttr.ownerId(
|
|
73
|
+
).str(
|
|
74
|
+
),
|
|
75
|
+
"skillTree",
|
|
76
|
+
this.namespaceName,
|
|
77
|
+
],
|
|
78
|
+
).str(
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -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 NodeModelRef {
|
|
20
|
+
constructor(namespaceName, nodeModelName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.nodeModelName = nodeModelName;
|
|
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
|
+
"skillTree",
|
|
31
|
+
this.namespaceName,
|
|
32
|
+
"model",
|
|
33
|
+
this.nodeModelName,
|
|
34
|
+
]).str();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = NodeModelRef;
|
|
38
|
+
//# sourceMappingURL=NodeModelRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeModelRef.js","sourceRoot":"","sources":["NodeModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,YAAY;IAI7B,YACI,aAAqB,EACrB,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,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,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,+BAiCC"}
|
|
@@ -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 NodeModelRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly nodeModelName: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
nodeModelName: string,
|
|
26
|
+
) {
|
|
27
|
+
this.namespaceName = namespaceName;
|
|
28
|
+
this.nodeModelName = nodeModelName;
|
|
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
|
+
"skillTree",
|
|
45
|
+
this.namespaceName,
|
|
46
|
+
"model",
|
|
47
|
+
this.nodeModelName,
|
|
48
|
+
],
|
|
49
|
+
).str(
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NodeModelRef = 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 NodeModelRef_1 = tslib_1.__importDefault(require("./NodeModelRef"));
|
|
23
|
+
exports.NodeModelRef = NodeModelRef_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,0EAA0C;AAItC,uBAJG,sBAAY,CAIH;AAHhB,0EAA0C;AAItC,uBAJG,sBAAY,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 NamespaceRef from "./NamespaceRef";
|
|
17
|
+
import NodeModelRef from "./NodeModelRef";
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
NamespaceRef,
|
|
21
|
+
NodeModelRef,
|
|
22
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 MarkReleaseByUserId extends model_1.AcquireAction {
|
|
20
|
+
constructor(namespaceName, nodeModelNames, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["nodeModelNames"] = nodeModelNames;
|
|
24
|
+
properties["userId"] = userId;
|
|
25
|
+
super("Gs2SkillTree:MarkReleaseByUserId", properties);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.default = MarkReleaseByUserId;
|
|
29
|
+
//# sourceMappingURL=MarkReleaseByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkReleaseByUserId.js","sourceRoot":"","sources":["MarkReleaseByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,mBAAoB,SAAQ,qBAAa;IAE1D,YACI,aAAqB,EACrB,cAAwB,EACxB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,kCAAkC,EAClC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAlBD,sCAkBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 MarkReleaseByUserId extends AcquireAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
nodeModelNames: string[],
|
|
24
|
+
userId: string|null = "#{userId}",
|
|
25
|
+
) {
|
|
26
|
+
let properties: {[name: string]: any} = {};
|
|
27
|
+
|
|
28
|
+
properties["namespaceName"] = namespaceName
|
|
29
|
+
properties["nodeModelNames"] = nodeModelNames
|
|
30
|
+
properties["userId"] = userId
|
|
31
|
+
|
|
32
|
+
super(
|
|
33
|
+
"Gs2SkillTree:MarkReleaseByUserId",
|
|
34
|
+
properties,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 MarkRestrainByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, nodeModelNames, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["nodeModelNames"] = nodeModelNames;
|
|
24
|
+
properties["userId"] = userId;
|
|
25
|
+
super("Gs2SkillTree:MarkRestrainByUserId", properties);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.default = MarkRestrainByUserId;
|
|
29
|
+
//# sourceMappingURL=MarkRestrainByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkRestrainByUserId.js","sourceRoot":"","sources":["MarkRestrainByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,oBAAqB,SAAQ,qBAAa;IAE3D,YACI,aAAqB,EACrB,cAAwB,EACxB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,mCAAmC,EACnC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAlBD,uCAkBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 MarkRestrainByUserId extends ConsumeAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
nodeModelNames: string[],
|
|
24
|
+
userId: string|null = "#{userId}",
|
|
25
|
+
) {
|
|
26
|
+
let properties: {[name: string]: any} = {};
|
|
27
|
+
|
|
28
|
+
properties["namespaceName"] = namespaceName
|
|
29
|
+
properties["nodeModelNames"] = nodeModelNames
|
|
30
|
+
properties["userId"] = userId
|
|
31
|
+
|
|
32
|
+
super(
|
|
33
|
+
"Gs2SkillTree:MarkRestrainByUserId",
|
|
34
|
+
properties,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MarkRestrainByUserId = exports.MarkReleaseByUserId = 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 MarkReleaseByUserId_1 = tslib_1.__importDefault(require("./MarkReleaseByUserId"));
|
|
21
|
+
exports.MarkReleaseByUserId = MarkReleaseByUserId_1.default;
|
|
22
|
+
const MarkRestrainByUserId_1 = tslib_1.__importDefault(require("./MarkRestrainByUserId"));
|
|
23
|
+
exports.MarkRestrainByUserId = MarkRestrainByUserId_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,wFAAwD;AAIpD,8BAJG,6BAAmB,CAIH;AAHvB,0FAA0D;AAItD,+BAJG,8BAAoB,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 MarkReleaseByUserId from "./MarkReleaseByUserId";
|
|
17
|
+
import MarkRestrainByUserId from "./MarkRestrainByUserId";
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
MarkReleaseByUserId,
|
|
21
|
+
MarkRestrainByUserId,
|
|
22
|
+
}
|