gs2 1.3.160 → 1.3.162
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/inventory/model/BigInventory.d.ts +36 -0
- package/inventory/model/BigInventory.js +191 -0
- package/inventory/model/BigInventory.js.map +1 -0
- package/inventory/model/BigInventory.ts +207 -0
- package/inventory/model/BigInventoryModel.d.ts +32 -0
- package/inventory/model/BigInventoryModel.js +165 -0
- package/inventory/model/BigInventoryModel.js.map +1 -0
- package/inventory/model/BigInventoryModel.ts +179 -0
- package/inventory/model/BigInventoryModelMaster.d.ts +43 -0
- package/inventory/model/BigInventoryModelMaster.js +199 -0
- package/inventory/model/BigInventoryModelMaster.js.map +1 -0
- package/inventory/model/BigInventoryModelMaster.ts +212 -0
- package/inventory/model/BigItem.d.ts +45 -0
- package/inventory/model/BigItem.js +241 -0
- package/inventory/model/BigItem.js.map +1 -0
- package/inventory/model/BigItem.ts +260 -0
- package/inventory/model/BigItemModel.d.ts +28 -0
- package/inventory/model/BigItemModel.js +163 -0
- package/inventory/model/BigItemModel.js.map +1 -0
- package/inventory/model/BigItemModel.ts +179 -0
- package/inventory/model/BigItemModelMaster.d.ts +44 -0
- package/inventory/model/BigItemModelMaster.js +219 -0
- package/inventory/model/BigItemModelMaster.js.map +1 -0
- package/inventory/model/BigItemModelMaster.ts +235 -0
- package/inventory/model/InventoryModelMaster.d.ts +4 -0
- package/inventory/model/InventoryModelMaster.js +15 -1
- package/inventory/model/InventoryModelMaster.js.map +1 -1
- package/inventory/model/InventoryModelMaster.ts +15 -1
- package/inventory/model/ItemModelMaster.d.ts +4 -0
- package/inventory/model/ItemModelMaster.js +15 -1
- package/inventory/model/ItemModelMaster.js.map +1 -1
- package/inventory/model/ItemModelMaster.ts +15 -1
- package/inventory/model/Namespace.d.ts +4 -0
- package/inventory/model/Namespace.js +15 -1
- package/inventory/model/Namespace.js.map +1 -1
- package/inventory/model/Namespace.ts +15 -1
- package/inventory/model/SimpleInventory.d.ts +9 -0
- package/inventory/model/SimpleInventory.js +37 -1
- package/inventory/model/SimpleInventory.js.map +1 -1
- package/inventory/model/SimpleInventory.ts +38 -1
- package/inventory/model/SimpleInventoryModelMaster.d.ts +4 -0
- package/inventory/model/SimpleInventoryModelMaster.js +15 -1
- package/inventory/model/SimpleInventoryModelMaster.js.map +1 -1
- package/inventory/model/SimpleInventoryModelMaster.ts +15 -1
- package/inventory/model/SimpleItem.d.ts +4 -0
- package/inventory/model/SimpleItem.js +15 -1
- package/inventory/model/SimpleItem.js.map +1 -1
- package/inventory/model/SimpleItem.ts +15 -1
- package/inventory/model/SimpleItemModelMaster.d.ts +4 -0
- package/inventory/model/SimpleItemModelMaster.js +15 -1
- package/inventory/model/SimpleItemModelMaster.js.map +1 -1
- package/inventory/model/SimpleItemModelMaster.ts +15 -1
- package/inventory/model/index.d.ts +7 -1
- package/inventory/model/index.js +13 -1
- package/inventory/model/index.js.map +1 -1
- package/inventory/model/index.ts +12 -0
- package/inventory/request/AcquireBigItemByStampSheetRequest.d.ts +25 -0
- package/inventory/request/AcquireBigItemByStampSheetRequest.js +83 -0
- package/inventory/request/AcquireBigItemByStampSheetRequest.js.map +1 -0
- package/inventory/request/AcquireBigItemByStampSheetRequest.ts +90 -0
- package/inventory/request/AcquireBigItemByUserIdRequest.d.ts +41 -0
- package/inventory/request/AcquireBigItemByUserIdRequest.js +137 -0
- package/inventory/request/AcquireBigItemByUserIdRequest.js.map +1 -0
- package/inventory/request/AcquireBigItemByUserIdRequest.ts +147 -0
- package/inventory/request/ConsumeBigItemByStampTaskRequest.d.ts +25 -0
- package/inventory/request/ConsumeBigItemByStampTaskRequest.js +83 -0
- package/inventory/request/ConsumeBigItemByStampTaskRequest.js.map +1 -0
- package/inventory/request/ConsumeBigItemByStampTaskRequest.ts +90 -0
- package/inventory/request/ConsumeBigItemByUserIdRequest.d.ts +41 -0
- package/inventory/request/ConsumeBigItemByUserIdRequest.js +137 -0
- package/inventory/request/ConsumeBigItemByUserIdRequest.js.map +1 -0
- package/inventory/request/ConsumeBigItemByUserIdRequest.ts +147 -0
- package/inventory/request/ConsumeBigItemRequest.d.ts +41 -0
- package/inventory/request/ConsumeBigItemRequest.js +137 -0
- package/inventory/request/ConsumeBigItemRequest.js.map +1 -0
- package/inventory/request/ConsumeBigItemRequest.ts +147 -0
- package/inventory/request/CreateBigInventoryModelMasterRequest.d.ts +33 -0
- package/inventory/request/CreateBigInventoryModelMasterRequest.js +111 -0
- package/inventory/request/CreateBigInventoryModelMasterRequest.js.map +1 -0
- package/inventory/request/CreateBigInventoryModelMasterRequest.ts +118 -0
- package/inventory/request/CreateBigItemModelMasterRequest.d.ts +37 -0
- package/inventory/request/CreateBigItemModelMasterRequest.js +125 -0
- package/inventory/request/CreateBigItemModelMasterRequest.js.map +1 -0
- package/inventory/request/CreateBigItemModelMasterRequest.ts +132 -0
- package/inventory/request/DeleteBigInventoryModelMasterRequest.d.ts +25 -0
- package/inventory/request/DeleteBigInventoryModelMasterRequest.js +83 -0
- package/inventory/request/DeleteBigInventoryModelMasterRequest.js.map +1 -0
- package/inventory/request/DeleteBigInventoryModelMasterRequest.ts +90 -0
- package/inventory/request/DeleteBigItemByUserIdRequest.d.ts +37 -0
- package/inventory/request/DeleteBigItemByUserIdRequest.js +123 -0
- package/inventory/request/DeleteBigItemByUserIdRequest.js.map +1 -0
- package/inventory/request/DeleteBigItemByUserIdRequest.ts +133 -0
- package/inventory/request/DeleteBigItemModelMasterRequest.d.ts +29 -0
- package/inventory/request/DeleteBigItemModelMasterRequest.js +97 -0
- package/inventory/request/DeleteBigItemModelMasterRequest.js.map +1 -0
- package/inventory/request/DeleteBigItemModelMasterRequest.ts +104 -0
- package/inventory/request/DescribeBigInventoryModelMastersRequest.d.ts +29 -0
- package/inventory/request/DescribeBigInventoryModelMastersRequest.js +97 -0
- package/inventory/request/DescribeBigInventoryModelMastersRequest.js.map +1 -0
- package/inventory/request/DescribeBigInventoryModelMastersRequest.ts +104 -0
- package/inventory/request/DescribeBigInventoryModelsRequest.d.ts +21 -0
- package/inventory/request/DescribeBigInventoryModelsRequest.js +69 -0
- package/inventory/request/DescribeBigInventoryModelsRequest.js.map +1 -0
- package/inventory/request/DescribeBigInventoryModelsRequest.ts +76 -0
- package/inventory/request/DescribeBigItemModelMastersRequest.d.ts +33 -0
- package/inventory/request/DescribeBigItemModelMastersRequest.js +111 -0
- package/inventory/request/DescribeBigItemModelMastersRequest.js.map +1 -0
- package/inventory/request/DescribeBigItemModelMastersRequest.ts +118 -0
- package/inventory/request/DescribeBigItemModelsRequest.d.ts +25 -0
- package/inventory/request/DescribeBigItemModelsRequest.js +83 -0
- package/inventory/request/DescribeBigItemModelsRequest.js.map +1 -0
- package/inventory/request/DescribeBigItemModelsRequest.ts +90 -0
- package/inventory/request/DescribeBigItemsByUserIdRequest.d.ts +37 -0
- package/inventory/request/DescribeBigItemsByUserIdRequest.js +125 -0
- package/inventory/request/DescribeBigItemsByUserIdRequest.js.map +1 -0
- package/inventory/request/DescribeBigItemsByUserIdRequest.ts +132 -0
- package/inventory/request/DescribeBigItemsRequest.d.ts +37 -0
- package/inventory/request/DescribeBigItemsRequest.js +125 -0
- package/inventory/request/DescribeBigItemsRequest.js.map +1 -0
- package/inventory/request/DescribeBigItemsRequest.ts +132 -0
- package/inventory/request/GetBigInventoryModelMasterRequest.d.ts +25 -0
- package/inventory/request/GetBigInventoryModelMasterRequest.js +83 -0
- package/inventory/request/GetBigInventoryModelMasterRequest.js.map +1 -0
- package/inventory/request/GetBigInventoryModelMasterRequest.ts +90 -0
- package/inventory/request/GetBigInventoryModelRequest.d.ts +25 -0
- package/inventory/request/GetBigInventoryModelRequest.js +83 -0
- package/inventory/request/GetBigInventoryModelRequest.js.map +1 -0
- package/inventory/request/GetBigInventoryModelRequest.ts +90 -0
- package/inventory/request/GetBigItemByUserIdRequest.d.ts +33 -0
- package/inventory/request/GetBigItemByUserIdRequest.js +111 -0
- package/inventory/request/GetBigItemByUserIdRequest.js.map +1 -0
- package/inventory/request/GetBigItemByUserIdRequest.ts +118 -0
- package/inventory/request/GetBigItemModelMasterRequest.d.ts +29 -0
- package/inventory/request/GetBigItemModelMasterRequest.js +97 -0
- package/inventory/request/GetBigItemModelMasterRequest.js.map +1 -0
- package/inventory/request/GetBigItemModelMasterRequest.ts +104 -0
- package/inventory/request/GetBigItemModelRequest.d.ts +29 -0
- package/inventory/request/GetBigItemModelRequest.js +97 -0
- package/inventory/request/GetBigItemModelRequest.js.map +1 -0
- package/inventory/request/GetBigItemModelRequest.ts +104 -0
- package/inventory/request/GetBigItemRequest.d.ts +33 -0
- package/inventory/request/GetBigItemRequest.js +111 -0
- package/inventory/request/GetBigItemRequest.js.map +1 -0
- package/inventory/request/GetBigItemRequest.ts +118 -0
- package/inventory/request/UpdateBigInventoryModelMasterRequest.d.ts +33 -0
- package/inventory/request/UpdateBigInventoryModelMasterRequest.js +111 -0
- package/inventory/request/UpdateBigInventoryModelMasterRequest.js.map +1 -0
- package/inventory/request/UpdateBigInventoryModelMasterRequest.ts +118 -0
- package/inventory/request/UpdateBigItemModelMasterRequest.d.ts +37 -0
- package/inventory/request/UpdateBigItemModelMasterRequest.js +125 -0
- package/inventory/request/UpdateBigItemModelMasterRequest.js.map +1 -0
- package/inventory/request/UpdateBigItemModelMasterRequest.ts +132 -0
- package/inventory/request/index.d.ts +25 -1
- package/inventory/request/index.js +51 -2
- package/inventory/request/index.js.map +1 -1
- package/inventory/request/index.ts +48 -0
- package/inventory/rest.d.ts +24 -0
- package/inventory/rest.js +1154 -512
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +1117 -379
- package/inventory/result/AcquireBigItemByStampSheetResult.d.ts +14 -0
- package/inventory/result/AcquireBigItemByStampSheetResult.js +48 -0
- package/inventory/result/AcquireBigItemByStampSheetResult.js.map +1 -0
- package/inventory/result/AcquireBigItemByStampSheetResult.ts +48 -0
- package/inventory/result/AcquireBigItemByUserIdResult.d.ts +14 -0
- package/inventory/result/AcquireBigItemByUserIdResult.js +48 -0
- package/inventory/result/AcquireBigItemByUserIdResult.js.map +1 -0
- package/inventory/result/AcquireBigItemByUserIdResult.ts +48 -0
- package/inventory/result/ConsumeBigItemByStampTaskResult.d.ts +18 -0
- package/inventory/result/ConsumeBigItemByStampTaskResult.js +62 -0
- package/inventory/result/ConsumeBigItemByStampTaskResult.js.map +1 -0
- package/inventory/result/ConsumeBigItemByStampTaskResult.ts +65 -0
- package/inventory/result/ConsumeBigItemByUserIdResult.d.ts +14 -0
- package/inventory/result/ConsumeBigItemByUserIdResult.js +48 -0
- package/inventory/result/ConsumeBigItemByUserIdResult.js.map +1 -0
- package/inventory/result/ConsumeBigItemByUserIdResult.ts +48 -0
- package/inventory/result/ConsumeBigItemResult.d.ts +14 -0
- package/inventory/result/ConsumeBigItemResult.js +48 -0
- package/inventory/result/ConsumeBigItemResult.js.map +1 -0
- package/inventory/result/ConsumeBigItemResult.ts +48 -0
- package/inventory/result/CreateBigInventoryModelMasterResult.d.ts +14 -0
- package/inventory/result/CreateBigInventoryModelMasterResult.js +48 -0
- package/inventory/result/CreateBigInventoryModelMasterResult.js.map +1 -0
- package/inventory/result/CreateBigInventoryModelMasterResult.ts +48 -0
- package/inventory/result/CreateBigItemModelMasterResult.d.ts +14 -0
- package/inventory/result/CreateBigItemModelMasterResult.js +48 -0
- package/inventory/result/CreateBigItemModelMasterResult.js.map +1 -0
- package/inventory/result/CreateBigItemModelMasterResult.ts +48 -0
- package/inventory/result/DeleteBigInventoryModelMasterResult.d.ts +14 -0
- package/inventory/result/DeleteBigInventoryModelMasterResult.js +48 -0
- package/inventory/result/DeleteBigInventoryModelMasterResult.js.map +1 -0
- package/inventory/result/DeleteBigInventoryModelMasterResult.ts +48 -0
- package/inventory/result/DeleteBigItemByUserIdResult.d.ts +14 -0
- package/inventory/result/DeleteBigItemByUserIdResult.js +48 -0
- package/inventory/result/DeleteBigItemByUserIdResult.js.map +1 -0
- package/inventory/result/DeleteBigItemByUserIdResult.ts +48 -0
- package/inventory/result/DeleteBigItemModelMasterResult.d.ts +14 -0
- package/inventory/result/DeleteBigItemModelMasterResult.js +48 -0
- package/inventory/result/DeleteBigItemModelMasterResult.js.map +1 -0
- package/inventory/result/DeleteBigItemModelMasterResult.ts +48 -0
- package/inventory/result/DescribeBigInventoryModelMastersResult.d.ts +18 -0
- package/inventory/result/DescribeBigInventoryModelMastersResult.js +67 -0
- package/inventory/result/DescribeBigInventoryModelMastersResult.js.map +1 -0
- package/inventory/result/DescribeBigInventoryModelMastersResult.ts +73 -0
- package/inventory/result/DescribeBigInventoryModelsResult.d.ts +14 -0
- package/inventory/result/DescribeBigInventoryModelsResult.js +53 -0
- package/inventory/result/DescribeBigInventoryModelsResult.js.map +1 -0
- package/inventory/result/DescribeBigInventoryModelsResult.ts +56 -0
- package/inventory/result/DescribeBigItemModelMastersResult.d.ts +18 -0
- package/inventory/result/DescribeBigItemModelMastersResult.js +67 -0
- package/inventory/result/DescribeBigItemModelMastersResult.js.map +1 -0
- package/inventory/result/DescribeBigItemModelMastersResult.ts +73 -0
- package/inventory/result/DescribeBigItemModelsResult.d.ts +14 -0
- package/inventory/result/DescribeBigItemModelsResult.js +53 -0
- package/inventory/result/DescribeBigItemModelsResult.js.map +1 -0
- package/inventory/result/DescribeBigItemModelsResult.ts +56 -0
- package/inventory/result/DescribeBigItemsByUserIdResult.d.ts +18 -0
- package/inventory/result/DescribeBigItemsByUserIdResult.js +67 -0
- package/inventory/result/DescribeBigItemsByUserIdResult.js.map +1 -0
- package/inventory/result/DescribeBigItemsByUserIdResult.ts +73 -0
- package/inventory/result/DescribeBigItemsResult.d.ts +18 -0
- package/inventory/result/DescribeBigItemsResult.js +67 -0
- package/inventory/result/DescribeBigItemsResult.js.map +1 -0
- package/inventory/result/DescribeBigItemsResult.ts +73 -0
- package/inventory/result/GetBigInventoryModelMasterResult.d.ts +14 -0
- package/inventory/result/GetBigInventoryModelMasterResult.js +48 -0
- package/inventory/result/GetBigInventoryModelMasterResult.js.map +1 -0
- package/inventory/result/GetBigInventoryModelMasterResult.ts +48 -0
- package/inventory/result/GetBigInventoryModelResult.d.ts +14 -0
- package/inventory/result/GetBigInventoryModelResult.js +48 -0
- package/inventory/result/GetBigInventoryModelResult.js.map +1 -0
- package/inventory/result/GetBigInventoryModelResult.ts +48 -0
- package/inventory/result/GetBigItemByUserIdResult.d.ts +18 -0
- package/inventory/result/GetBigItemByUserIdResult.js +62 -0
- package/inventory/result/GetBigItemByUserIdResult.js.map +1 -0
- package/inventory/result/GetBigItemByUserIdResult.ts +65 -0
- package/inventory/result/GetBigItemModelMasterResult.d.ts +14 -0
- package/inventory/result/GetBigItemModelMasterResult.js +48 -0
- package/inventory/result/GetBigItemModelMasterResult.js.map +1 -0
- package/inventory/result/GetBigItemModelMasterResult.ts +48 -0
- package/inventory/result/GetBigItemModelResult.d.ts +14 -0
- package/inventory/result/GetBigItemModelResult.js +48 -0
- package/inventory/result/GetBigItemModelResult.js.map +1 -0
- package/inventory/result/GetBigItemModelResult.ts +48 -0
- package/inventory/result/GetBigItemResult.d.ts +18 -0
- package/inventory/result/GetBigItemResult.js +62 -0
- package/inventory/result/GetBigItemResult.js.map +1 -0
- package/inventory/result/GetBigItemResult.ts +65 -0
- package/inventory/result/UpdateBigInventoryModelMasterResult.d.ts +14 -0
- package/inventory/result/UpdateBigInventoryModelMasterResult.js +48 -0
- package/inventory/result/UpdateBigInventoryModelMasterResult.js.map +1 -0
- package/inventory/result/UpdateBigInventoryModelMasterResult.ts +48 -0
- package/inventory/result/UpdateBigItemModelMasterResult.d.ts +14 -0
- package/inventory/result/UpdateBigItemModelMasterResult.js +48 -0
- package/inventory/result/UpdateBigItemModelMasterResult.js.map +1 -0
- package/inventory/result/UpdateBigItemModelMasterResult.ts +48 -0
- package/inventory/result/index.d.ts +25 -1
- package/inventory/result/index.js +51 -2
- package/inventory/result/index.js.map +1 -1
- package/inventory/result/index.ts +48 -0
- package/package.json +1 -1
- package/project/request/WaitActivateRegionRequest.d.ts +25 -0
- package/project/request/WaitActivateRegionRequest.js +83 -0
- package/project/request/WaitActivateRegionRequest.js.map +1 -0
- package/project/request/WaitActivateRegionRequest.ts +90 -0
- package/project/request/index.d.ts +2 -1
- package/project/request/index.js +3 -1
- package/project/request/index.js.map +1 -1
- package/project/request/index.ts +2 -0
- package/project/rest.d.ts +1 -0
- package/project/rest.js +27 -0
- package/project/rest.js.map +1 -1
- package/project/rest.ts +31 -0
- package/project/result/WaitActivateRegionResult.d.ts +14 -0
- package/project/result/WaitActivateRegionResult.js +48 -0
- package/project/result/WaitActivateRegionResult.js.map +1 -0
- package/project/result/WaitActivateRegionResult.ts +48 -0
- package/project/result/index.d.ts +2 -1
- package/project/result/index.js +3 -1
- package/project/result/index.js.map +1 -1
- package/project/result/index.ts +2 -0
- package/stamina/model/MaxStaminaTable.d.ts +0 -10
- package/stamina/model/MaxStaminaTable.js +0 -81
- package/stamina/model/MaxStaminaTable.js.map +1 -1
- package/stamina/model/MaxStaminaTable.ts +0 -96
- package/stamina/model/RecoverIntervalTable.d.ts +0 -10
- package/stamina/model/RecoverIntervalTable.js +0 -81
- package/stamina/model/RecoverIntervalTable.js.map +1 -1
- package/stamina/model/RecoverIntervalTable.ts +0 -96
- package/stamina/model/RecoverValueTable.d.ts +0 -10
- package/stamina/model/RecoverValueTable.js +0 -81
- package/stamina/model/RecoverValueTable.js.map +1 -1
- package/stamina/model/RecoverValueTable.ts +0 -96
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Inventory from '../model';
|
|
3
|
+
export default class DescribeBigItemsResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private nextPageToken;
|
|
6
|
+
getItems(): Gs2Inventory.BigItem[] | null;
|
|
7
|
+
setItems(items: Gs2Inventory.BigItem[] | null): this;
|
|
8
|
+
withItems(items: Gs2Inventory.BigItem[] | null): this;
|
|
9
|
+
getNextPageToken(): string | null;
|
|
10
|
+
setNextPageToken(nextPageToken: string | null): this;
|
|
11
|
+
withNextPageToken(nextPageToken: string | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): DescribeBigItemsResult;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Inventory = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var DescribeBigItemsResult = /** @class */ (function () {
|
|
21
|
+
function DescribeBigItemsResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.nextPageToken = null;
|
|
24
|
+
}
|
|
25
|
+
DescribeBigItemsResult.prototype.getItems = function () {
|
|
26
|
+
return this.items;
|
|
27
|
+
};
|
|
28
|
+
DescribeBigItemsResult.prototype.setItems = function (items) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
DescribeBigItemsResult.prototype.withItems = function (items) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
DescribeBigItemsResult.prototype.getNextPageToken = function () {
|
|
37
|
+
return this.nextPageToken;
|
|
38
|
+
};
|
|
39
|
+
DescribeBigItemsResult.prototype.setNextPageToken = function (nextPageToken) {
|
|
40
|
+
this.nextPageToken = nextPageToken;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
DescribeBigItemsResult.prototype.withNextPageToken = function (nextPageToken) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DescribeBigItemsResult.fromDict = function (data) {
|
|
48
|
+
return new DescribeBigItemsResult()
|
|
49
|
+
.withItems(data.items ?
|
|
50
|
+
data.items.map(function (item) {
|
|
51
|
+
return Gs2Inventory.BigItem.fromDict(item);
|
|
52
|
+
}) : [])
|
|
53
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
54
|
+
};
|
|
55
|
+
DescribeBigItemsResult.prototype.toDict = function () {
|
|
56
|
+
return {
|
|
57
|
+
"items": this.getItems() ?
|
|
58
|
+
this.getItems().map(function (item) {
|
|
59
|
+
return item.toDict();
|
|
60
|
+
}) : [],
|
|
61
|
+
"nextPageToken": this.getNextPageToken(),
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
return DescribeBigItemsResult;
|
|
65
|
+
}());
|
|
66
|
+
exports.default = DescribeBigItemsResult;
|
|
67
|
+
//# sourceMappingURL=DescribeBigItemsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeBigItemsResult.js","sourceRoot":"","sources":["DescribeBigItemsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,UAAK,GAAgC,IAAI,CAAC;QAC1C,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,yCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,KAAkC;QAC9C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAS,GAAhB,UAAiB,KAAkC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,iDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC/C,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,uCAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA0B;oBAC5C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeBigItemsResult implements IResult {
|
|
22
|
+
private items: Gs2Inventory.BigItem[]|null = null;
|
|
23
|
+
private nextPageToken: string|null = null;
|
|
24
|
+
|
|
25
|
+
public getItems(): Gs2Inventory.BigItem[]|null {
|
|
26
|
+
return this.items;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItems(items: Gs2Inventory.BigItem[]|null) {
|
|
30
|
+
this.items = items;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItems(items: Gs2Inventory.BigItem[]|null): this {
|
|
35
|
+
this.items = items;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getNextPageToken(): string|null {
|
|
40
|
+
return this.nextPageToken;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setNextPageToken(nextPageToken: string|null) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withNextPageToken(nextPageToken: string|null): this {
|
|
49
|
+
this.nextPageToken = nextPageToken;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): DescribeBigItemsResult {
|
|
54
|
+
return new DescribeBigItemsResult()
|
|
55
|
+
.withItems(data.items ?
|
|
56
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Inventory.BigItem.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : [])
|
|
60
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public toDict(): {[key: string]: any} {
|
|
64
|
+
return {
|
|
65
|
+
"items": this.getItems() ?
|
|
66
|
+
this.getItems()!.map((item: Gs2Inventory.BigItem) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
70
|
+
"nextPageToken": this.getNextPageToken(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Inventory from '../model';
|
|
3
|
+
export default class GetBigInventoryModelMasterResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Inventory.BigInventoryModelMaster | null;
|
|
6
|
+
setItem(item: Gs2Inventory.BigInventoryModelMaster | null): this;
|
|
7
|
+
withItem(item: Gs2Inventory.BigInventoryModelMaster | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetBigInventoryModelMasterResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Inventory = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetBigInventoryModelMasterResult = /** @class */ (function () {
|
|
21
|
+
function GetBigInventoryModelMasterResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetBigInventoryModelMasterResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetBigInventoryModelMasterResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetBigInventoryModelMasterResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetBigInventoryModelMasterResult.fromDict = function (data) {
|
|
36
|
+
return new GetBigInventoryModelMasterResult()
|
|
37
|
+
.withItem(Gs2Inventory.BigInventoryModelMaster.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetBigInventoryModelMasterResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return GetBigInventoryModelMasterResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetBigInventoryModelMasterResult;
|
|
48
|
+
//# sourceMappingURL=GetBigInventoryModelMasterResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBigInventoryModelMasterResult.js","sourceRoot":"","sources":["GetBigInventoryModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAA8C,IAAI,CAAC;IA0BnE,CAAC;IAxBU,kDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,kDAAO,GAAd,UAAe,IAA+C;QAC1D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAQ,GAAf,UAAgB,IAA+C;QAC3D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,gCAAgC,EAAE;aACxC,QAAQ,CAAC,YAAY,CAAC,uBAAuB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC/E,CAAC;IAEM,iDAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,uCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBigInventoryModelMasterResult implements IResult {
|
|
22
|
+
private item: Gs2Inventory.BigInventoryModelMaster|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Inventory.BigInventoryModelMaster|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Inventory.BigInventoryModelMaster|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Inventory.BigInventoryModelMaster|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): GetBigInventoryModelMasterResult {
|
|
39
|
+
return new GetBigInventoryModelMasterResult()
|
|
40
|
+
.withItem(Gs2Inventory.BigInventoryModelMaster.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Inventory from '../model';
|
|
3
|
+
export default class GetBigInventoryModelResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Inventory.BigInventoryModel | null;
|
|
6
|
+
setItem(item: Gs2Inventory.BigInventoryModel | null): this;
|
|
7
|
+
withItem(item: Gs2Inventory.BigInventoryModel | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetBigInventoryModelResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Inventory = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetBigInventoryModelResult = /** @class */ (function () {
|
|
21
|
+
function GetBigInventoryModelResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetBigInventoryModelResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetBigInventoryModelResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetBigInventoryModelResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetBigInventoryModelResult.fromDict = function (data) {
|
|
36
|
+
return new GetBigInventoryModelResult()
|
|
37
|
+
.withItem(Gs2Inventory.BigInventoryModel.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetBigInventoryModelResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return GetBigInventoryModelResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetBigInventoryModelResult;
|
|
48
|
+
//# sourceMappingURL=GetBigInventoryModelResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBigInventoryModelResult.js","sourceRoot":"","sources":["GetBigInventoryModelResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAAwC,IAAI,CAAC;IA0B7D,CAAC;IAxBU,4CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,4CAAO,GAAd,UAAe,IAAyC;QACpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAQ,GAAf,UAAgB,IAAyC;QACrD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,QAAQ,CAAC,YAAY,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC;IAEM,2CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBigInventoryModelResult implements IResult {
|
|
22
|
+
private item: Gs2Inventory.BigInventoryModel|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Inventory.BigInventoryModel|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Inventory.BigInventoryModel|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Inventory.BigInventoryModel|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): GetBigInventoryModelResult {
|
|
39
|
+
return new GetBigInventoryModelResult()
|
|
40
|
+
.withItem(Gs2Inventory.BigInventoryModel.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Inventory from '../model';
|
|
3
|
+
export default class GetBigItemByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private itemModel;
|
|
6
|
+
getItem(): Gs2Inventory.BigItem | null;
|
|
7
|
+
setItem(item: Gs2Inventory.BigItem | null): this;
|
|
8
|
+
withItem(item: Gs2Inventory.BigItem | null): this;
|
|
9
|
+
getItemModel(): Gs2Inventory.BigItemModel | null;
|
|
10
|
+
setItemModel(itemModel: Gs2Inventory.BigItemModel | null): this;
|
|
11
|
+
withItemModel(itemModel: Gs2Inventory.BigItemModel | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): GetBigItemByUserIdResult;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Inventory = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetBigItemByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function GetBigItemByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.itemModel = null;
|
|
24
|
+
}
|
|
25
|
+
GetBigItemByUserIdResult.prototype.getItem = function () {
|
|
26
|
+
return this.item;
|
|
27
|
+
};
|
|
28
|
+
GetBigItemByUserIdResult.prototype.setItem = function (item) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
GetBigItemByUserIdResult.prototype.withItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
GetBigItemByUserIdResult.prototype.getItemModel = function () {
|
|
37
|
+
return this.itemModel;
|
|
38
|
+
};
|
|
39
|
+
GetBigItemByUserIdResult.prototype.setItemModel = function (itemModel) {
|
|
40
|
+
this.itemModel = itemModel;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
GetBigItemByUserIdResult.prototype.withItemModel = function (itemModel) {
|
|
44
|
+
this.itemModel = itemModel;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
GetBigItemByUserIdResult.fromDict = function (data) {
|
|
48
|
+
return new GetBigItemByUserIdResult()
|
|
49
|
+
.withItem(Gs2Inventory.BigItem.fromDict(data["item"]))
|
|
50
|
+
.withItemModel(Gs2Inventory.BigItemModel.fromDict(data["itemModel"]));
|
|
51
|
+
};
|
|
52
|
+
GetBigItemByUserIdResult.prototype.toDict = function () {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
return {
|
|
55
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
56
|
+
"itemModel": (_b = this.getItemModel()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return GetBigItemByUserIdResult;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = GetBigItemByUserIdResult;
|
|
62
|
+
//# sourceMappingURL=GetBigItemByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBigItemByUserIdResult.js","sourceRoot":"","sources":["GetBigItemByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAA8B,IAAI,CAAC;QACvC,cAAS,GAAmC,IAAI,CAAC;IA0C7D,CAAC;IAxCU,0CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,0CAAO,GAAd,UAAe,IAA+B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAQ,GAAf,UAAgB,IAA+B;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,+CAAY,GAAnB,UAAoB,SAAyC;QACzD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAa,GAApB,UAAqB,SAAyC;QAC1D,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aACrD,aAAa,CAAC,YAAY,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC;IAEM,yCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,WAAW,EAAE,MAAA,IAAI,CAAC,YAAY,EAAE,0CAAE,MAAM,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AA5CD,IA4CC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBigItemByUserIdResult implements IResult {
|
|
22
|
+
private item: Gs2Inventory.BigItem|null = null;
|
|
23
|
+
private itemModel: Gs2Inventory.BigItemModel|null = null;
|
|
24
|
+
|
|
25
|
+
public getItem(): Gs2Inventory.BigItem|null {
|
|
26
|
+
return this.item;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItem(item: Gs2Inventory.BigItem|null) {
|
|
30
|
+
this.item = item;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItem(item: Gs2Inventory.BigItem|null): this {
|
|
35
|
+
this.item = item;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getItemModel(): Gs2Inventory.BigItemModel|null {
|
|
40
|
+
return this.itemModel;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setItemModel(itemModel: Gs2Inventory.BigItemModel|null) {
|
|
44
|
+
this.itemModel = itemModel;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withItemModel(itemModel: Gs2Inventory.BigItemModel|null): this {
|
|
49
|
+
this.itemModel = itemModel;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): GetBigItemByUserIdResult {
|
|
54
|
+
return new GetBigItemByUserIdResult()
|
|
55
|
+
.withItem(Gs2Inventory.BigItem.fromDict(data["item"]))
|
|
56
|
+
.withItemModel(Gs2Inventory.BigItemModel.fromDict(data["itemModel"]));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public toDict(): {[key: string]: any} {
|
|
60
|
+
return {
|
|
61
|
+
"item": this.getItem()?.toDict(),
|
|
62
|
+
"itemModel": this.getItemModel()?.toDict(),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Inventory from '../model';
|
|
3
|
+
export default class GetBigItemModelMasterResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Inventory.BigItemModelMaster | null;
|
|
6
|
+
setItem(item: Gs2Inventory.BigItemModelMaster | null): this;
|
|
7
|
+
withItem(item: Gs2Inventory.BigItemModelMaster | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetBigItemModelMasterResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Inventory = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetBigItemModelMasterResult = /** @class */ (function () {
|
|
21
|
+
function GetBigItemModelMasterResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetBigItemModelMasterResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetBigItemModelMasterResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetBigItemModelMasterResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetBigItemModelMasterResult.fromDict = function (data) {
|
|
36
|
+
return new GetBigItemModelMasterResult()
|
|
37
|
+
.withItem(Gs2Inventory.BigItemModelMaster.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetBigItemModelMasterResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return GetBigItemModelMasterResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetBigItemModelMasterResult;
|
|
48
|
+
//# sourceMappingURL=GetBigItemModelMasterResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBigItemModelMasterResult.js","sourceRoot":"","sources":["GetBigItemModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAAyC,IAAI,CAAC;IA0B9D,CAAC;IAxBU,6CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,6CAAO,GAAd,UAAe,IAA0C;QACrD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAQ,GAAf,UAAgB,IAA0C;QACtD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,oCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,2BAA2B,EAAE;aACnC,QAAQ,CAAC,YAAY,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC1E,CAAC;IAEM,4CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBigItemModelMasterResult implements IResult {
|
|
22
|
+
private item: Gs2Inventory.BigItemModelMaster|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Inventory.BigItemModelMaster|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Inventory.BigItemModelMaster|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Inventory.BigItemModelMaster|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): GetBigItemModelMasterResult {
|
|
39
|
+
return new GetBigItemModelMasterResult()
|
|
40
|
+
.withItem(Gs2Inventory.BigItemModelMaster.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|