@xmobitea/gn-typescript-client 2.4.9-esnext → 2.4.10-esnext

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.
@@ -1,4 +1,4 @@
1
1
  export declare enum ItemType {
2
- NonConsumable = 1,
3
- Consumable = 2
2
+ NonStackable = 1,
3
+ Stackable = 2
4
4
  }
@@ -1,5 +1,5 @@
1
1
  export var ItemType;
2
2
  (function (ItemType) {
3
- ItemType[ItemType["NonConsumable"] = 1] = "NonConsumable";
4
- ItemType[ItemType["Consumable"] = 2] = "Consumable";
3
+ ItemType[ItemType["NonStackable"] = 1] = "NonStackable";
4
+ ItemType[ItemType["Stackable"] = 2] = "Stackable";
5
5
  })(ItemType || (ItemType = {}));
@@ -19,7 +19,7 @@ export declare class GNErrorCode {
19
19
  static readonly FileNotFound: number;
20
20
  static readonly FileNotUpload: number;
21
21
  static readonly OwnerTypeNotSupport: number;
22
- static readonly ItemNotComsumable: number;
22
+ static readonly ItemNotStackable: number;
23
23
  static readonly GameNotFound: number;
24
24
  static readonly GameIsExists: number;
25
25
  static readonly SecretInfoNotFound: number;
@@ -20,7 +20,7 @@ GNErrorCode.GamePlayerNotFound = 17;
20
20
  GNErrorCode.FileNotFound = 18;
21
21
  GNErrorCode.FileNotUpload = 19;
22
22
  GNErrorCode.OwnerTypeNotSupport = 20;
23
- GNErrorCode.ItemNotComsumable = 21;
23
+ GNErrorCode.ItemNotStackable = 21;
24
24
  GNErrorCode.GameNotFound = 22;
25
25
  GNErrorCode.GameIsExists = 23;
26
26
  GNErrorCode.SecretInfoNotFound = 24;
@@ -837,7 +837,7 @@ export var CharacterPlayerModels;
837
837
  __metadata("design:type", String)
838
838
  ], GrantPlayerItemRequestData.prototype, "displayName", void 0);
839
839
  __decorate([
840
- NumberDataMember({ code: GNParameterCode.Amount, defaultValue: 1, isOptional: true }),
840
+ NumberDataMember({ code: GNParameterCode.Amount, defaultValue: 1, mustInt: true, isOptional: true }),
841
841
  __metadata("design:type", Number)
842
842
  ], GrantPlayerItemRequestData.prototype, "amount", void 0);
843
843
  CharacterPlayerModels.GrantPlayerItemRequestData = GrantPlayerItemRequestData;
@@ -904,7 +904,7 @@ export var GamePlayerModels;
904
904
  __metadata("design:type", String)
905
905
  ], GrantPlayerItemRequestData.prototype, "displayName", void 0);
906
906
  __decorate([
907
- NumberDataMember({ code: GNParameterCode.Amount, defaultValue: 1, isOptional: true }),
907
+ NumberDataMember({ code: GNParameterCode.Amount, defaultValue: 1, mustInt: true, isOptional: true }),
908
908
  __metadata("design:type", Number)
909
909
  ], GrantPlayerItemRequestData.prototype, "amount", void 0);
910
910
  GamePlayerModels.GrantPlayerItemRequestData = GrantPlayerItemRequestData;
@@ -608,7 +608,7 @@ export var GroupModels;
608
608
  __metadata("design:type", String)
609
609
  ], GrantGroupItemRequestData.prototype, "displayName", void 0);
610
610
  __decorate([
611
- NumberDataMember({ code: GNParameterCode.Amount, defaultValue: 1, isOptional: true }),
611
+ NumberDataMember({ code: GNParameterCode.Amount, defaultValue: 1, mustInt: true, isOptional: true }),
612
612
  __metadata("design:type", Number)
613
613
  ], GrantGroupItemRequestData.prototype, "amount", void 0);
614
614
  GroupModels.GrantGroupItemRequestData = GrantGroupItemRequestData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmobitea/gn-typescript-client",
3
- "version": "2.4.9-esnext",
3
+ "version": "2.4.10-esnext",
4
4
  "description": "",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",