@xmobitea/gn-typescript-client 2.1.7 → 2.3.0-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/GNServerSettingsConfig.debug.json +3 -3
- package/dist/index.js +314 -33908
- package/dist/runtime/GNNetwork.js +238 -0
- package/dist/runtime/GNNetworkAuthenticateApi.js +167 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +1271 -0
- package/dist/runtime/GNNetworkCloudScriptApi.js +143 -0
- package/dist/runtime/GNNetworkContentApi.js +191 -0
- package/dist/runtime/GNNetworkDashboardApi.d.ts +14 -0
- package/dist/runtime/GNNetworkDashboardApi.js +223 -0
- package/dist/runtime/GNNetworkGamePlayerApi.js +1271 -0
- package/dist/runtime/GNNetworkGroupApi.js +983 -0
- package/dist/runtime/GNNetworkInventoryApi.js +839 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.js +1927 -0
- package/dist/runtime/GNNetworkMultiplayerApi.js +263 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +12 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.js +311 -0
- package/dist/runtime/common/Action0.js +1 -0
- package/dist/runtime/common/Action1.js +1 -0
- package/dist/runtime/common/Action2.js +1 -0
- package/dist/runtime/common/Action3.js +1 -0
- package/dist/runtime/common/Action4.js +1 -0
- package/dist/runtime/common/GNData.js +211 -0
- package/dist/runtime/config/GNServerSettings.js +127 -0
- package/dist/runtime/constant/Commands.js +19 -0
- package/dist/runtime/constant/EventCode.js +8 -0
- package/dist/runtime/constant/OperationCode.d.ts +10 -0
- package/dist/runtime/constant/OperationCode.js +214 -0
- package/dist/runtime/constant/ReturnCode.js +14 -0
- package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
- package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
- package/dist/runtime/constant/enumType/ItemType.js +5 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
- package/dist/runtime/constant/enumType/OwnerType.d.ts +2 -1
- package/dist/runtime/constant/enumType/OwnerType.js +8 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
- package/dist/runtime/constant/enumType/RequestRole.js +6 -0
- package/dist/runtime/constant/enumType/RequestType.js +15 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +1 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.js +49 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +53 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.js +537 -0
- package/dist/runtime/constant/parameterCode/ParameterCode.js +6 -0
- package/dist/runtime/entity/DataMember.js +208 -0
- package/dist/runtime/entity/GNMetadata.js +11 -0
- package/dist/runtime/entity/InvalidMember.js +1 -0
- package/dist/runtime/entity/OperationEvent.js +32 -0
- package/dist/runtime/entity/OperationHelper.js +23 -0
- package/dist/runtime/entity/OperationRequest.js +50 -0
- package/dist/runtime/entity/OperationResponse.js +81 -0
- package/dist/runtime/entity/models/AuthenticateModels.js +416 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +206 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +5 -1
- package/dist/runtime/entity/models/CharacterPlayerModels.js +1377 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1412 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +143 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
- package/dist/runtime/entity/models/ContentModels.d.ts +0 -1
- package/dist/runtime/entity/models/ContentModels.js +211 -0
- package/dist/runtime/entity/models/ContentRequestModels.js +197 -0
- package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +121 -0
- package/dist/runtime/entity/models/DashboardModels.js +2674 -0
- package/dist/runtime/entity/models/DashboardRequestModels.d.ts +49 -0
- package/dist/runtime/entity/models/DashboardRequestModels.js +283 -0
- package/dist/runtime/entity/models/DashboardResponseModels.d.ts +21 -0
- package/dist/runtime/entity/models/DashboardResponseModels.js +180 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +5 -1
- package/dist/runtime/entity/models/GamePlayerModels.js +1569 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +1412 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/GenericModels.js +177 -0
- package/dist/runtime/entity/models/GroupModels.d.ts +5 -1
- package/dist/runtime/entity/models/GroupModels.js +1123 -0
- package/dist/runtime/entity/models/GroupRequestModels.js +1088 -0
- package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
- package/dist/runtime/entity/models/InventoryModels.d.ts +5 -1
- package/dist/runtime/entity/models/InventoryModels.js +903 -0
- package/dist/runtime/entity/models/InventoryRequestModels.js +926 -0
- package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +5 -1
- package/dist/runtime/entity/models/MasterPlayerModels.js +2371 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2152 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +565 -0
- package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +278 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +60 -3
- package/dist/runtime/entity/models/StoreInventoryModels.js +737 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +30 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +332 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +6 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +89 -0
- package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
- package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
- package/dist/runtime/helper/CodeHelper.js +61 -0
- package/dist/runtime/helper/ConverterService.js +275 -0
- package/dist/runtime/helper/GNSupport.js +8 -0
- package/dist/runtime/logger/GNDebug.js +29 -0
- package/dist/runtime/networking/AuthenticateStatus.js +14 -0
- package/dist/runtime/networking/IPeer.js +1 -0
- package/dist/runtime/networking/NetworkingPeer.js +129 -0
- package/dist/runtime/networking/OperationPending.js +53 -0
- package/dist/runtime/networking/PeerBase.js +168 -0
- package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/http/HttpPeer.js +121 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +146 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +126 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +176 -0
- package/dist/runtime/networking/socket/SocketPeer.js +105 -0
- package/dist/runtime/typescript/ServiceUpdate.js +12 -0
- package/package.json +1 -1
- package/dist/gn.js.client.js +0 -46619
- package/dist/gn.js.client.min.js +0 -2
- package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
|
|
2
|
+
import { GroupModels } from "./GroupModels";
|
|
3
|
+
export var GroupResponseModels;
|
|
4
|
+
(function (GroupResponseModels) {
|
|
5
|
+
class AddMemberOperationResponse extends CustomOperationResponseAbstract {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
GroupResponseModels.AddMemberOperationResponse = AddMemberOperationResponse;
|
|
12
|
+
class AddSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
GroupResponseModels.AddSegmentOperationResponse = AddSegmentOperationResponse;
|
|
19
|
+
class GetAvatarOperationResponse extends CustomOperationResponseAbstract {
|
|
20
|
+
constructor() {
|
|
21
|
+
super();
|
|
22
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
GroupResponseModels.GetAvatarOperationResponse = GetAvatarOperationResponse;
|
|
26
|
+
class GetCatalogIdOperationResponse extends CustomOperationResponseAbstract {
|
|
27
|
+
constructor() {
|
|
28
|
+
super();
|
|
29
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
GroupResponseModels.GetCatalogIdOperationResponse = GetCatalogIdOperationResponse;
|
|
33
|
+
class GetCustomDataOperationResponse extends CustomOperationResponseAbstract {
|
|
34
|
+
constructor() {
|
|
35
|
+
super();
|
|
36
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
GroupResponseModels.GetCustomDataOperationResponse = GetCustomDataOperationResponse;
|
|
40
|
+
class GetDisplayNameOperationResponse extends CustomOperationResponseAbstract {
|
|
41
|
+
constructor() {
|
|
42
|
+
super();
|
|
43
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GroupResponseModels.GetDisplayNameOperationResponse = GetDisplayNameOperationResponse;
|
|
47
|
+
class GetGroupCurrencyOperationResponse extends CustomOperationResponseAbstract {
|
|
48
|
+
constructor() {
|
|
49
|
+
super();
|
|
50
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
GroupResponseModels.GetGroupCurrencyOperationResponse = GetGroupCurrencyOperationResponse;
|
|
54
|
+
class GetGroupDataOperationResponse extends CustomOperationResponseAbstract {
|
|
55
|
+
constructor() {
|
|
56
|
+
super();
|
|
57
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
GroupResponseModels.GetGroupDataOperationResponse = GetGroupDataOperationResponse;
|
|
61
|
+
class GetGroupInformationOperationResponse extends CustomOperationResponseAbstract {
|
|
62
|
+
constructor() {
|
|
63
|
+
super();
|
|
64
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
GroupResponseModels.GetGroupInformationOperationResponse = GetGroupInformationOperationResponse;
|
|
68
|
+
class GetGroupInventoryOperationResponse extends CustomOperationResponseAbstract {
|
|
69
|
+
constructor() {
|
|
70
|
+
super();
|
|
71
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
GroupResponseModels.GetGroupInventoryOperationResponse = GetGroupInventoryOperationResponse;
|
|
75
|
+
class GetGroupMessageOperationResponse extends CustomOperationResponseAbstract {
|
|
76
|
+
constructor() {
|
|
77
|
+
super();
|
|
78
|
+
this.responseDataCls = GroupModels.GroupMessagesResponseData;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
GroupResponseModels.GetGroupMessageOperationResponse = GetGroupMessageOperationResponse;
|
|
82
|
+
class GetGroupStatisticsOperationResponse extends CustomOperationResponseAbstract {
|
|
83
|
+
constructor() {
|
|
84
|
+
super();
|
|
85
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
GroupResponseModels.GetGroupStatisticsOperationResponse = GetGroupStatisticsOperationResponse;
|
|
89
|
+
class GetGroupsWithDisplayNameOperationResponse extends CustomOperationResponseAbstract {
|
|
90
|
+
constructor() {
|
|
91
|
+
super();
|
|
92
|
+
this.responseDataCls = GroupModels.GroupsWithGroupIdResponseData;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
GroupResponseModels.GetGroupsWithDisplayNameOperationResponse = GetGroupsWithDisplayNameOperationResponse;
|
|
96
|
+
class GetGroupsWithSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
97
|
+
constructor() {
|
|
98
|
+
super();
|
|
99
|
+
this.responseDataCls = GroupModels.GroupsWithGroupIdResponseData;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
GroupResponseModels.GetGroupsWithSegmentOperationResponse = GetGroupsWithSegmentOperationResponse;
|
|
103
|
+
class GetGroupsWithTagOperationResponse extends CustomOperationResponseAbstract {
|
|
104
|
+
constructor() {
|
|
105
|
+
super();
|
|
106
|
+
this.responseDataCls = GroupModels.GroupsWithGroupIdResponseData;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
GroupResponseModels.GetGroupsWithTagOperationResponse = GetGroupsWithTagOperationResponse;
|
|
110
|
+
class GetMembersOperationResponse extends CustomOperationResponseAbstract {
|
|
111
|
+
constructor() {
|
|
112
|
+
super();
|
|
113
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
GroupResponseModels.GetMembersOperationResponse = GetMembersOperationResponse;
|
|
117
|
+
class GetRemoveStatusOperationResponse extends CustomOperationResponseAbstract {
|
|
118
|
+
constructor() {
|
|
119
|
+
super();
|
|
120
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
GroupResponseModels.GetRemoveStatusOperationResponse = GetRemoveStatusOperationResponse;
|
|
124
|
+
class GetSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
125
|
+
constructor() {
|
|
126
|
+
super();
|
|
127
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
GroupResponseModels.GetSegmentOperationResponse = GetSegmentOperationResponse;
|
|
131
|
+
class GetStatisticsLeaderboardAroundGroupOperationResponse extends CustomOperationResponseAbstract {
|
|
132
|
+
constructor() {
|
|
133
|
+
super();
|
|
134
|
+
this.responseDataCls = GroupModels.GetStatisticsLeaderboardResponseData;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
GroupResponseModels.GetStatisticsLeaderboardAroundGroupOperationResponse = GetStatisticsLeaderboardAroundGroupOperationResponse;
|
|
138
|
+
class GetStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract {
|
|
139
|
+
constructor() {
|
|
140
|
+
super();
|
|
141
|
+
this.responseDataCls = GroupModels.GetStatisticsLeaderboardResponseData;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
GroupResponseModels.GetStatisticsLeaderboardOperationResponse = GetStatisticsLeaderboardOperationResponse;
|
|
145
|
+
class GetTagOperationResponse extends CustomOperationResponseAbstract {
|
|
146
|
+
constructor() {
|
|
147
|
+
super();
|
|
148
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
GroupResponseModels.GetTagOperationResponse = GetTagOperationResponse;
|
|
152
|
+
class GetTsCreateOperationResponse extends CustomOperationResponseAbstract {
|
|
153
|
+
constructor() {
|
|
154
|
+
super();
|
|
155
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
GroupResponseModels.GetTsCreateOperationResponse = GetTsCreateOperationResponse;
|
|
159
|
+
class GrantGroupItemOperationResponse extends CustomOperationResponseAbstract {
|
|
160
|
+
constructor() {
|
|
161
|
+
super();
|
|
162
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
GroupResponseModels.GrantGroupItemOperationResponse = GrantGroupItemOperationResponse;
|
|
166
|
+
class RemoveGroupItemOperationResponse extends CustomOperationResponseAbstract {
|
|
167
|
+
constructor() {
|
|
168
|
+
super();
|
|
169
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
GroupResponseModels.RemoveGroupItemOperationResponse = RemoveGroupItemOperationResponse;
|
|
173
|
+
class RemoveMemberOperationResponse extends CustomOperationResponseAbstract {
|
|
174
|
+
constructor() {
|
|
175
|
+
super();
|
|
176
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
GroupResponseModels.RemoveMemberOperationResponse = RemoveMemberOperationResponse;
|
|
180
|
+
class RemoveSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
181
|
+
constructor() {
|
|
182
|
+
super();
|
|
183
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
GroupResponseModels.RemoveSegmentOperationResponse = RemoveSegmentOperationResponse;
|
|
187
|
+
class RemoveTagOperationResponse extends CustomOperationResponseAbstract {
|
|
188
|
+
constructor() {
|
|
189
|
+
super();
|
|
190
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
GroupResponseModels.RemoveTagOperationResponse = RemoveTagOperationResponse;
|
|
194
|
+
class SendGroupMessageOperationResponse extends CustomOperationResponseAbstract {
|
|
195
|
+
constructor() {
|
|
196
|
+
super();
|
|
197
|
+
this.responseDataCls = GroupModels.GroupMessagesResponseData;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
GroupResponseModels.SendGroupMessageOperationResponse = SendGroupMessageOperationResponse;
|
|
201
|
+
class SetAvatarOperationResponse extends CustomOperationResponseAbstract {
|
|
202
|
+
constructor() {
|
|
203
|
+
super();
|
|
204
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
GroupResponseModels.SetAvatarOperationResponse = SetAvatarOperationResponse;
|
|
208
|
+
class SetCustomDataOperationResponse extends CustomOperationResponseAbstract {
|
|
209
|
+
constructor() {
|
|
210
|
+
super();
|
|
211
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
GroupResponseModels.SetCustomDataOperationResponse = SetCustomDataOperationResponse;
|
|
215
|
+
class SetDisplayNameOperationResponse extends CustomOperationResponseAbstract {
|
|
216
|
+
constructor() {
|
|
217
|
+
super();
|
|
218
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
GroupResponseModels.SetDisplayNameOperationResponse = SetDisplayNameOperationResponse;
|
|
222
|
+
class SetGroupCurrencyOperationResponse extends CustomOperationResponseAbstract {
|
|
223
|
+
constructor() {
|
|
224
|
+
super();
|
|
225
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
GroupResponseModels.SetGroupCurrencyOperationResponse = SetGroupCurrencyOperationResponse;
|
|
229
|
+
class SetGroupDataOperationResponse extends CustomOperationResponseAbstract {
|
|
230
|
+
constructor() {
|
|
231
|
+
super();
|
|
232
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
GroupResponseModels.SetGroupDataOperationResponse = SetGroupDataOperationResponse;
|
|
236
|
+
class SetGroupStatisticsOperationResponse extends CustomOperationResponseAbstract {
|
|
237
|
+
constructor() {
|
|
238
|
+
super();
|
|
239
|
+
this.responseDataCls = GroupModels.GroupResponseData;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
GroupResponseModels.SetGroupStatisticsOperationResponse = SetGroupStatisticsOperationResponse;
|
|
243
|
+
class SetRemoveStatusOperationResponse extends CustomOperationResponseAbstract {
|
|
244
|
+
constructor() {
|
|
245
|
+
super();
|
|
246
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
GroupResponseModels.SetRemoveStatusOperationResponse = SetRemoveStatusOperationResponse;
|
|
250
|
+
class SetTagOperationResponse extends CustomOperationResponseAbstract {
|
|
251
|
+
constructor() {
|
|
252
|
+
super();
|
|
253
|
+
this.responseDataCls = GroupModels.EmptyResponseData;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
GroupResponseModels.SetTagOperationResponse = SetTagOperationResponse;
|
|
257
|
+
class GetCurrencyLeaderboardOperationResponse extends CustomOperationResponseAbstract {
|
|
258
|
+
constructor() {
|
|
259
|
+
super();
|
|
260
|
+
this.responseDataCls = GroupModels.GetCurrencyLeaderboardResponseData;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
GroupResponseModels.GetCurrencyLeaderboardOperationResponse = GetCurrencyLeaderboardOperationResponse;
|
|
264
|
+
class GetCreateLeaderboardOperationResponse extends CustomOperationResponseAbstract {
|
|
265
|
+
constructor() {
|
|
266
|
+
super();
|
|
267
|
+
this.responseDataCls = GroupModels.GetCreateLeaderboardResponseData;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
GroupResponseModels.GetCreateLeaderboardOperationResponse = GetCreateLeaderboardOperationResponse;
|
|
271
|
+
class GetStatisticsLogOperationResponse extends CustomOperationResponseAbstract {
|
|
272
|
+
constructor() {
|
|
273
|
+
super();
|
|
274
|
+
this.responseDataCls = GroupModels.GetStatisticsLogResponseData;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
GroupResponseModels.GetStatisticsLogOperationResponse = GetStatisticsLogOperationResponse;
|
|
278
|
+
class GetCurrencyLogOperationResponse extends CustomOperationResponseAbstract {
|
|
279
|
+
constructor() {
|
|
280
|
+
super();
|
|
281
|
+
this.responseDataCls = GroupModels.GetCurrencyLogResponseData;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
GroupResponseModels.GetCurrencyLogOperationResponse = GetCurrencyLogOperationResponse;
|
|
285
|
+
})(GroupResponseModels || (GroupResponseModels = {}));
|
|
@@ -183,6 +183,7 @@ export declare namespace InventoryModels {
|
|
|
183
183
|
skip?: number;
|
|
184
184
|
limit?: number;
|
|
185
185
|
loadFromCache?: boolean;
|
|
186
|
+
version?: string;
|
|
186
187
|
}
|
|
187
188
|
class ServerGetStatisticsLeaderboardRequestData extends GetStatisticsLeaderboardRequestData {
|
|
188
189
|
}
|
|
@@ -339,8 +340,10 @@ export declare namespace InventoryModels {
|
|
|
339
340
|
}
|
|
340
341
|
class InventoryLeaderboardResponseData extends InventoryWithItemIdResponseData {
|
|
341
342
|
position: number;
|
|
343
|
+
backupValue?: number;
|
|
342
344
|
}
|
|
343
|
-
class InventoryLogResponseData
|
|
345
|
+
class InventoryLogResponseData {
|
|
346
|
+
itemId: string;
|
|
344
347
|
tsCreate: number;
|
|
345
348
|
log: string;
|
|
346
349
|
key: string;
|
|
@@ -350,6 +353,7 @@ export declare namespace InventoryModels {
|
|
|
350
353
|
}
|
|
351
354
|
class GetStatisticsLeaderboardResponseData {
|
|
352
355
|
results: Array<InventoryLeaderboardResponseData>;
|
|
356
|
+
tsCreate: number;
|
|
353
357
|
}
|
|
354
358
|
class InventoriesWithItemIdResponseData {
|
|
355
359
|
results: Array<InventoryWithItemIdResponseData>;
|