@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.
- package/dist/runtime/constant/enumType/ItemType.d.ts +2 -2
- package/dist/runtime/constant/enumType/ItemType.js +2 -2
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +1 -1
- package/dist/runtime/constant/errorCode/GNErrorCode.js +1 -1
- package/dist/runtime/entity/models/CharacterPlayerModels.js +1 -1
- package/dist/runtime/entity/models/GamePlayerModels.js +1 -1
- package/dist/runtime/entity/models/GroupModels.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export var ItemType;
|
|
2
2
|
(function (ItemType) {
|
|
3
|
-
ItemType[ItemType["
|
|
4
|
-
ItemType[ItemType["
|
|
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
|
|
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.
|
|
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;
|