gs2 1.4.47 → 1.4.49
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/limit/model/LimitModel.d.ts +8 -0
- package/limit/model/LimitModel.js +29 -1
- package/limit/model/LimitModel.js.map +1 -1
- package/limit/model/LimitModel.ts +29 -1
- package/limit/model/LimitModelMaster.d.ts +8 -0
- package/limit/model/LimitModelMaster.js +28 -0
- package/limit/model/LimitModelMaster.js.map +1 -1
- package/limit/model/LimitModelMaster.ts +28 -0
- package/limit/request/CreateLimitModelMasterRequest.d.ts +8 -0
- package/limit/request/CreateLimitModelMasterRequest.js +29 -1
- package/limit/request/CreateLimitModelMasterRequest.js.map +1 -1
- package/limit/request/CreateLimitModelMasterRequest.ts +29 -1
- package/limit/request/UpdateLimitModelMasterRequest.d.ts +8 -0
- package/limit/request/UpdateLimitModelMasterRequest.js +29 -1
- package/limit/request/UpdateLimitModelMasterRequest.js.map +1 -1
- package/limit/request/UpdateLimitModelMasterRequest.ts +29 -1
- package/limit/rest.js +6 -2
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +4 -0
- package/mission/model/CounterScopeModel.d.ts +8 -0
- package/mission/model/CounterScopeModel.js +29 -1
- package/mission/model/CounterScopeModel.js.map +1 -1
- package/mission/model/CounterScopeModel.ts +29 -1
- package/mission/model/MissionGroupModel.d.ts +8 -0
- package/mission/model/MissionGroupModel.js +29 -1
- package/mission/model/MissionGroupModel.js.map +1 -1
- package/mission/model/MissionGroupModel.ts +29 -1
- package/mission/model/MissionGroupModelMaster.d.ts +8 -0
- package/mission/model/MissionGroupModelMaster.js +28 -0
- package/mission/model/MissionGroupModelMaster.js.map +1 -1
- package/mission/model/MissionGroupModelMaster.ts +28 -0
- package/mission/request/CreateMissionGroupModelMasterRequest.d.ts +8 -0
- package/mission/request/CreateMissionGroupModelMasterRequest.js +28 -0
- package/mission/request/CreateMissionGroupModelMasterRequest.js.map +1 -1
- package/mission/request/CreateMissionGroupModelMasterRequest.ts +28 -0
- package/mission/request/EvaluateCompleteByUserIdRequest.d.ts +37 -0
- package/mission/request/EvaluateCompleteByUserIdRequest.js +123 -0
- package/mission/request/EvaluateCompleteByUserIdRequest.js.map +1 -0
- package/mission/request/EvaluateCompleteByUserIdRequest.ts +133 -0
- package/mission/request/EvaluateCompleteRequest.d.ts +33 -0
- package/mission/request/EvaluateCompleteRequest.js +109 -0
- package/mission/request/EvaluateCompleteRequest.js.map +1 -0
- package/mission/request/EvaluateCompleteRequest.ts +119 -0
- package/mission/request/ResetByStampTaskRequest.d.ts +25 -0
- package/mission/request/ResetByStampTaskRequest.js +83 -0
- package/mission/request/ResetByStampTaskRequest.js.map +1 -0
- package/mission/request/ResetByStampTaskRequest.ts +90 -0
- package/mission/request/ResetCounterByUserIdRequest.d.ts +42 -0
- package/mission/request/ResetCounterByUserIdRequest.js +145 -0
- package/mission/request/ResetCounterByUserIdRequest.js.map +1 -0
- package/mission/request/ResetCounterByUserIdRequest.ts +155 -0
- package/mission/request/ResetCounterRequest.d.ts +38 -0
- package/mission/request/ResetCounterRequest.js +131 -0
- package/mission/request/ResetCounterRequest.js.map +1 -0
- package/mission/request/ResetCounterRequest.ts +141 -0
- package/mission/request/UpdateMissionGroupModelMasterRequest.d.ts +8 -0
- package/mission/request/UpdateMissionGroupModelMasterRequest.js +28 -0
- package/mission/request/UpdateMissionGroupModelMasterRequest.js.map +1 -1
- package/mission/request/UpdateMissionGroupModelMasterRequest.ts +28 -0
- package/mission/request/index.d.ts +6 -1
- package/mission/request/index.js +12 -2
- package/mission/request/index.js.map +1 -1
- package/mission/request/index.ts +10 -0
- package/mission/rest.d.ts +5 -0
- package/mission/rest.js +171 -4
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +187 -0
- package/mission/result/EvaluateCompleteByUserIdResult.d.ts +14 -0
- package/mission/result/EvaluateCompleteByUserIdResult.js +48 -0
- package/mission/result/EvaluateCompleteByUserIdResult.js.map +1 -0
- package/mission/result/EvaluateCompleteByUserIdResult.ts +47 -0
- package/mission/result/EvaluateCompleteResult.d.ts +14 -0
- package/mission/result/EvaluateCompleteResult.js +48 -0
- package/mission/result/EvaluateCompleteResult.js.map +1 -0
- package/mission/result/EvaluateCompleteResult.ts +47 -0
- package/mission/result/ResetByStampTaskResult.d.ts +18 -0
- package/mission/result/ResetByStampTaskResult.js +62 -0
- package/mission/result/ResetByStampTaskResult.js.map +1 -0
- package/mission/result/ResetByStampTaskResult.ts +64 -0
- package/mission/result/ResetCounterByUserIdResult.d.ts +14 -0
- package/mission/result/ResetCounterByUserIdResult.js +48 -0
- package/mission/result/ResetCounterByUserIdResult.js.map +1 -0
- package/mission/result/ResetCounterByUserIdResult.ts +47 -0
- package/mission/result/ResetCounterResult.d.ts +14 -0
- package/mission/result/ResetCounterResult.js +48 -0
- package/mission/result/ResetCounterResult.js.map +1 -0
- package/mission/result/ResetCounterResult.ts +47 -0
- package/mission/result/index.d.ts +6 -1
- package/mission/result/index.js +12 -2
- package/mission/result/index.js.map +1 -1
- package/mission/result/index.ts +10 -0
- package/package.json +1 -1
package/mission/rest.ts
CHANGED
|
@@ -426,6 +426,81 @@ export default class Gs2MissionRestClient extends AbstractGs2RestClient {
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
+
public evaluateComplete(request: Request.EvaluateCompleteRequest): Promise<Result.EvaluateCompleteResult> {
|
|
430
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/complete/group/{missionGroupName}/eval')
|
|
431
|
+
.replace('{service}', 'mission')
|
|
432
|
+
.replace('{region}', this.session.region)
|
|
433
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
434
|
+
.replace('{missionGroupName}', String(request.getMissionGroupName() ?? 'null') === "" ? "null" : String(request.getMissionGroupName() ?? 'null'));
|
|
435
|
+
|
|
436
|
+
const headers = this.createAuthorizedHeaders();
|
|
437
|
+
if (request.getRequestId()) {
|
|
438
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
439
|
+
}
|
|
440
|
+
if (request.getAccessToken()) {
|
|
441
|
+
headers['X-GS2-ACCESS-TOKEN'] = request.getAccessToken() ?? null;
|
|
442
|
+
}
|
|
443
|
+
if (request.getDuplicationAvoider()) {
|
|
444
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
445
|
+
}
|
|
446
|
+
const body: {[key: string]: any} = {
|
|
447
|
+
'contextStack': request.getContextStack() ?? null,
|
|
448
|
+
};
|
|
449
|
+
return axios.post(
|
|
450
|
+
url,
|
|
451
|
+
body,
|
|
452
|
+
{
|
|
453
|
+
headers,
|
|
454
|
+
},
|
|
455
|
+
).then((response: any) => {
|
|
456
|
+
return Result.EvaluateCompleteResult.fromDict(response.data);
|
|
457
|
+
}).catch((error: any) => {
|
|
458
|
+
if (error.response) {
|
|
459
|
+
throw JSON.parse(error.response.data.message);
|
|
460
|
+
} else {
|
|
461
|
+
throw [];
|
|
462
|
+
}
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
public evaluateCompleteByUserId(request: Request.EvaluateCompleteByUserIdRequest): Promise<Result.EvaluateCompleteByUserIdResult> {
|
|
467
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/complete/group/{missionGroupName}/eval')
|
|
468
|
+
.replace('{service}', 'mission')
|
|
469
|
+
.replace('{region}', this.session.region)
|
|
470
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
471
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
472
|
+
.replace('{missionGroupName}', String(request.getMissionGroupName() ?? 'null') === "" ? "null" : String(request.getMissionGroupName() ?? 'null'));
|
|
473
|
+
|
|
474
|
+
const headers = this.createAuthorizedHeaders();
|
|
475
|
+
if (request.getRequestId()) {
|
|
476
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
477
|
+
}
|
|
478
|
+
if (request.getDuplicationAvoider()) {
|
|
479
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
480
|
+
}
|
|
481
|
+
if (request.getTimeOffsetToken()) {
|
|
482
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = request.getTimeOffsetToken() ?? null;
|
|
483
|
+
}
|
|
484
|
+
const body: {[key: string]: any} = {
|
|
485
|
+
'contextStack': request.getContextStack() ?? null,
|
|
486
|
+
};
|
|
487
|
+
return axios.post(
|
|
488
|
+
url,
|
|
489
|
+
body,
|
|
490
|
+
{
|
|
491
|
+
headers,
|
|
492
|
+
},
|
|
493
|
+
).then((response: any) => {
|
|
494
|
+
return Result.EvaluateCompleteByUserIdResult.fromDict(response.data);
|
|
495
|
+
}).catch((error: any) => {
|
|
496
|
+
if (error.response) {
|
|
497
|
+
throw JSON.parse(error.response.data.message);
|
|
498
|
+
} else {
|
|
499
|
+
throw [];
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
}
|
|
503
|
+
|
|
429
504
|
public deleteCompleteByUserId(request: Request.DeleteCompleteByUserIdRequest): Promise<Result.DeleteCompleteByUserIdResult> {
|
|
430
505
|
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/complete/group/{missionGroupName}')
|
|
431
506
|
.replace('{service}', 'mission')
|
|
@@ -864,6 +939,8 @@ export default class Gs2MissionRestClient extends AbstractGs2RestClient {
|
|
|
864
939
|
'resetDayOfMonth': request.getResetDayOfMonth() ?? null,
|
|
865
940
|
'resetDayOfWeek': request.getResetDayOfWeek() ?? null,
|
|
866
941
|
'resetHour': request.getResetHour() ?? null,
|
|
942
|
+
'anchorTimestamp': request.getAnchorTimestamp() ?? null,
|
|
943
|
+
'days': request.getDays() ?? null,
|
|
867
944
|
'completeNotificationNamespaceId': request.getCompleteNotificationNamespaceId() ?? null,
|
|
868
945
|
};
|
|
869
946
|
return axios.post(
|
|
@@ -929,6 +1006,8 @@ export default class Gs2MissionRestClient extends AbstractGs2RestClient {
|
|
|
929
1006
|
'resetDayOfMonth': request.getResetDayOfMonth() ?? null,
|
|
930
1007
|
'resetDayOfWeek': request.getResetDayOfWeek() ?? null,
|
|
931
1008
|
'resetHour': request.getResetHour() ?? null,
|
|
1009
|
+
'anchorTimestamp': request.getAnchorTimestamp() ?? null,
|
|
1010
|
+
'days': request.getDays() ?? null,
|
|
932
1011
|
'completeNotificationNamespaceId': request.getCompleteNotificationNamespaceId() ?? null,
|
|
933
1012
|
};
|
|
934
1013
|
return axios.put(
|
|
@@ -1745,6 +1824,83 @@ export default class Gs2MissionRestClient extends AbstractGs2RestClient {
|
|
|
1745
1824
|
});
|
|
1746
1825
|
}
|
|
1747
1826
|
|
|
1827
|
+
public resetCounter(request: Request.ResetCounterRequest): Promise<Result.ResetCounterResult> {
|
|
1828
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/counter/{counterName}/reset')
|
|
1829
|
+
.replace('{service}', 'mission')
|
|
1830
|
+
.replace('{region}', this.session.region)
|
|
1831
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1832
|
+
.replace('{counterName}', String(request.getCounterName() ?? 'null') === "" ? "null" : String(request.getCounterName() ?? 'null'));
|
|
1833
|
+
|
|
1834
|
+
const headers = this.createAuthorizedHeaders();
|
|
1835
|
+
if (request.getRequestId()) {
|
|
1836
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1837
|
+
}
|
|
1838
|
+
if (request.getAccessToken()) {
|
|
1839
|
+
headers['X-GS2-ACCESS-TOKEN'] = request.getAccessToken() ?? null;
|
|
1840
|
+
}
|
|
1841
|
+
if (request.getDuplicationAvoider()) {
|
|
1842
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
1843
|
+
}
|
|
1844
|
+
const body: {[key: string]: any} = {
|
|
1845
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1846
|
+
'scopes': request.getScopes()?.map((item) => item.toDict()) ?? null,
|
|
1847
|
+
};
|
|
1848
|
+
return axios.post(
|
|
1849
|
+
url,
|
|
1850
|
+
body,
|
|
1851
|
+
{
|
|
1852
|
+
headers,
|
|
1853
|
+
},
|
|
1854
|
+
).then((response: any) => {
|
|
1855
|
+
return Result.ResetCounterResult.fromDict(response.data);
|
|
1856
|
+
}).catch((error: any) => {
|
|
1857
|
+
if (error.response) {
|
|
1858
|
+
throw JSON.parse(error.response.data.message);
|
|
1859
|
+
} else {
|
|
1860
|
+
throw [];
|
|
1861
|
+
}
|
|
1862
|
+
});
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
public resetCounterByUserId(request: Request.ResetCounterByUserIdRequest): Promise<Result.ResetCounterByUserIdResult> {
|
|
1866
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/counter/{counterName}/reset')
|
|
1867
|
+
.replace('{service}', 'mission')
|
|
1868
|
+
.replace('{region}', this.session.region)
|
|
1869
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1870
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1871
|
+
.replace('{counterName}', String(request.getCounterName() ?? 'null') === "" ? "null" : String(request.getCounterName() ?? 'null'));
|
|
1872
|
+
|
|
1873
|
+
const headers = this.createAuthorizedHeaders();
|
|
1874
|
+
if (request.getRequestId()) {
|
|
1875
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1876
|
+
}
|
|
1877
|
+
if (request.getDuplicationAvoider()) {
|
|
1878
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
1879
|
+
}
|
|
1880
|
+
if (request.getTimeOffsetToken()) {
|
|
1881
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = request.getTimeOffsetToken() ?? null;
|
|
1882
|
+
}
|
|
1883
|
+
const body: {[key: string]: any} = {
|
|
1884
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1885
|
+
'scopes': request.getScopes()?.map((item) => item.toDict()) ?? null,
|
|
1886
|
+
};
|
|
1887
|
+
return axios.post(
|
|
1888
|
+
url,
|
|
1889
|
+
body,
|
|
1890
|
+
{
|
|
1891
|
+
headers,
|
|
1892
|
+
},
|
|
1893
|
+
).then((response: any) => {
|
|
1894
|
+
return Result.ResetCounterByUserIdResult.fromDict(response.data);
|
|
1895
|
+
}).catch((error: any) => {
|
|
1896
|
+
if (error.response) {
|
|
1897
|
+
throw JSON.parse(error.response.data.message);
|
|
1898
|
+
} else {
|
|
1899
|
+
throw [];
|
|
1900
|
+
}
|
|
1901
|
+
});
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1748
1904
|
public deleteCounter(request: Request.DeleteCounterRequest): Promise<Result.DeleteCounterResult> {
|
|
1749
1905
|
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/counter/{counterName}')
|
|
1750
1906
|
.replace('{service}', 'mission')
|
|
@@ -1905,6 +2061,37 @@ export default class Gs2MissionRestClient extends AbstractGs2RestClient {
|
|
|
1905
2061
|
});
|
|
1906
2062
|
}
|
|
1907
2063
|
|
|
2064
|
+
public resetByStampTask(request: Request.ResetByStampTaskRequest): Promise<Result.ResetByStampTaskResult> {
|
|
2065
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/reset')
|
|
2066
|
+
.replace('{service}', 'mission')
|
|
2067
|
+
.replace('{region}', this.session.region);
|
|
2068
|
+
|
|
2069
|
+
const headers = this.createAuthorizedHeaders();
|
|
2070
|
+
if (request.getRequestId()) {
|
|
2071
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
2072
|
+
}
|
|
2073
|
+
const body: {[key: string]: any} = {
|
|
2074
|
+
'contextStack': request.getContextStack() ?? null,
|
|
2075
|
+
'stampTask': request.getStampTask() ?? null,
|
|
2076
|
+
'keyId': request.getKeyId() ?? null,
|
|
2077
|
+
};
|
|
2078
|
+
return axios.post(
|
|
2079
|
+
url,
|
|
2080
|
+
body,
|
|
2081
|
+
{
|
|
2082
|
+
headers,
|
|
2083
|
+
},
|
|
2084
|
+
).then((response: any) => {
|
|
2085
|
+
return Result.ResetByStampTaskResult.fromDict(response.data);
|
|
2086
|
+
}).catch((error: any) => {
|
|
2087
|
+
if (error.response) {
|
|
2088
|
+
throw JSON.parse(error.response.data.message);
|
|
2089
|
+
} else {
|
|
2090
|
+
throw [];
|
|
2091
|
+
}
|
|
2092
|
+
});
|
|
2093
|
+
}
|
|
2094
|
+
|
|
1908
2095
|
public verifyCounterValueByStampTask(request: Request.VerifyCounterValueByStampTaskRequest): Promise<Result.VerifyCounterValueByStampTaskResult> {
|
|
1909
2096
|
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/counter/verify')
|
|
1910
2097
|
.replace('{service}', 'mission')
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Mission from '../model';
|
|
3
|
+
export default class EvaluateCompleteByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Mission.Complete | null;
|
|
6
|
+
setItem(item: Gs2Mission.Complete | null): this;
|
|
7
|
+
withItem(item: Gs2Mission.Complete | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): EvaluateCompleteByUserIdResult;
|
|
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 Gs2Mission = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var EvaluateCompleteByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function EvaluateCompleteByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
EvaluateCompleteByUserIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
EvaluateCompleteByUserIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
EvaluateCompleteByUserIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
EvaluateCompleteByUserIdResult.fromDict = function (data) {
|
|
36
|
+
return new EvaluateCompleteByUserIdResult()
|
|
37
|
+
.withItem(Gs2Mission.Complete.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
EvaluateCompleteByUserIdResult.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 EvaluateCompleteByUserIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = EvaluateCompleteByUserIdResult;
|
|
48
|
+
//# sourceMappingURL=EvaluateCompleteByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluateCompleteByUserIdResult.js","sourceRoot":"","sources":["EvaluateCompleteByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA6B,IAAI,CAAC;IA0BlD,CAAC;IAxBU,gDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gDAAO,GAAd,UAAe,IAA8B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAQ,GAAf,UAAgB,IAA8B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,+CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,qCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import * as Gs2Mission from '../model'
|
|
19
|
+
|
|
20
|
+
export default class EvaluateCompleteByUserIdResult implements IResult {
|
|
21
|
+
private item: Gs2Mission.Complete|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Mission.Complete|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Mission.Complete|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Mission.Complete|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): EvaluateCompleteByUserIdResult {
|
|
38
|
+
return new EvaluateCompleteByUserIdResult()
|
|
39
|
+
.withItem(Gs2Mission.Complete.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Mission from '../model';
|
|
3
|
+
export default class EvaluateCompleteResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Mission.Complete | null;
|
|
6
|
+
setItem(item: Gs2Mission.Complete | null): this;
|
|
7
|
+
withItem(item: Gs2Mission.Complete | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): EvaluateCompleteResult;
|
|
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 Gs2Mission = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var EvaluateCompleteResult = /** @class */ (function () {
|
|
21
|
+
function EvaluateCompleteResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
EvaluateCompleteResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
EvaluateCompleteResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
EvaluateCompleteResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
EvaluateCompleteResult.fromDict = function (data) {
|
|
36
|
+
return new EvaluateCompleteResult()
|
|
37
|
+
.withItem(Gs2Mission.Complete.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
EvaluateCompleteResult.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 EvaluateCompleteResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = EvaluateCompleteResult;
|
|
48
|
+
//# sourceMappingURL=EvaluateCompleteResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluateCompleteResult.js","sourceRoot":"","sources":["EvaluateCompleteResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA6B,IAAI,CAAC;IA0BlD,CAAC;IAxBU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAA8B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAA8B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import * as Gs2Mission from '../model'
|
|
19
|
+
|
|
20
|
+
export default class EvaluateCompleteResult implements IResult {
|
|
21
|
+
private item: Gs2Mission.Complete|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Mission.Complete|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Mission.Complete|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Mission.Complete|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): EvaluateCompleteResult {
|
|
38
|
+
return new EvaluateCompleteResult()
|
|
39
|
+
.withItem(Gs2Mission.Complete.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Mission from '../model';
|
|
3
|
+
export default class ResetByStampTaskResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private newContextStack;
|
|
6
|
+
getItem(): Gs2Mission.Counter | null;
|
|
7
|
+
setItem(item: Gs2Mission.Counter | null): this;
|
|
8
|
+
withItem(item: Gs2Mission.Counter | null): this;
|
|
9
|
+
getNewContextStack(): string | null;
|
|
10
|
+
setNewContextStack(newContextStack: string | null): this;
|
|
11
|
+
withNewContextStack(newContextStack: string | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): ResetByStampTaskResult;
|
|
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 Gs2Mission = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ResetByStampTaskResult = /** @class */ (function () {
|
|
21
|
+
function ResetByStampTaskResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.newContextStack = null;
|
|
24
|
+
}
|
|
25
|
+
ResetByStampTaskResult.prototype.getItem = function () {
|
|
26
|
+
return this.item;
|
|
27
|
+
};
|
|
28
|
+
ResetByStampTaskResult.prototype.setItem = function (item) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
ResetByStampTaskResult.prototype.withItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
ResetByStampTaskResult.prototype.getNewContextStack = function () {
|
|
37
|
+
return this.newContextStack;
|
|
38
|
+
};
|
|
39
|
+
ResetByStampTaskResult.prototype.setNewContextStack = function (newContextStack) {
|
|
40
|
+
this.newContextStack = newContextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
ResetByStampTaskResult.prototype.withNewContextStack = function (newContextStack) {
|
|
44
|
+
this.newContextStack = newContextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
ResetByStampTaskResult.fromDict = function (data) {
|
|
48
|
+
return new ResetByStampTaskResult()
|
|
49
|
+
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
50
|
+
.withNewContextStack(data["newContextStack"]);
|
|
51
|
+
};
|
|
52
|
+
ResetByStampTaskResult.prototype.toDict = function () {
|
|
53
|
+
var _a;
|
|
54
|
+
return {
|
|
55
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
56
|
+
"newContextStack": this.getNewContextStack(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return ResetByStampTaskResult;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = ResetByStampTaskResult;
|
|
62
|
+
//# sourceMappingURL=ResetByStampTaskResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResetByStampTaskResult.js","sourceRoot":"","sources":["ResetByStampTaskResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA4B,IAAI,CAAC;QACrC,oBAAe,GAAgB,IAAI,CAAC;IA0ChD,CAAC;IAxCU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAA6B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAA6B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAEM,mDAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aACnD,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA5CD,IA4CC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import * as Gs2Mission from '../model'
|
|
19
|
+
|
|
20
|
+
export default class ResetByStampTaskResult implements IResult {
|
|
21
|
+
private item: Gs2Mission.Counter|null = null;
|
|
22
|
+
private newContextStack: string|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Mission.Counter|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Mission.Counter|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Mission.Counter|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public getNewContextStack(): string|null {
|
|
39
|
+
return this.newContextStack;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public setNewContextStack(newContextStack: string|null) {
|
|
43
|
+
this.newContextStack = newContextStack;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public withNewContextStack(newContextStack: string|null): this {
|
|
48
|
+
this.newContextStack = newContextStack;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public static fromDict(data: {[key: string]: any}): ResetByStampTaskResult {
|
|
53
|
+
return new ResetByStampTaskResult()
|
|
54
|
+
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
55
|
+
.withNewContextStack(data["newContextStack"]);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public toDict(): {[key: string]: any} {
|
|
59
|
+
return {
|
|
60
|
+
"item": this.getItem()?.toDict(),
|
|
61
|
+
"newContextStack": this.getNewContextStack(),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Mission from '../model';
|
|
3
|
+
export default class ResetCounterByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Mission.Counter | null;
|
|
6
|
+
setItem(item: Gs2Mission.Counter | null): this;
|
|
7
|
+
withItem(item: Gs2Mission.Counter | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): ResetCounterByUserIdResult;
|
|
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 Gs2Mission = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ResetCounterByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function ResetCounterByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
ResetCounterByUserIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ResetCounterByUserIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ResetCounterByUserIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ResetCounterByUserIdResult.fromDict = function (data) {
|
|
36
|
+
return new ResetCounterByUserIdResult()
|
|
37
|
+
.withItem(Gs2Mission.Counter.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
ResetCounterByUserIdResult.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 ResetCounterByUserIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = ResetCounterByUserIdResult;
|
|
48
|
+
//# sourceMappingURL=ResetCounterByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResetCounterByUserIdResult.js","sourceRoot":"","sources":["ResetCounterByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA4B,IAAI,CAAC;IA0BjD,CAAC;IAxBU,4CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,4CAAO,GAAd,UAAe,IAA6B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAQ,GAAf,UAAgB,IAA6B;QACzC,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,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7D,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"}
|