gs2-cdk 1.0.80 → 1.0.82

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.
Files changed (124) hide show
  1. package/account/index.d.ts +3 -0
  2. package/account/index.js +5 -0
  3. package/account/index.js.map +1 -1
  4. package/account/index.ts +11 -0
  5. package/account/ref/BanStatusRef.d.ts +4 -0
  6. package/account/ref/BanStatusRef.js +24 -0
  7. package/account/ref/BanStatusRef.js.map +1 -0
  8. package/account/ref/BanStatusRef.ts +27 -0
  9. package/account/ref/index.d.ts +2 -1
  10. package/account/ref/index.js +3 -1
  11. package/account/ref/index.js.map +1 -1
  12. package/account/ref/index.ts +2 -0
  13. package/exchange/model/LogCost.d.ts +10 -0
  14. package/exchange/model/LogCost.js +26 -0
  15. package/exchange/model/LogCost.js.map +1 -0
  16. package/exchange/model/LogCost.ts +49 -0
  17. package/exchange/model/index.d.ts +3 -1
  18. package/exchange/model/index.js +3 -1
  19. package/exchange/model/index.js.map +1 -1
  20. package/exchange/model/index.ts +4 -0
  21. package/exchange/model/options/LogCostOptions.d.ts +3 -0
  22. package/exchange/model/options/LogCostOptions.js +18 -0
  23. package/exchange/model/options/LogCostOptions.js.map +1 -0
  24. package/exchange/model/options/LogCostOptions.ts +20 -0
  25. package/log/model/InGameLog.d.ts +12 -0
  26. package/log/model/InGameLog.js +35 -0
  27. package/log/model/InGameLog.js.map +1 -0
  28. package/log/model/InGameLog.ts +62 -0
  29. package/log/model/options/InGameLogOptions.d.ts +5 -0
  30. package/log/model/options/InGameLogOptions.js +3 -0
  31. package/log/model/options/InGameLogOptions.js.map +1 -0
  32. package/log/model/options/InGameLogOptions.ts +22 -0
  33. package/log/ref/InGameLogRef.d.ts +5 -0
  34. package/log/ref/InGameLogRef.js +25 -0
  35. package/log/ref/InGameLogRef.js.map +1 -0
  36. package/log/ref/InGameLogRef.ts +30 -0
  37. package/mission/model/CounterModel.js.map +1 -1
  38. package/mission/model/CounterModel.ts +1 -0
  39. package/mission/model/CounterScopeModel.d.ts +14 -5
  40. package/mission/model/CounterScopeModel.js +42 -15
  41. package/mission/model/CounterScopeModel.js.map +1 -1
  42. package/mission/model/CounterScopeModel.ts +57 -7
  43. package/mission/model/ScopedValue.d.ts +9 -2
  44. package/mission/model/ScopedValue.js +26 -4
  45. package/mission/model/ScopedValue.js.map +1 -1
  46. package/mission/model/ScopedValue.ts +47 -3
  47. package/mission/model/TargetCounterModel.d.ts +8 -1
  48. package/mission/model/TargetCounterModel.js +23 -2
  49. package/mission/model/TargetCounterModel.js.map +1 -1
  50. package/mission/model/TargetCounterModel.ts +46 -0
  51. package/mission/model/enum/CounterScopeModelScopeType.d.ts +5 -0
  52. package/mission/model/enum/CounterScopeModelScopeType.js +23 -0
  53. package/mission/model/enum/CounterScopeModelScopeType.js.map +1 -0
  54. package/mission/model/enum/CounterScopeModelScopeType.ts +23 -0
  55. package/mission/model/enum/ScopedValueScopeType.d.ts +5 -0
  56. package/mission/model/enum/ScopedValueScopeType.js +23 -0
  57. package/mission/model/enum/ScopedValueScopeType.js.map +1 -0
  58. package/mission/model/enum/ScopedValueScopeType.ts +23 -0
  59. package/mission/model/enum/TargetCounterModelScopeType.d.ts +5 -0
  60. package/mission/model/enum/TargetCounterModelScopeType.js +23 -0
  61. package/mission/model/enum/TargetCounterModelScopeType.js.map +1 -0
  62. package/mission/model/enum/TargetCounterModelScopeType.ts +23 -0
  63. package/mission/model/index.d.ts +10 -1
  64. package/mission/model/index.js +7 -1
  65. package/mission/model/index.js.map +1 -1
  66. package/mission/model/index.ts +18 -0
  67. package/mission/model/options/CounterModelOptions.ts +1 -0
  68. package/mission/model/options/CounterScopeModelOptions.d.ts +5 -0
  69. package/mission/model/options/CounterScopeModelOptions.ts +5 -0
  70. package/mission/model/options/CounterScopeModelResetTypeIsDailyOptions.ts +2 -0
  71. package/mission/model/options/CounterScopeModelResetTypeIsMonthlyOptions.ts +2 -0
  72. package/mission/model/options/CounterScopeModelResetTypeIsNotResetOptions.ts +2 -0
  73. package/mission/model/options/CounterScopeModelResetTypeIsWeeklyOptions.ts +2 -0
  74. package/mission/model/options/CounterScopeModelScopeTypeIsResetTimingOptions.d.ts +2 -0
  75. package/mission/model/options/CounterScopeModelScopeTypeIsResetTimingOptions.js +3 -0
  76. package/mission/model/options/CounterScopeModelScopeTypeIsResetTimingOptions.js.map +1 -0
  77. package/mission/model/options/CounterScopeModelScopeTypeIsResetTimingOptions.ts +22 -0
  78. package/mission/model/options/CounterScopeModelScopeTypeIsVerifyActionOptions.d.ts +2 -0
  79. package/mission/model/options/CounterScopeModelScopeTypeIsVerifyActionOptions.js +3 -0
  80. package/mission/model/options/CounterScopeModelScopeTypeIsVerifyActionOptions.js.map +1 -0
  81. package/mission/model/options/CounterScopeModelScopeTypeIsVerifyActionOptions.ts +22 -0
  82. package/mission/model/options/ScopedValueOptions.d.ts +3 -0
  83. package/mission/model/options/ScopedValueOptions.ts +3 -0
  84. package/mission/model/options/ScopedValueScopeTypeIsResetTimingOptions.d.ts +3 -0
  85. package/mission/model/options/ScopedValueScopeTypeIsResetTimingOptions.js +3 -0
  86. package/mission/model/options/ScopedValueScopeTypeIsResetTimingOptions.js.map +1 -0
  87. package/mission/model/options/ScopedValueScopeTypeIsResetTimingOptions.ts +21 -0
  88. package/mission/model/options/ScopedValueScopeTypeIsVerifyActionOptions.d.ts +3 -0
  89. package/mission/model/options/ScopedValueScopeTypeIsVerifyActionOptions.js +3 -0
  90. package/mission/model/options/ScopedValueScopeTypeIsVerifyActionOptions.js.map +1 -0
  91. package/mission/model/options/ScopedValueScopeTypeIsVerifyActionOptions.ts +21 -0
  92. package/mission/model/options/TargetCounterModelOptions.d.ts +1 -0
  93. package/mission/model/options/TargetCounterModelOptions.ts +2 -0
  94. package/mission/model/options/TargetCounterModelScopeTypeIsResetTimingOptions.d.ts +4 -0
  95. package/mission/model/options/TargetCounterModelScopeTypeIsResetTimingOptions.js +3 -0
  96. package/mission/model/options/TargetCounterModelScopeTypeIsResetTimingOptions.js.map +1 -0
  97. package/mission/model/options/TargetCounterModelScopeTypeIsResetTimingOptions.ts +21 -0
  98. package/mission/model/options/TargetCounterModelScopeTypeIsVerifyActionOptions.d.ts +4 -0
  99. package/mission/model/options/TargetCounterModelScopeTypeIsVerifyActionOptions.js +3 -0
  100. package/mission/model/options/TargetCounterModelScopeTypeIsVerifyActionOptions.js.map +1 -0
  101. package/mission/model/options/TargetCounterModelScopeTypeIsVerifyActionOptions.ts +21 -0
  102. package/mission/ref/CounterModelRef.d.ts +2 -1
  103. package/mission/ref/CounterModelRef.js +2 -2
  104. package/mission/ref/CounterModelRef.js.map +1 -1
  105. package/mission/ref/CounterModelRef.ts +6 -1
  106. package/mission/ref/NamespaceRef.d.ts +2 -1
  107. package/mission/ref/NamespaceRef.js +2 -2
  108. package/mission/ref/NamespaceRef.js.map +1 -1
  109. package/mission/ref/NamespaceRef.ts +6 -1
  110. package/mission/stampSheet/VerifyCounterValueByUserId.d.ts +4 -1
  111. package/mission/stampSheet/VerifyCounterValueByUserId.js +13 -2
  112. package/mission/stampSheet/VerifyCounterValueByUserId.js.map +1 -1
  113. package/mission/stampSheet/VerifyCounterValueByUserId.ts +16 -3
  114. package/mission/stampSheet/enum/CounterScopeType.d.ts +5 -0
  115. package/mission/stampSheet/enum/CounterScopeType.js +23 -0
  116. package/mission/stampSheet/enum/CounterScopeType.js.map +1 -0
  117. package/mission/stampSheet/enum/CounterScopeType.ts +23 -0
  118. package/money2/model/Namespace.d.ts +2 -1
  119. package/money2/model/Namespace.js +13 -8
  120. package/money2/model/Namespace.js.map +1 -1
  121. package/money2/model/Namespace.ts +10 -4
  122. package/money2/model/options/NamespaceOptions.d.ts +2 -1
  123. package/money2/model/options/NamespaceOptions.ts +2 -1
  124. package/package.json +1 -1
@@ -2,11 +2,14 @@ import * as model from "./model";
2
2
  import * as ref from "./ref";
3
3
  import * as stampSheet from "./stampSheet";
4
4
  import { NamespaceRef } from "./ref";
5
+ import { BanStatusRef } from "./ref";
5
6
  declare function namespace(namespaceName: string): NamespaceRef;
7
+ declare function banStatus(name: string): BanStatusRef;
6
8
  declare const _default: {
7
9
  model: typeof model;
8
10
  ref: typeof ref;
9
11
  stampSheet: typeof stampSheet;
10
12
  namespace: typeof namespace;
13
+ banStatus: typeof banStatus;
11
14
  };
12
15
  export default _default;
package/account/index.js CHANGED
@@ -20,13 +20,18 @@ const model = tslib_1.__importStar(require("./model"));
20
20
  const ref = tslib_1.__importStar(require("./ref"));
21
21
  const stampSheet = tslib_1.__importStar(require("./stampSheet"));
22
22
  const ref_1 = require("./ref");
23
+ const ref_2 = require("./ref");
23
24
  function namespace(namespaceName) {
24
25
  return new ref_1.NamespaceRef(namespaceName);
25
26
  }
27
+ function banStatus(name) {
28
+ return new ref_2.BanStatusRef(name);
29
+ }
26
30
  exports.default = {
27
31
  model,
28
32
  ref,
29
33
  stampSheet,
30
34
  namespace,
35
+ banStatus,
31
36
  };
32
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uDAAiC;AACjC,mDAA6B;AAC7B,iEAA2C;AAC3C,+BAAqC;AAGrC,SAAS,SAAS,CACd,aAAqB;IAErB,OAAO,IAAI,kBAAY,CACnB,aAAa,CAChB,CAAC;AACN,CAAC;AAED,kBAAe;IACX,KAAK;IACL,GAAG;IACH,UAAU;IACV,SAAS;CACZ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uDAAiC;AACjC,mDAA6B;AAC7B,iEAA2C;AAC3C,+BAAqC;AACrC,+BAAqC;AAGrC,SAAS,SAAS,CACd,aAAqB;IAErB,OAAO,IAAI,kBAAY,CACnB,aAAa,CAChB,CAAC;AACN,CAAC;AAGD,SAAS,SAAS,CACd,IAAY;IAEZ,OAAO,IAAI,kBAAY,CACnB,IAAI,CACP,CAAC;AACN,CAAC;AAED,kBAAe;IACX,KAAK;IACL,GAAG;IACH,UAAU;IACV,SAAS;IACT,SAAS;CACZ,CAAC"}
package/account/index.ts CHANGED
@@ -18,6 +18,7 @@ import * as model from "./model";
18
18
  import * as ref from "./ref";
19
19
  import * as stampSheet from "./stampSheet";
20
20
  import { NamespaceRef } from "./ref";
21
+ import { BanStatusRef } from "./ref";
21
22
 
22
23
 
23
24
  function namespace(
@@ -28,9 +29,19 @@ function namespace(
28
29
  );
29
30
  }
30
31
 
32
+
33
+ function banStatus(
34
+ name: string,
35
+ ): BanStatusRef {
36
+ return new BanStatusRef(
37
+ name,
38
+ );
39
+ }
40
+
31
41
  export default {
32
42
  model,
33
43
  ref,
34
44
  stampSheet,
35
45
  namespace,
46
+ banStatus,
36
47
  };
@@ -0,0 +1,4 @@
1
+ export default class BanStatusRef {
2
+ private readonly name;
3
+ constructor(name: string);
4
+ }
@@ -0,0 +1,24 @@
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
+ class BanStatusRef {
19
+ constructor(name) {
20
+ this.name = name;
21
+ }
22
+ }
23
+ exports.default = BanStatusRef;
24
+ //# sourceMappingURL=BanStatusRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BanStatusRef.js","sourceRoot":"","sources":["BanStatusRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,YAAY;IAG7B,YACI,IAAY;QAEZ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CACJ;AARD,+BAQC"}
@@ -0,0 +1,27 @@
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 BanStatusRef {
20
+ private readonly name: string;
21
+
22
+ public constructor(
23
+ name: string,
24
+ ) {
25
+ this.name = name;
26
+ }
27
+ }
@@ -1,3 +1,4 @@
1
1
  import NamespaceRef from "./NamespaceRef";
2
2
  import TakeOverTypeModelRef from "./TakeOverTypeModelRef";
3
- export { NamespaceRef, TakeOverTypeModelRef, };
3
+ import BanStatusRef from "./BanStatusRef";
4
+ export { NamespaceRef, TakeOverTypeModelRef, BanStatusRef, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TakeOverTypeModelRef = exports.NamespaceRef = void 0;
3
+ exports.BanStatusRef = exports.TakeOverTypeModelRef = exports.NamespaceRef = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -21,4 +21,6 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
21
21
  exports.NamespaceRef = NamespaceRef_1.default;
22
22
  const TakeOverTypeModelRef_1 = tslib_1.__importDefault(require("./TakeOverTypeModelRef"));
23
23
  exports.TakeOverTypeModelRef = TakeOverTypeModelRef_1.default;
24
+ const BanStatusRef_1 = tslib_1.__importDefault(require("./BanStatusRef"));
25
+ exports.BanStatusRef = BanStatusRef_1.default;
24
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAItC,uBAJG,sBAAY,CAIH;AAHhB,0FAA0D;AAItD,+BAJG,8BAAoB,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAKtC,uBALG,sBAAY,CAKH;AAJhB,0FAA0D;AAKtD,+BALG,8BAAoB,CAKH;AAJxB,0EAA0C;AAKtC,uBALG,sBAAY,CAKH"}
@@ -15,8 +15,10 @@
15
15
  */
16
16
  import NamespaceRef from "./NamespaceRef";
17
17
  import TakeOverTypeModelRef from "./TakeOverTypeModelRef";
18
+ import BanStatusRef from "./BanStatusRef";
18
19
 
19
20
  export {
20
21
  NamespaceRef,
21
22
  TakeOverTypeModelRef,
23
+ BanStatusRef,
22
24
  }
@@ -0,0 +1,10 @@
1
+ import { LogCostOptions } from "./options/LogCostOptions";
2
+ export default class LogCost {
3
+ private readonly base;
4
+ private readonly adds;
5
+ private readonly subs;
6
+ constructor(base: number, adds: number[], options?: LogCostOptions | null);
7
+ properties(): {
8
+ [name: string]: any;
9
+ };
10
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class LogCost {
4
+ constructor(base, adds, options = null) {
5
+ var _a;
6
+ this.subs = null;
7
+ this.base = base;
8
+ this.adds = adds;
9
+ this.subs = (_a = options === null || options === void 0 ? void 0 : options.subs) !== null && _a !== void 0 ? _a : null;
10
+ }
11
+ properties() {
12
+ let properties = {};
13
+ if (this.base != null) {
14
+ properties["base"] = this.base;
15
+ }
16
+ if (this.adds != null) {
17
+ properties["adds"] = this.adds;
18
+ }
19
+ if (this.subs != null) {
20
+ properties["subs"] = this.subs;
21
+ }
22
+ return properties;
23
+ }
24
+ }
25
+ exports.default = LogCost;
26
+ //# sourceMappingURL=LogCost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogCost.js","sourceRoot":"","sources":["LogCost.ts"],"names":[],"mappings":";;AAiBA,MAAqB,OAAO;IAKxB,YACI,IAAY,EACZ,IAAc,EACd,UAA+B,IAAI;;QALtB,SAAI,GAAkB,IAAI,CAAC;QAOxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,mCAAI,IAAI,CAAC;IACtC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA/BD,0BA+BC"}
@@ -0,0 +1,49 @@
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 { LogCostOptions } from "./options/LogCostOptions";
17
+
18
+ export default class LogCost {
19
+ private readonly base: number;
20
+ private readonly adds: number[];
21
+ private readonly subs: number[]|null = null;
22
+
23
+ public constructor(
24
+ base: number,
25
+ adds: number[],
26
+ options: LogCostOptions|null = null,
27
+ ) {
28
+ this.base = base;
29
+ this.adds = adds;
30
+ this.subs = options?.subs ?? null;
31
+ }
32
+
33
+ public properties(
34
+ ): {[name: string]: any} {
35
+ let properties: {[name: string]: any} = {};
36
+
37
+ if (this.base != null) {
38
+ properties["base"] = this.base;
39
+ }
40
+ if (this.adds != null) {
41
+ properties["adds"] = this.adds;
42
+ }
43
+ if (this.subs != null) {
44
+ properties["subs"] = this.subs;
45
+ }
46
+
47
+ return properties;
48
+ }
49
+ }
@@ -11,5 +11,7 @@ import { IncrementalRateModelCalculateType } from "./enum/IncrementalRateModelCa
11
11
  import { IncrementalRateModelCalculateTypeIsLinearOptions } from "./options/IncrementalRateModelCalculateTypeIsLinearOptions";
12
12
  import { IncrementalRateModelCalculateTypeIsPowerOptions } from "./options/IncrementalRateModelCalculateTypeIsPowerOptions";
13
13
  import { IncrementalRateModelCalculateTypeIsGs2ScriptOptions } from "./options/IncrementalRateModelCalculateTypeIsGs2ScriptOptions";
14
+ import LogCost from "./LogCost";
15
+ import { LogCostOptions } from "./options/LogCostOptions";
14
16
  import CurrentMasterData from "./CurrentMasterData";
15
- export { Namespace, NamespaceOptions, RateModel, RateModelOptions, RateModelTimingType, RateModelTimingTypeIsImmediateOptions, RateModelTimingTypeIsAwaitOptions, IncrementalRateModel, IncrementalRateModelOptions, IncrementalRateModelCalculateType, IncrementalRateModelCalculateTypeIsLinearOptions, IncrementalRateModelCalculateTypeIsPowerOptions, IncrementalRateModelCalculateTypeIsGs2ScriptOptions, CurrentMasterData, };
17
+ export { Namespace, NamespaceOptions, RateModel, RateModelOptions, RateModelTimingType, RateModelTimingTypeIsImmediateOptions, RateModelTimingTypeIsAwaitOptions, IncrementalRateModel, IncrementalRateModelOptions, IncrementalRateModelCalculateType, IncrementalRateModelCalculateTypeIsLinearOptions, IncrementalRateModelCalculateTypeIsPowerOptions, IncrementalRateModelCalculateTypeIsGs2ScriptOptions, LogCost, LogCostOptions, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.IncrementalRateModelCalculateType = exports.IncrementalRateModel = exports.RateModelTimingType = exports.RateModel = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.LogCost = exports.IncrementalRateModelCalculateType = exports.IncrementalRateModel = exports.RateModelTimingType = exports.RateModel = exports.Namespace = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -27,6 +27,8 @@ const IncrementalRateModel_1 = tslib_1.__importDefault(require("./IncrementalRat
27
27
  exports.IncrementalRateModel = IncrementalRateModel_1.default;
28
28
  const IncrementalRateModelCalculateType_1 = require("./enum/IncrementalRateModelCalculateType");
29
29
  Object.defineProperty(exports, "IncrementalRateModelCalculateType", { enumerable: true, get: function () { return IncrementalRateModelCalculateType_1.IncrementalRateModelCalculateType; } });
30
+ const LogCost_1 = tslib_1.__importDefault(require("./LogCost"));
31
+ exports.LogCost = LogCost_1.default;
30
32
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
31
33
  exports.CurrentMasterData = CurrentMasterData_1.default;
32
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAgBhC,oBAhBG,mBAAS,CAgBH;AAdb,oEAAoC;AAgBhC,oBAhBG,mBAAS,CAgBH;AAdb,oEAAiE;AAgB7D,oGAhBK,yCAAmB,OAgBL;AAbvB,0FAA0D;AAgBtD,+BAhBG,8BAAoB,CAgBH;AAdxB,gGAA6F;AAgBzF,kHAhBK,qEAAiC,OAgBL;AAZrC,oFAAoD;AAgBhD,4BAhBG,2BAAiB,CAgBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAkBhC,oBAlBG,mBAAS,CAkBH;AAhBb,oEAAoC;AAkBhC,oBAlBG,mBAAS,CAkBH;AAhBb,oEAAiE;AAkB7D,oGAlBK,yCAAmB,OAkBL;AAfvB,0FAA0D;AAkBtD,+BAlBG,8BAAoB,CAkBH;AAhBxB,gGAA6F;AAkBzF,kHAlBK,qEAAiC,OAkBL;AAdrC,gEAAgC;AAkB5B,kBAlBG,iBAAO,CAkBH;AAhBX,oFAAoD;AAkBhD,4BAlBG,2BAAiB,CAkBH"}
@@ -26,6 +26,8 @@ import { IncrementalRateModelCalculateType } from "./enum/IncrementalRateModelCa
26
26
  import { IncrementalRateModelCalculateTypeIsLinearOptions } from "./options/IncrementalRateModelCalculateTypeIsLinearOptions"
27
27
  import { IncrementalRateModelCalculateTypeIsPowerOptions } from "./options/IncrementalRateModelCalculateTypeIsPowerOptions"
28
28
  import { IncrementalRateModelCalculateTypeIsGs2ScriptOptions } from "./options/IncrementalRateModelCalculateTypeIsGs2ScriptOptions"
29
+ import LogCost from "./LogCost";
30
+ import { LogCostOptions } from "./options/LogCostOptions";
29
31
  import CurrentMasterData from "./CurrentMasterData";
30
32
 
31
33
  export {
@@ -42,5 +44,7 @@ export {
42
44
  IncrementalRateModelCalculateTypeIsLinearOptions,
43
45
  IncrementalRateModelCalculateTypeIsPowerOptions,
44
46
  IncrementalRateModelCalculateTypeIsGs2ScriptOptions,
47
+ LogCost,
48
+ LogCostOptions,
45
49
  CurrentMasterData,
46
50
  }
@@ -0,0 +1,3 @@
1
+ export interface LogCostOptions {
2
+ subs?: number[] | null;
3
+ }
@@ -0,0 +1,18 @@
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
+ //# sourceMappingURL=LogCostOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogCostOptions.js","sourceRoot":"","sources":["LogCostOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,20 @@
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
+ export interface LogCostOptions {
18
+ subs?: number[]|null;
19
+ }
20
+
@@ -0,0 +1,12 @@
1
+ import { InGameLogOptions } from "./options/InGameLogOptions";
2
+ export default class InGameLog {
3
+ private readonly timestamp;
4
+ private readonly requestId;
5
+ private readonly payload;
6
+ private readonly userId;
7
+ private readonly tags;
8
+ constructor(timestamp: number, requestId: string, payload: string, options?: InGameLogOptions | null);
9
+ properties(): {
10
+ [name: string]: any;
11
+ };
12
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class InGameLog {
4
+ constructor(timestamp, requestId, payload, options = null) {
5
+ var _a, _b;
6
+ this.userId = null;
7
+ this.tags = null;
8
+ this.timestamp = timestamp;
9
+ this.requestId = requestId;
10
+ this.payload = payload;
11
+ this.userId = (_a = options === null || options === void 0 ? void 0 : options.userId) !== null && _a !== void 0 ? _a : null;
12
+ this.tags = (_b = options === null || options === void 0 ? void 0 : options.tags) !== null && _b !== void 0 ? _b : null;
13
+ }
14
+ properties() {
15
+ let properties = {};
16
+ if (this.timestamp != null) {
17
+ properties["timestamp"] = this.timestamp;
18
+ }
19
+ if (this.requestId != null) {
20
+ properties["requestId"] = this.requestId;
21
+ }
22
+ if (this.userId != null) {
23
+ properties["userId"] = this.userId;
24
+ }
25
+ if (this.tags != null) {
26
+ properties["tags"] = this.tags.map(v => v.properties());
27
+ }
28
+ if (this.payload != null) {
29
+ properties["payload"] = this.payload;
30
+ }
31
+ return properties;
32
+ }
33
+ }
34
+ exports.default = InGameLog;
35
+ //# sourceMappingURL=InGameLog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InGameLog.js","sourceRoot":"","sources":["InGameLog.ts"],"names":[],"mappings":";;AAkBA,MAAqB,SAAS;IAO1B,YACI,SAAiB,EACjB,SAAiB,EACjB,OAAe,EACf,UAAiC,IAAI;;QAPxB,WAAM,GAAgB,IAAI,CAAC;QAC3B,SAAI,GAAwB,IAAI,CAAC;QAQ9C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,mCAAI,IAAI,CAAC;IACtC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC/C,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA3CD,4BA2CC"}
@@ -0,0 +1,62 @@
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 InGameLogTag from "./InGameLogTag";
17
+ import { InGameLogOptions } from "./options/InGameLogOptions";
18
+
19
+ export default class InGameLog {
20
+ private readonly timestamp: number;
21
+ private readonly requestId: string;
22
+ private readonly payload: string;
23
+ private readonly userId: string|null = null;
24
+ private readonly tags: InGameLogTag[]|null = null;
25
+
26
+ public constructor(
27
+ timestamp: number,
28
+ requestId: string,
29
+ payload: string,
30
+ options: InGameLogOptions|null = null,
31
+ ) {
32
+ this.timestamp = timestamp;
33
+ this.requestId = requestId;
34
+ this.payload = payload;
35
+ this.userId = options?.userId ?? null;
36
+ this.tags = options?.tags ?? null;
37
+ }
38
+
39
+ public properties(
40
+ ): {[name: string]: any} {
41
+ let properties: {[name: string]: any} = {};
42
+
43
+ if (this.timestamp != null) {
44
+ properties["timestamp"] = this.timestamp;
45
+ }
46
+ if (this.requestId != null) {
47
+ properties["requestId"] = this.requestId;
48
+ }
49
+ if (this.userId != null) {
50
+ properties["userId"] = this.userId;
51
+ }
52
+ if (this.tags != null) {
53
+ properties["tags"] = this.tags.map(v => v.properties(
54
+ ));
55
+ }
56
+ if (this.payload != null) {
57
+ properties["payload"] = this.payload;
58
+ }
59
+
60
+ return properties;
61
+ }
62
+ }
@@ -0,0 +1,5 @@
1
+ import InGameLogTag from "../InGameLogTag";
2
+ export interface InGameLogOptions {
3
+ userId?: string | null;
4
+ tags?: InGameLogTag[] | null;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=InGameLogOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InGameLogOptions.js","sourceRoot":"","sources":["InGameLogOptions.ts"],"names":[],"mappings":""}
@@ -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 InGameLogTag from "../InGameLogTag";
17
+
18
+ export interface InGameLogOptions {
19
+ userId?: string|null;
20
+ tags?: InGameLogTag[]|null;
21
+ }
22
+
@@ -0,0 +1,5 @@
1
+ export default class InGameLogRef {
2
+ private readonly namespaceName;
3
+ private readonly requestId;
4
+ constructor(namespaceName: string, requestId: string);
5
+ }
@@ -0,0 +1,25 @@
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
+ class InGameLogRef {
19
+ constructor(namespaceName, requestId) {
20
+ this.namespaceName = namespaceName;
21
+ this.requestId = requestId;
22
+ }
23
+ }
24
+ exports.default = InGameLogRef;
25
+ //# sourceMappingURL=InGameLogRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InGameLogRef.js","sourceRoot":"","sources":["InGameLogRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,YAAY;IAI7B,YACI,aAAqB,EACrB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAXD,+BAWC"}
@@ -0,0 +1,30 @@
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 InGameLogRef {
20
+ private readonly namespaceName: string;
21
+ private readonly requestId: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ requestId: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.requestId = requestId;
29
+ }
30
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"CounterModel.js","sourceRoot":"","sources":["CounterModel.ts"],"names":[],"mappings":";;AAkBA,MAAqB,YAAY;IAM7B,YACI,IAAY,EACZ,MAA2B,EAC3B,UAAoC,IAAI;;QAN3B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,2BAAsB,GAAgB,IAAI,CAAC;QAOxD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,sBAAsB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,sBAAsB,mCAAI,IAAI,CAAC;IAC1E,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnD,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,sBAAsB,IAAI,IAAI,EAAE;YACrC,UAAU,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,sBAAsB,CAAC;SACtE;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AArCD,+BAqCC"}
1
+ {"version":3,"file":"CounterModel.js","sourceRoot":"","sources":["CounterModel.ts"],"names":[],"mappings":";;AAmBA,MAAqB,YAAY;IAM7B,YACI,IAAY,EACZ,MAA2B,EAC3B,UAAoC,IAAI;;QAN3B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,2BAAsB,GAAgB,IAAI,CAAC;QAOxD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,sBAAsB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,sBAAsB,mCAAI,IAAI,CAAC;IAC1E,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnD,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,sBAAsB,IAAI,IAAI,EAAE;YACrC,UAAU,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,sBAAsB,CAAC;SACtE;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AArCD,+BAqCC"}
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import CounterScopeModel from "./CounterScopeModel";
17
18
  import { CounterModelOptions } from "./options/CounterModelOptions";
18
19