gs2-cdk 1.0.35 → 1.0.37

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 (127) hide show
  1. package/dictionary/ref/EntryModelRef.d.ts +2 -0
  2. package/dictionary/ref/EntryModelRef.js +4 -0
  3. package/dictionary/ref/EntryModelRef.js.map +1 -1
  4. package/dictionary/ref/EntryModelRef.ts +14 -0
  5. package/dictionary/ref/NamespaceRef.d.ts +2 -0
  6. package/dictionary/ref/NamespaceRef.js +4 -0
  7. package/dictionary/ref/NamespaceRef.js.map +1 -1
  8. package/dictionary/ref/NamespaceRef.ts +14 -0
  9. package/dictionary/stampSheet/VerifyEntryByUserId.d.ts +4 -0
  10. package/dictionary/stampSheet/VerifyEntryByUserId.js +30 -0
  11. package/dictionary/stampSheet/VerifyEntryByUserId.js.map +1 -0
  12. package/dictionary/stampSheet/VerifyEntryByUserId.ts +39 -0
  13. package/dictionary/stampSheet/index.d.ts +2 -1
  14. package/dictionary/stampSheet/index.js +3 -1
  15. package/dictionary/stampSheet/index.js.map +1 -1
  16. package/dictionary/stampSheet/index.ts +2 -0
  17. package/enhance/ref/NamespaceRef.d.ts +1 -1
  18. package/enhance/ref/NamespaceRef.js +1 -1
  19. package/enhance/ref/NamespaceRef.js.map +1 -1
  20. package/enhance/ref/NamespaceRef.ts +1 -1
  21. package/exchange/ref/NamespaceRef.d.ts +2 -2
  22. package/exchange/ref/NamespaceRef.js +2 -2
  23. package/exchange/ref/NamespaceRef.js.map +1 -1
  24. package/exchange/ref/NamespaceRef.ts +2 -2
  25. package/experience/model/Namespace.d.ts +1 -1
  26. package/experience/model/Namespace.js +4 -4
  27. package/experience/model/Namespace.js.map +1 -1
  28. package/experience/model/Namespace.ts +4 -4
  29. package/experience/model/options/NamespaceOptions.d.ts +1 -1
  30. package/experience/model/options/NamespaceOptions.ts +1 -1
  31. package/experience/ref/NamespaceRef.d.ts +6 -2
  32. package/experience/ref/NamespaceRef.js +10 -2
  33. package/experience/ref/NamespaceRef.js.map +1 -1
  34. package/experience/ref/NamespaceRef.ts +38 -2
  35. package/experience/stampSheet/VerifyRankByUserId.d.ts +4 -0
  36. package/experience/stampSheet/VerifyRankByUserId.js +32 -0
  37. package/experience/stampSheet/VerifyRankByUserId.js.map +1 -0
  38. package/experience/stampSheet/VerifyRankByUserId.ts +43 -0
  39. package/experience/stampSheet/VerifyRankCapByUserId.d.ts +4 -0
  40. package/experience/stampSheet/VerifyRankCapByUserId.js +32 -0
  41. package/experience/stampSheet/VerifyRankCapByUserId.js.map +1 -0
  42. package/experience/stampSheet/VerifyRankCapByUserId.ts +43 -0
  43. package/experience/stampSheet/index.d.ts +3 -1
  44. package/experience/stampSheet/index.js +5 -1
  45. package/experience/stampSheet/index.js.map +1 -1
  46. package/experience/stampSheet/index.ts +4 -0
  47. package/formation/ref/FormModelRef.d.ts +1 -2
  48. package/formation/ref/FormModelRef.js +1 -4
  49. package/formation/ref/FormModelRef.js.map +1 -1
  50. package/formation/ref/FormModelRef.ts +0 -5
  51. package/formation/ref/MoldModelRef.d.ts +1 -1
  52. package/formation/ref/MoldModelRef.js +2 -2
  53. package/formation/ref/MoldModelRef.js.map +1 -1
  54. package/formation/ref/MoldModelRef.ts +0 -2
  55. package/inbox/ref/NamespaceRef.d.ts +2 -2
  56. package/inbox/ref/NamespaceRef.js +2 -2
  57. package/inbox/ref/NamespaceRef.js.map +1 -1
  58. package/inbox/ref/NamespaceRef.ts +2 -2
  59. package/inventory/ref/BigInventoryModelRef.d.ts +2 -0
  60. package/inventory/ref/BigInventoryModelRef.js +4 -0
  61. package/inventory/ref/BigInventoryModelRef.js.map +1 -1
  62. package/inventory/ref/BigInventoryModelRef.ts +17 -0
  63. package/inventory/ref/BigItemModelRef.d.ts +2 -0
  64. package/inventory/ref/BigItemModelRef.js +4 -0
  65. package/inventory/ref/BigItemModelRef.js.map +1 -1
  66. package/inventory/ref/BigItemModelRef.ts +16 -0
  67. package/inventory/ref/InventoryModelRef.d.ts +8 -4
  68. package/inventory/ref/InventoryModelRef.js +15 -7
  69. package/inventory/ref/InventoryModelRef.js.map +1 -1
  70. package/inventory/ref/InventoryModelRef.ts +42 -8
  71. package/inventory/ref/ItemModelRef.d.ts +6 -4
  72. package/inventory/ref/ItemModelRef.js +11 -7
  73. package/inventory/ref/ItemModelRef.js.map +1 -1
  74. package/inventory/ref/ItemModelRef.ts +26 -8
  75. package/inventory/stampSheet/VerifyBigItemByUserId.d.ts +4 -0
  76. package/inventory/stampSheet/VerifyBigItemByUserId.js +32 -0
  77. package/inventory/stampSheet/VerifyBigItemByUserId.js.map +1 -0
  78. package/inventory/stampSheet/VerifyBigItemByUserId.ts +43 -0
  79. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.d.ts +4 -0
  80. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.js +31 -0
  81. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.js.map +1 -0
  82. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.ts +41 -0
  83. package/inventory/stampSheet/VerifyItemSetByUserId.d.ts +4 -0
  84. package/inventory/stampSheet/VerifyItemSetByUserId.js +33 -0
  85. package/inventory/stampSheet/VerifyItemSetByUserId.js.map +1 -0
  86. package/inventory/stampSheet/VerifyItemSetByUserId.ts +45 -0
  87. package/inventory/stampSheet/VerifySimpleItemByUserId.d.ts +4 -0
  88. package/inventory/stampSheet/VerifySimpleItemByUserId.js +32 -0
  89. package/inventory/stampSheet/VerifySimpleItemByUserId.js.map +1 -0
  90. package/inventory/stampSheet/VerifySimpleItemByUserId.ts +43 -0
  91. package/inventory/stampSheet/index.d.ts +5 -1
  92. package/inventory/stampSheet/index.js +9 -1
  93. package/inventory/stampSheet/index.js.map +1 -1
  94. package/inventory/stampSheet/index.ts +8 -0
  95. package/jobQueue/ref/NamespaceRef.d.ts +1 -1
  96. package/jobQueue/ref/NamespaceRef.js +1 -1
  97. package/jobQueue/ref/NamespaceRef.js.map +1 -1
  98. package/jobQueue/ref/NamespaceRef.ts +1 -1
  99. package/limit/ref/NamespaceRef.d.ts +4 -2
  100. package/limit/ref/NamespaceRef.js +6 -2
  101. package/limit/ref/NamespaceRef.js.map +1 -1
  102. package/limit/ref/NamespaceRef.ts +20 -2
  103. package/limit/stampSheet/VerifyCounterByUserId.d.ts +4 -0
  104. package/limit/stampSheet/VerifyCounterByUserId.js +32 -0
  105. package/limit/stampSheet/VerifyCounterByUserId.js.map +1 -0
  106. package/limit/stampSheet/VerifyCounterByUserId.ts +43 -0
  107. package/limit/stampSheet/index.d.ts +2 -1
  108. package/limit/stampSheet/index.js +3 -1
  109. package/limit/stampSheet/index.js.map +1 -1
  110. package/limit/stampSheet/index.ts +2 -0
  111. package/lottery/model/BoxItem.d.ts +2 -1
  112. package/lottery/model/BoxItem.js +5 -1
  113. package/lottery/model/BoxItem.js.map +1 -1
  114. package/lottery/model/BoxItem.ts +6 -0
  115. package/money/ref/NamespaceRef.d.ts +1 -1
  116. package/money/ref/NamespaceRef.js +1 -1
  117. package/money/ref/NamespaceRef.js.map +1 -1
  118. package/money/ref/NamespaceRef.ts +1 -1
  119. package/package.json +1 -1
  120. package/quest/ref/NamespaceRef.d.ts +1 -1
  121. package/quest/ref/NamespaceRef.js +1 -1
  122. package/quest/ref/NamespaceRef.js.map +1 -1
  123. package/quest/ref/NamespaceRef.ts +1 -1
  124. package/stateMachine/ref/NamespaceRef.d.ts +1 -1
  125. package/stateMachine/ref/NamespaceRef.js +1 -1
  126. package/stateMachine/ref/NamespaceRef.js.map +1 -1
  127. package/stateMachine/ref/NamespaceRef.ts +1 -1
@@ -21,7 +21,9 @@ import SetCapacityByUserId from "../stampSheet/SetCapacityByUserId";
21
21
  import AcquireItemSetByUserId from "../stampSheet/AcquireItemSetByUserId";
22
22
  import AddReferenceOfByUserId from "../stampSheet/AddReferenceOfByUserId";
23
23
  import DeleteReferenceOfByUserId from "../stampSheet/DeleteReferenceOfByUserId";
24
+ import VerifyInventoryCurrentMaxCapacityByUserId from "../stampSheet/VerifyInventoryCurrentMaxCapacityByUserId";
24
25
  import ConsumeItemSetByUserId from "../stampSheet/ConsumeItemSetByUserId";
26
+ import VerifyItemSetByUserId from "../stampSheet/VerifyItemSetByUserId";
25
27
  import VerifyReferenceOfByUserId from "../stampSheet/VerifyReferenceOfByUserId";
26
28
 
27
29
  export default class InventoryModelRef {
@@ -73,8 +75,8 @@ export default class InventoryModelRef {
73
75
  public acquireItemSet(
74
76
  itemName: string,
75
77
  acquireCount: number,
76
- expiresAt: number,
77
- createNewItemSet: boolean,
78
+ expiresAt: number|null = null,
79
+ createNewItemSet: boolean|null = null,
78
80
  itemSetName: string|null = null,
79
81
  userId: string|null = "#{userId}",
80
82
  ): AcquireItemSetByUserId {
@@ -92,32 +94,46 @@ export default class InventoryModelRef {
92
94
 
93
95
  public addReferenceOf(
94
96
  itemName: string,
95
- itemSetName: string,
96
97
  referenceOf: string,
98
+ itemSetName: string|null = null,
97
99
  userId: string|null = "#{userId}",
98
100
  ): AddReferenceOfByUserId {
99
101
  return new AddReferenceOfByUserId(
100
102
  this.namespaceName,
101
103
  this.inventoryName,
102
104
  itemName,
103
- itemSetName,
104
105
  referenceOf,
106
+ itemSetName,
105
107
  userId,
106
108
  );
107
109
  }
108
110
 
109
111
  public deleteReferenceOf(
110
112
  itemName: string,
111
- itemSetName: string,
112
113
  referenceOf: string,
114
+ itemSetName: string|null = null,
113
115
  userId: string|null = "#{userId}",
114
116
  ): DeleteReferenceOfByUserId {
115
117
  return new DeleteReferenceOfByUserId(
116
118
  this.namespaceName,
117
119
  this.inventoryName,
118
120
  itemName,
119
- itemSetName,
120
121
  referenceOf,
122
+ itemSetName,
123
+ userId,
124
+ );
125
+ }
126
+
127
+ public verifyInventoryCurrentMaxCapacity(
128
+ verifyType: string,
129
+ currentInventoryMaxCapacity: number,
130
+ userId: string|null = "#{userId}",
131
+ ): VerifyInventoryCurrentMaxCapacityByUserId {
132
+ return new VerifyInventoryCurrentMaxCapacityByUserId(
133
+ this.namespaceName,
134
+ this.inventoryName,
135
+ verifyType,
136
+ currentInventoryMaxCapacity,
121
137
  userId,
122
138
  );
123
139
  }
@@ -138,20 +154,38 @@ export default class InventoryModelRef {
138
154
  );
139
155
  }
140
156
 
157
+ public verifyItemSet(
158
+ itemName: string,
159
+ verifyType: string,
160
+ count: number,
161
+ itemSetName: string|null = null,
162
+ userId: string|null = "#{userId}",
163
+ ): VerifyItemSetByUserId {
164
+ return new VerifyItemSetByUserId(
165
+ this.namespaceName,
166
+ this.inventoryName,
167
+ itemName,
168
+ verifyType,
169
+ count,
170
+ itemSetName,
171
+ userId,
172
+ );
173
+ }
174
+
141
175
  public verifyReferenceOf(
142
176
  itemName: string,
143
- itemSetName: string,
144
177
  referenceOf: string,
145
178
  verifyType: string,
179
+ itemSetName: string|null = null,
146
180
  userId: string|null = "#{userId}",
147
181
  ): VerifyReferenceOfByUserId {
148
182
  return new VerifyReferenceOfByUserId(
149
183
  this.namespaceName,
150
184
  this.inventoryName,
151
185
  itemName,
152
- itemSetName,
153
186
  referenceOf,
154
187
  verifyType,
188
+ itemSetName,
155
189
  userId,
156
190
  );
157
191
  }
@@ -2,16 +2,18 @@ import AcquireItemSetByUserId from "../stampSheet/AcquireItemSetByUserId";
2
2
  import AddReferenceOfByUserId from "../stampSheet/AddReferenceOfByUserId";
3
3
  import DeleteReferenceOfByUserId from "../stampSheet/DeleteReferenceOfByUserId";
4
4
  import ConsumeItemSetByUserId from "../stampSheet/ConsumeItemSetByUserId";
5
+ import VerifyItemSetByUserId from "../stampSheet/VerifyItemSetByUserId";
5
6
  import VerifyReferenceOfByUserId from "../stampSheet/VerifyReferenceOfByUserId";
6
7
  export default class ItemModelRef {
7
8
  private readonly namespaceName;
8
9
  private readonly inventoryName;
9
10
  private readonly itemName;
10
11
  constructor(namespaceName: string, inventoryName: string, itemName: string);
11
- acquireItemSet(acquireCount: number, expiresAt: number, createNewItemSet: boolean, itemSetName?: string | null, userId?: string | null): AcquireItemSetByUserId;
12
- addReferenceOf(itemSetName: string, referenceOf: string, userId?: string | null): AddReferenceOfByUserId;
13
- deleteReferenceOf(itemSetName: string, referenceOf: string, userId?: string | null): DeleteReferenceOfByUserId;
12
+ acquireItemSet(acquireCount: number, expiresAt?: number | null, createNewItemSet?: boolean | null, itemSetName?: string | null, userId?: string | null): AcquireItemSetByUserId;
13
+ addReferenceOf(referenceOf: string, itemSetName?: string | null, userId?: string | null): AddReferenceOfByUserId;
14
+ deleteReferenceOf(referenceOf: string, itemSetName?: string | null, userId?: string | null): DeleteReferenceOfByUserId;
14
15
  consumeItemSet(consumeCount: number, itemSetName?: string | null, userId?: string | null): ConsumeItemSetByUserId;
15
- verifyReferenceOf(itemSetName: string, referenceOf: string, verifyType: string, userId?: string | null): VerifyReferenceOfByUserId;
16
+ verifyItemSet(verifyType: string, count: number, itemSetName?: string | null, userId?: string | null): VerifyItemSetByUserId;
17
+ verifyReferenceOf(referenceOf: string, verifyType: string, itemSetName?: string | null, userId?: string | null): VerifyReferenceOfByUserId;
16
18
  grn(): string;
17
19
  }
@@ -21,6 +21,7 @@ const AcquireItemSetByUserId_1 = tslib_1.__importDefault(require("../stampSheet/
21
21
  const AddReferenceOfByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AddReferenceOfByUserId"));
22
22
  const DeleteReferenceOfByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteReferenceOfByUserId"));
23
23
  const ConsumeItemSetByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ConsumeItemSetByUserId"));
24
+ const VerifyItemSetByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyItemSetByUserId"));
24
25
  const VerifyReferenceOfByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyReferenceOfByUserId"));
25
26
  class ItemModelRef {
26
27
  constructor(namespaceName, inventoryName, itemName) {
@@ -28,20 +29,23 @@ class ItemModelRef {
28
29
  this.inventoryName = inventoryName;
29
30
  this.itemName = itemName;
30
31
  }
31
- acquireItemSet(acquireCount, expiresAt, createNewItemSet, itemSetName = null, userId = "#{userId}") {
32
+ acquireItemSet(acquireCount, expiresAt = null, createNewItemSet = null, itemSetName = null, userId = "#{userId}") {
32
33
  return new AcquireItemSetByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, acquireCount, expiresAt, createNewItemSet, itemSetName, userId);
33
34
  }
34
- addReferenceOf(itemSetName, referenceOf, userId = "#{userId}") {
35
- return new AddReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, itemSetName, referenceOf, userId);
35
+ addReferenceOf(referenceOf, itemSetName = null, userId = "#{userId}") {
36
+ return new AddReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, referenceOf, itemSetName, userId);
36
37
  }
37
- deleteReferenceOf(itemSetName, referenceOf, userId = "#{userId}") {
38
- return new DeleteReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, itemSetName, referenceOf, userId);
38
+ deleteReferenceOf(referenceOf, itemSetName = null, userId = "#{userId}") {
39
+ return new DeleteReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, referenceOf, itemSetName, userId);
39
40
  }
40
41
  consumeItemSet(consumeCount, itemSetName = null, userId = "#{userId}") {
41
42
  return new ConsumeItemSetByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, consumeCount, itemSetName, userId);
42
43
  }
43
- verifyReferenceOf(itemSetName, referenceOf, verifyType, userId = "#{userId}") {
44
- return new VerifyReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, itemSetName, referenceOf, verifyType, userId);
44
+ verifyItemSet(verifyType, count, itemSetName = null, userId = "#{userId}") {
45
+ return new VerifyItemSetByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, verifyType, count, itemSetName, userId);
46
+ }
47
+ verifyReferenceOf(referenceOf, verifyType, itemSetName = null, userId = "#{userId}") {
48
+ return new VerifyReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, referenceOf, verifyType, itemSetName, userId);
45
49
  }
46
50
  grn() {
47
51
  return new func_1.Join(":", [
@@ -1 +1 @@
1
- {"version":3,"file":"ItemModelRef.js","sourceRoot":"","sources":["ItemModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0GAA0E;AAC1E,0GAA0E;AAC1E,gHAAgF;AAChF,0GAA0E;AAC1E,gHAAgF;AAEhF,MAAqB,YAAY;IAK7B,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB;QAEhB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,SAAiB,EACjB,gBAAyB,EACzB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,WAAmB,EACnB,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,WAAW,EACX,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,iBAAiB,CACpB,WAAmB,EACnB,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,WAAW,EACX,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,YAAY,EACZ,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,iBAAiB,CACpB,WAAmB,EACnB,WAAmB,EACnB,UAAkB,EAClB,SAAsB,WAAW;QAEjC,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,WAAW,EACX,WAAW,EACX,UAAU,EACV,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,aAAa;YAClB,MAAM;YACN,IAAI,CAAC,QAAQ;SAChB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvHD,+BAuHC"}
1
+ {"version":3,"file":"ItemModelRef.js","sourceRoot":"","sources":["ItemModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0GAA0E;AAC1E,0GAA0E;AAC1E,gHAAgF;AAChF,0GAA0E;AAC1E,wGAAwE;AACxE,gHAAgF;AAEhF,MAAqB,YAAY;IAK7B,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB;QAEhB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,YAAyB,IAAI,EAC7B,mBAAiC,IAAI,EACrC,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,WAAmB,EACnB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,WAAW,EACX,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,iBAAiB,CACpB,WAAmB,EACnB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,WAAW,EACX,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,YAAY,EACZ,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,UAAkB,EAClB,KAAa,EACb,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,UAAU,EACV,KAAK,EACL,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,iBAAiB,CACpB,WAAmB,EACnB,UAAkB,EAClB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,aAAa;YAClB,MAAM;YACN,IAAI,CAAC,QAAQ;SAChB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAxID,+BAwIC"}
@@ -19,6 +19,7 @@ import AcquireItemSetByUserId from "../stampSheet/AcquireItemSetByUserId";
19
19
  import AddReferenceOfByUserId from "../stampSheet/AddReferenceOfByUserId";
20
20
  import DeleteReferenceOfByUserId from "../stampSheet/DeleteReferenceOfByUserId";
21
21
  import ConsumeItemSetByUserId from "../stampSheet/ConsumeItemSetByUserId";
22
+ import VerifyItemSetByUserId from "../stampSheet/VerifyItemSetByUserId";
22
23
  import VerifyReferenceOfByUserId from "../stampSheet/VerifyReferenceOfByUserId";
23
24
 
24
25
  export default class ItemModelRef {
@@ -38,8 +39,8 @@ export default class ItemModelRef {
38
39
 
39
40
  public acquireItemSet(
40
41
  acquireCount: number,
41
- expiresAt: number,
42
- createNewItemSet: boolean,
42
+ expiresAt: number|null = null,
43
+ createNewItemSet: boolean|null = null,
43
44
  itemSetName: string|null = null,
44
45
  userId: string|null = "#{userId}",
45
46
  ): AcquireItemSetByUserId {
@@ -56,31 +57,31 @@ export default class ItemModelRef {
56
57
  }
57
58
 
58
59
  public addReferenceOf(
59
- itemSetName: string,
60
60
  referenceOf: string,
61
+ itemSetName: string|null = null,
61
62
  userId: string|null = "#{userId}",
62
63
  ): AddReferenceOfByUserId {
63
64
  return new AddReferenceOfByUserId(
64
65
  this.namespaceName,
65
66
  this.inventoryName,
66
67
  this.itemName,
67
- itemSetName,
68
68
  referenceOf,
69
+ itemSetName,
69
70
  userId,
70
71
  );
71
72
  }
72
73
 
73
74
  public deleteReferenceOf(
74
- itemSetName: string,
75
75
  referenceOf: string,
76
+ itemSetName: string|null = null,
76
77
  userId: string|null = "#{userId}",
77
78
  ): DeleteReferenceOfByUserId {
78
79
  return new DeleteReferenceOfByUserId(
79
80
  this.namespaceName,
80
81
  this.inventoryName,
81
82
  this.itemName,
82
- itemSetName,
83
83
  referenceOf,
84
+ itemSetName,
84
85
  userId,
85
86
  );
86
87
  }
@@ -100,19 +101,36 @@ export default class ItemModelRef {
100
101
  );
101
102
  }
102
103
 
104
+ public verifyItemSet(
105
+ verifyType: string,
106
+ count: number,
107
+ itemSetName: string|null = null,
108
+ userId: string|null = "#{userId}",
109
+ ): VerifyItemSetByUserId {
110
+ return new VerifyItemSetByUserId(
111
+ this.namespaceName,
112
+ this.inventoryName,
113
+ this.itemName,
114
+ verifyType,
115
+ count,
116
+ itemSetName,
117
+ userId,
118
+ );
119
+ }
120
+
103
121
  public verifyReferenceOf(
104
- itemSetName: string,
105
122
  referenceOf: string,
106
123
  verifyType: string,
124
+ itemSetName: string|null = null,
107
125
  userId: string|null = "#{userId}",
108
126
  ): VerifyReferenceOfByUserId {
109
127
  return new VerifyReferenceOfByUserId(
110
128
  this.namespaceName,
111
129
  this.inventoryName,
112
130
  this.itemName,
113
- itemSetName,
114
131
  referenceOf,
115
132
  verifyType,
133
+ itemSetName,
116
134
  userId,
117
135
  );
118
136
  }
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class VerifyBigItemByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, inventoryName: string, itemName: string, verifyType: string, count: string, userId?: string | null);
4
+ }
@@ -0,0 +1,32 @@
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 VerifyBigItemByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, inventoryName, itemName, verifyType, count, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["inventoryName"] = inventoryName;
24
+ properties["itemName"] = itemName;
25
+ properties["verifyType"] = verifyType;
26
+ properties["count"] = count;
27
+ properties["userId"] = userId;
28
+ super("Gs2Inventory:VerifyBigItemByUserId", properties);
29
+ }
30
+ }
31
+ exports.default = VerifyBigItemByUserId;
32
+ //# sourceMappingURL=VerifyBigItemByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyBigItemByUserId.js","sourceRoot":"","sources":["VerifyBigItemByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB,EAChB,UAAkB,EAClB,KAAa,EACb,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAA;QACjC,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;QAC3B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,oCAAoC,EACpC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAxBD,wCAwBC"}
@@ -0,0 +1,43 @@
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 VerifyBigItemByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ inventoryName: string,
24
+ itemName: string,
25
+ verifyType: string,
26
+ count: string,
27
+ userId: string|null = "#{userId}",
28
+ ) {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ properties["namespaceName"] = namespaceName
32
+ properties["inventoryName"] = inventoryName
33
+ properties["itemName"] = itemName
34
+ properties["verifyType"] = verifyType
35
+ properties["count"] = count
36
+ properties["userId"] = userId
37
+
38
+ super(
39
+ "Gs2Inventory:VerifyBigItemByUserId",
40
+ properties,
41
+ );
42
+ }
43
+ }
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class VerifyInventoryCurrentMaxCapacityByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, inventoryName: string, verifyType: string, currentInventoryMaxCapacity: number, userId?: string | null);
4
+ }
@@ -0,0 +1,31 @@
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 VerifyInventoryCurrentMaxCapacityByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, inventoryName, verifyType, currentInventoryMaxCapacity, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["inventoryName"] = inventoryName;
24
+ properties["verifyType"] = verifyType;
25
+ properties["currentInventoryMaxCapacity"] = currentInventoryMaxCapacity;
26
+ properties["userId"] = userId;
27
+ super("Gs2Inventory:VerifyInventoryCurrentMaxCapacityByUserId", properties);
28
+ }
29
+ }
30
+ exports.default = VerifyInventoryCurrentMaxCapacityByUserId;
31
+ //# sourceMappingURL=VerifyInventoryCurrentMaxCapacityByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyInventoryCurrentMaxCapacityByUserId.js","sourceRoot":"","sources":["VerifyInventoryCurrentMaxCapacityByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,yCAA0C,SAAQ,qBAAa;IAEhF,YACI,aAAqB,EACrB,aAAqB,EACrB,UAAkB,EAClB,2BAAmC,EACnC,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,6BAA6B,CAAC,GAAG,2BAA2B,CAAA;QACvE,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,wDAAwD,EACxD,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAtBD,4DAsBC"}
@@ -0,0 +1,41 @@
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 VerifyInventoryCurrentMaxCapacityByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ inventoryName: string,
24
+ verifyType: string,
25
+ currentInventoryMaxCapacity: number,
26
+ userId: string|null = "#{userId}",
27
+ ) {
28
+ let properties: {[name: string]: any} = {};
29
+
30
+ properties["namespaceName"] = namespaceName
31
+ properties["inventoryName"] = inventoryName
32
+ properties["verifyType"] = verifyType
33
+ properties["currentInventoryMaxCapacity"] = currentInventoryMaxCapacity
34
+ properties["userId"] = userId
35
+
36
+ super(
37
+ "Gs2Inventory:VerifyInventoryCurrentMaxCapacityByUserId",
38
+ properties,
39
+ );
40
+ }
41
+ }
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class VerifyItemSetByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, inventoryName: string, itemName: string, verifyType: string, count: number, itemSetName?: string | null, userId?: string | null);
4
+ }
@@ -0,0 +1,33 @@
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 VerifyItemSetByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, inventoryName, itemName, verifyType, count, itemSetName = null, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["inventoryName"] = inventoryName;
24
+ properties["itemName"] = itemName;
25
+ properties["verifyType"] = verifyType;
26
+ properties["count"] = count;
27
+ properties["itemSetName"] = itemSetName;
28
+ properties["userId"] = userId;
29
+ super("Gs2Inventory:VerifyItemSetByUserId", properties);
30
+ }
31
+ }
32
+ exports.default = VerifyItemSetByUserId;
33
+ //# sourceMappingURL=VerifyItemSetByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyItemSetByUserId.js","sourceRoot":"","sources":["VerifyItemSetByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB,EAChB,UAAkB,EAClB,KAAa,EACb,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAA;QACjC,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;QAC3B,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,CAAA;QACvC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,oCAAoC,EACpC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AA1BD,wCA0BC"}
@@ -0,0 +1,45 @@
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 VerifyItemSetByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ inventoryName: string,
24
+ itemName: string,
25
+ verifyType: string,
26
+ count: number,
27
+ itemSetName: string|null = null,
28
+ userId: string|null = "#{userId}",
29
+ ) {
30
+ let properties: {[name: string]: any} = {};
31
+
32
+ properties["namespaceName"] = namespaceName
33
+ properties["inventoryName"] = inventoryName
34
+ properties["itemName"] = itemName
35
+ properties["verifyType"] = verifyType
36
+ properties["count"] = count
37
+ properties["itemSetName"] = itemSetName
38
+ properties["userId"] = userId
39
+
40
+ super(
41
+ "Gs2Inventory:VerifyItemSetByUserId",
42
+ properties,
43
+ );
44
+ }
45
+ }
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class VerifySimpleItemByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, inventoryName: string, itemName: string, verifyType: string, count: number, userId?: string | null);
4
+ }
@@ -0,0 +1,32 @@
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 VerifySimpleItemByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, inventoryName, itemName, verifyType, count, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["inventoryName"] = inventoryName;
24
+ properties["itemName"] = itemName;
25
+ properties["verifyType"] = verifyType;
26
+ properties["count"] = count;
27
+ properties["userId"] = userId;
28
+ super("Gs2Inventory:VerifySimpleItemByUserId", properties);
29
+ }
30
+ }
31
+ exports.default = VerifySimpleItemByUserId;
32
+ //# sourceMappingURL=VerifySimpleItemByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifySimpleItemByUserId.js","sourceRoot":"","sources":["VerifySimpleItemByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,wBAAyB,SAAQ,qBAAa;IAE/D,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB,EAChB,UAAkB,EAClB,KAAa,EACb,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAA;QACjC,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;QAC3B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,uCAAuC,EACvC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAxBD,2CAwBC"}
@@ -0,0 +1,43 @@
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 VerifySimpleItemByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ inventoryName: string,
24
+ itemName: string,
25
+ verifyType: string,
26
+ count: number,
27
+ userId: string|null = "#{userId}",
28
+ ) {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ properties["namespaceName"] = namespaceName
32
+ properties["inventoryName"] = inventoryName
33
+ properties["itemName"] = itemName
34
+ properties["verifyType"] = verifyType
35
+ properties["count"] = count
36
+ properties["userId"] = userId
37
+
38
+ super(
39
+ "Gs2Inventory:VerifySimpleItemByUserId",
40
+ properties,
41
+ );
42
+ }
43
+ }
@@ -5,8 +5,12 @@ import AddReferenceOfByUserId from "./AddReferenceOfByUserId";
5
5
  import DeleteReferenceOfByUserId from "./DeleteReferenceOfByUserId";
6
6
  import AcquireSimpleItemsByUserId from "./AcquireSimpleItemsByUserId";
7
7
  import AcquireBigItemByUserId from "./AcquireBigItemByUserId";
8
+ import VerifyInventoryCurrentMaxCapacityByUserId from "./VerifyInventoryCurrentMaxCapacityByUserId";
8
9
  import ConsumeItemSetByUserId from "./ConsumeItemSetByUserId";
10
+ import VerifyItemSetByUserId from "./VerifyItemSetByUserId";
9
11
  import VerifyReferenceOfByUserId from "./VerifyReferenceOfByUserId";
10
12
  import ConsumeSimpleItemsByUserId from "./ConsumeSimpleItemsByUserId";
13
+ import VerifySimpleItemByUserId from "./VerifySimpleItemByUserId";
11
14
  import ConsumeBigItemByUserId from "./ConsumeBigItemByUserId";
12
- export { AddCapacityByUserId, SetCapacityByUserId, AcquireItemSetByUserId, AddReferenceOfByUserId, DeleteReferenceOfByUserId, AcquireSimpleItemsByUserId, AcquireBigItemByUserId, ConsumeItemSetByUserId, VerifyReferenceOfByUserId, ConsumeSimpleItemsByUserId, ConsumeBigItemByUserId, };
15
+ import VerifyBigItemByUserId from "./VerifyBigItemByUserId";
16
+ export { AddCapacityByUserId, SetCapacityByUserId, AcquireItemSetByUserId, AddReferenceOfByUserId, DeleteReferenceOfByUserId, AcquireSimpleItemsByUserId, AcquireBigItemByUserId, VerifyInventoryCurrentMaxCapacityByUserId, ConsumeItemSetByUserId, VerifyItemSetByUserId, VerifyReferenceOfByUserId, ConsumeSimpleItemsByUserId, VerifySimpleItemByUserId, ConsumeBigItemByUserId, VerifyBigItemByUserId, };