@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,278 @@
|
|
|
1
|
+
import { OperationCode } from "./../../constant/OperationCode";
|
|
2
|
+
import { RequestRole } from "./../../constant/enumType/RequestRole";
|
|
3
|
+
import { RequestType } from "./../../constant/enumType/RequestType";
|
|
4
|
+
import { CustomOperationRequestAbstract } from "./../request/CustomOperationRequest";
|
|
5
|
+
import { MultiplayerModels } from "./MultiplayerModels";
|
|
6
|
+
export var MultiplayerRequestModels;
|
|
7
|
+
(function (MultiplayerRequestModels) {
|
|
8
|
+
class CancelAllMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
|
|
9
|
+
constructor(requestData, timeout) {
|
|
10
|
+
super(requestData, timeout);
|
|
11
|
+
this.operationCode = OperationCode.CancelAllMatchmakingTicket;
|
|
12
|
+
this.operationEncrypted = true;
|
|
13
|
+
this.requestType = RequestType.Multiplayer;
|
|
14
|
+
this.requestRole = RequestRole.Client;
|
|
15
|
+
this.requestDataCls = MultiplayerModels.CancelAllMatchmakingTicketRequestData;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest = CancelAllMatchmakingTicketOperationRequest;
|
|
19
|
+
class ServerCancelAllMatchmakingTicketOperationRequest extends CancelAllMatchmakingTicketOperationRequest {
|
|
20
|
+
constructor(requestData, timeout) {
|
|
21
|
+
super(requestData, timeout);
|
|
22
|
+
this.requestRole = RequestRole.Server;
|
|
23
|
+
this.requestDataCls = MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest = ServerCancelAllMatchmakingTicketOperationRequest;
|
|
27
|
+
class AdminCancelAllMatchmakingTicketOperationRequest extends CancelAllMatchmakingTicketOperationRequest {
|
|
28
|
+
constructor(requestData, timeout) {
|
|
29
|
+
super(requestData, timeout);
|
|
30
|
+
this.requestRole = RequestRole.Admin;
|
|
31
|
+
this.requestDataCls = MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest = AdminCancelAllMatchmakingTicketOperationRequest;
|
|
35
|
+
class CancelMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
|
|
36
|
+
constructor(requestData, timeout) {
|
|
37
|
+
super(requestData, timeout);
|
|
38
|
+
this.operationCode = OperationCode.CancelMatchmakingTicket;
|
|
39
|
+
this.operationEncrypted = true;
|
|
40
|
+
this.requestType = RequestType.Multiplayer;
|
|
41
|
+
this.requestRole = RequestRole.Client;
|
|
42
|
+
this.requestDataCls = MultiplayerModels.CancelMatchmakingTicketRequestData;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest = CancelMatchmakingTicketOperationRequest;
|
|
46
|
+
class ServerCancelMatchmakingTicketOperationRequest extends CancelMatchmakingTicketOperationRequest {
|
|
47
|
+
constructor(requestData, timeout) {
|
|
48
|
+
super(requestData, timeout);
|
|
49
|
+
this.requestRole = RequestRole.Server;
|
|
50
|
+
this.requestDataCls = MultiplayerModels.ServerCancelMatchmakingTicketRequestData;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest = ServerCancelMatchmakingTicketOperationRequest;
|
|
54
|
+
class AdminCancelMatchmakingTicketOperationRequest extends CancelMatchmakingTicketOperationRequest {
|
|
55
|
+
constructor(requestData, timeout) {
|
|
56
|
+
super(requestData, timeout);
|
|
57
|
+
this.requestRole = RequestRole.Admin;
|
|
58
|
+
this.requestDataCls = MultiplayerModels.AdminCancelMatchmakingTicketRequestData;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest = AdminCancelMatchmakingTicketOperationRequest;
|
|
62
|
+
class CreateMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
|
|
63
|
+
constructor(requestData, timeout) {
|
|
64
|
+
super(requestData, timeout);
|
|
65
|
+
this.operationCode = OperationCode.CreateMatchmakingTicket;
|
|
66
|
+
this.operationEncrypted = true;
|
|
67
|
+
this.requestType = RequestType.Multiplayer;
|
|
68
|
+
this.requestRole = RequestRole.Client;
|
|
69
|
+
this.requestDataCls = MultiplayerModels.CreateMatchmakingTicketRequestData;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest = CreateMatchmakingTicketOperationRequest;
|
|
73
|
+
class ServerCreateMatchmakingTicketOperationRequest extends CreateMatchmakingTicketOperationRequest {
|
|
74
|
+
constructor(requestData, timeout) {
|
|
75
|
+
super(requestData, timeout);
|
|
76
|
+
this.requestRole = RequestRole.Server;
|
|
77
|
+
this.requestDataCls = MultiplayerModels.ServerCreateMatchmakingTicketRequestData;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest = ServerCreateMatchmakingTicketOperationRequest;
|
|
81
|
+
class AdminCreateMatchmakingTicketOperationRequest extends CreateMatchmakingTicketOperationRequest {
|
|
82
|
+
constructor(requestData, timeout) {
|
|
83
|
+
super(requestData, timeout);
|
|
84
|
+
this.requestRole = RequestRole.Admin;
|
|
85
|
+
this.requestDataCls = MultiplayerModels.AdminCreateMatchmakingTicketRequestData;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest = AdminCreateMatchmakingTicketOperationRequest;
|
|
89
|
+
class GetMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
|
|
90
|
+
constructor(requestData, timeout) {
|
|
91
|
+
super(requestData, timeout);
|
|
92
|
+
this.operationCode = OperationCode.GetMatchmakingTicket;
|
|
93
|
+
this.operationEncrypted = true;
|
|
94
|
+
this.requestType = RequestType.Multiplayer;
|
|
95
|
+
this.requestRole = RequestRole.Client;
|
|
96
|
+
this.requestDataCls = MultiplayerModels.GetMatchmakingTicketRequestData;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
MultiplayerRequestModels.GetMatchmakingTicketOperationRequest = GetMatchmakingTicketOperationRequest;
|
|
100
|
+
class ServerGetMatchmakingTicketOperationRequest extends GetMatchmakingTicketOperationRequest {
|
|
101
|
+
constructor(requestData, timeout) {
|
|
102
|
+
super(requestData, timeout);
|
|
103
|
+
this.requestRole = RequestRole.Server;
|
|
104
|
+
this.requestDataCls = MultiplayerModels.ServerGetMatchmakingTicketRequestData;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest = ServerGetMatchmakingTicketOperationRequest;
|
|
108
|
+
class AdminGetMatchmakingTicketOperationRequest extends GetMatchmakingTicketOperationRequest {
|
|
109
|
+
constructor(requestData, timeout) {
|
|
110
|
+
super(requestData, timeout);
|
|
111
|
+
this.requestRole = RequestRole.Admin;
|
|
112
|
+
this.requestDataCls = MultiplayerModels.AdminGetMatchmakingTicketRequestData;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest = AdminGetMatchmakingTicketOperationRequest;
|
|
116
|
+
class GetMatchOperationRequest extends CustomOperationRequestAbstract {
|
|
117
|
+
constructor(requestData, timeout) {
|
|
118
|
+
super(requestData, timeout);
|
|
119
|
+
this.operationCode = OperationCode.GetMatch;
|
|
120
|
+
this.operationEncrypted = true;
|
|
121
|
+
this.requestType = RequestType.Multiplayer;
|
|
122
|
+
this.requestRole = RequestRole.Client;
|
|
123
|
+
this.requestDataCls = MultiplayerModels.GetMatchRequestData;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
MultiplayerRequestModels.GetMatchOperationRequest = GetMatchOperationRequest;
|
|
127
|
+
class ServerGetMatchOperationRequest extends GetMatchOperationRequest {
|
|
128
|
+
constructor(requestData, timeout) {
|
|
129
|
+
super(requestData, timeout);
|
|
130
|
+
this.requestRole = RequestRole.Server;
|
|
131
|
+
this.requestDataCls = MultiplayerModels.ServerGetMatchRequestData;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
MultiplayerRequestModels.ServerGetMatchOperationRequest = ServerGetMatchOperationRequest;
|
|
135
|
+
class AdminGetMatchOperationRequest extends GetMatchOperationRequest {
|
|
136
|
+
constructor(requestData, timeout) {
|
|
137
|
+
super(requestData, timeout);
|
|
138
|
+
this.requestRole = RequestRole.Admin;
|
|
139
|
+
this.requestDataCls = MultiplayerModels.AdminGetMatchRequestData;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
MultiplayerRequestModels.AdminGetMatchOperationRequest = AdminGetMatchOperationRequest;
|
|
143
|
+
class GetQueueStatisticsOperationRequest extends CustomOperationRequestAbstract {
|
|
144
|
+
constructor(requestData, timeout) {
|
|
145
|
+
super(requestData, timeout);
|
|
146
|
+
this.operationCode = OperationCode.GetQueueStatistics;
|
|
147
|
+
this.operationEncrypted = true;
|
|
148
|
+
this.requestType = RequestType.Multiplayer;
|
|
149
|
+
this.requestRole = RequestRole.Client;
|
|
150
|
+
this.requestDataCls = MultiplayerModels.GetQueueStatisticsRequestData;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
MultiplayerRequestModels.GetQueueStatisticsOperationRequest = GetQueueStatisticsOperationRequest;
|
|
154
|
+
class ServerGetQueueStatisticsOperationRequest extends GetQueueStatisticsOperationRequest {
|
|
155
|
+
constructor(requestData, timeout) {
|
|
156
|
+
super(requestData, timeout);
|
|
157
|
+
this.requestRole = RequestRole.Server;
|
|
158
|
+
this.requestDataCls = MultiplayerModels.ServerGetQueueStatisticsRequestData;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest = ServerGetQueueStatisticsOperationRequest;
|
|
162
|
+
class AdminGetQueueStatisticsOperationRequest extends GetQueueStatisticsOperationRequest {
|
|
163
|
+
constructor(requestData, timeout) {
|
|
164
|
+
super(requestData, timeout);
|
|
165
|
+
this.requestRole = RequestRole.Admin;
|
|
166
|
+
this.requestDataCls = MultiplayerModels.AdminGetQueueStatisticsRequestData;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest = AdminGetQueueStatisticsOperationRequest;
|
|
170
|
+
class JoinMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
|
|
171
|
+
constructor(requestData, timeout) {
|
|
172
|
+
super(requestData, timeout);
|
|
173
|
+
this.operationCode = OperationCode.JoinMatchmakingTicket;
|
|
174
|
+
this.operationEncrypted = true;
|
|
175
|
+
this.requestType = RequestType.Multiplayer;
|
|
176
|
+
this.requestRole = RequestRole.Client;
|
|
177
|
+
this.requestDataCls = MultiplayerModels.JoinMatchmakingTicketRequestData;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest = JoinMatchmakingTicketOperationRequest;
|
|
181
|
+
class ServerJoinMatchmakingTicketOperationRequest extends JoinMatchmakingTicketOperationRequest {
|
|
182
|
+
constructor(requestData, timeout) {
|
|
183
|
+
super(requestData, timeout);
|
|
184
|
+
this.requestRole = RequestRole.Server;
|
|
185
|
+
this.requestDataCls = MultiplayerModels.ServerJoinMatchmakingTicketRequestData;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest = ServerJoinMatchmakingTicketOperationRequest;
|
|
189
|
+
class AdminJoinMatchmakingTicketOperationRequest extends JoinMatchmakingTicketOperationRequest {
|
|
190
|
+
constructor(requestData, timeout) {
|
|
191
|
+
super(requestData, timeout);
|
|
192
|
+
this.requestRole = RequestRole.Admin;
|
|
193
|
+
this.requestDataCls = MultiplayerModels.AdminJoinMatchmakingTicketRequestData;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest = AdminJoinMatchmakingTicketOperationRequest;
|
|
197
|
+
class ListMatchmakingTicketsForPlayerOperationRequest extends CustomOperationRequestAbstract {
|
|
198
|
+
constructor(requestData, timeout) {
|
|
199
|
+
super(requestData, timeout);
|
|
200
|
+
this.operationCode = OperationCode.ListMatchmakingTicketsForPlayer;
|
|
201
|
+
this.operationEncrypted = true;
|
|
202
|
+
this.requestType = RequestType.Multiplayer;
|
|
203
|
+
this.requestRole = RequestRole.Client;
|
|
204
|
+
this.requestDataCls = MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest = ListMatchmakingTicketsForPlayerOperationRequest;
|
|
208
|
+
class ServerListMatchmakingTicketsForPlayerOperationRequest extends ListMatchmakingTicketsForPlayerOperationRequest {
|
|
209
|
+
constructor(requestData, timeout) {
|
|
210
|
+
super(requestData, timeout);
|
|
211
|
+
this.requestRole = RequestRole.Server;
|
|
212
|
+
this.requestDataCls = MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest = ServerListMatchmakingTicketsForPlayerOperationRequest;
|
|
216
|
+
class AdminListMatchmakingTicketsForPlayerOperationRequest extends ListMatchmakingTicketsForPlayerOperationRequest {
|
|
217
|
+
constructor(requestData, timeout) {
|
|
218
|
+
super(requestData, timeout);
|
|
219
|
+
this.requestRole = RequestRole.Admin;
|
|
220
|
+
this.requestDataCls = MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest = AdminListMatchmakingTicketsForPlayerOperationRequest;
|
|
224
|
+
class GetAllMatchOperationRequest extends CustomOperationRequestAbstract {
|
|
225
|
+
constructor(requestData, timeout) {
|
|
226
|
+
super(requestData, timeout);
|
|
227
|
+
this.operationCode = OperationCode.GetAllMatch;
|
|
228
|
+
this.operationEncrypted = true;
|
|
229
|
+
this.requestType = RequestType.Multiplayer;
|
|
230
|
+
this.requestRole = RequestRole.Client;
|
|
231
|
+
this.requestDataCls = MultiplayerModels.GetAllMatchRequestData;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
MultiplayerRequestModels.GetAllMatchOperationRequest = GetAllMatchOperationRequest;
|
|
235
|
+
class ServerGetAllMatchOperationRequest extends GetAllMatchOperationRequest {
|
|
236
|
+
constructor(requestData, timeout) {
|
|
237
|
+
super(requestData, timeout);
|
|
238
|
+
this.requestRole = RequestRole.Server;
|
|
239
|
+
this.requestDataCls = MultiplayerModels.ServerGetAllMatchRequestData;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
MultiplayerRequestModels.ServerGetAllMatchOperationRequest = ServerGetAllMatchOperationRequest;
|
|
243
|
+
class AdminGetAllMatchOperationRequest extends GetAllMatchOperationRequest {
|
|
244
|
+
constructor(requestData, timeout) {
|
|
245
|
+
super(requestData, timeout);
|
|
246
|
+
this.requestRole = RequestRole.Admin;
|
|
247
|
+
this.requestDataCls = MultiplayerModels.AdminGetAllMatchRequestData;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
MultiplayerRequestModels.AdminGetAllMatchOperationRequest = AdminGetAllMatchOperationRequest;
|
|
251
|
+
class GetAllMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
|
|
252
|
+
constructor(requestData, timeout) {
|
|
253
|
+
super(requestData, timeout);
|
|
254
|
+
this.operationCode = OperationCode.GetAllMatchmakingTicket;
|
|
255
|
+
this.operationEncrypted = true;
|
|
256
|
+
this.requestType = RequestType.Multiplayer;
|
|
257
|
+
this.requestRole = RequestRole.Client;
|
|
258
|
+
this.requestDataCls = MultiplayerModels.GetAllMatchmakingTicketRequestData;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest = GetAllMatchmakingTicketOperationRequest;
|
|
262
|
+
class ServerGetAllMatchmakingTicketOperationRequest extends GetAllMatchmakingTicketOperationRequest {
|
|
263
|
+
constructor(requestData, timeout) {
|
|
264
|
+
super(requestData, timeout);
|
|
265
|
+
this.requestRole = RequestRole.Server;
|
|
266
|
+
this.requestDataCls = MultiplayerModels.ServerGetAllMatchmakingTicketRequestData;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest = ServerGetAllMatchmakingTicketOperationRequest;
|
|
270
|
+
class AdminGetAllMatchmakingTicketOperationRequest extends GetAllMatchmakingTicketOperationRequest {
|
|
271
|
+
constructor(requestData, timeout) {
|
|
272
|
+
super(requestData, timeout);
|
|
273
|
+
this.requestRole = RequestRole.Admin;
|
|
274
|
+
this.requestDataCls = MultiplayerModels.AdminGetAllMatchmakingTicketRequestData;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest = AdminGetAllMatchmakingTicketOperationRequest;
|
|
278
|
+
})(MultiplayerRequestModels || (MultiplayerRequestModels = {}));
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
|
|
2
|
+
import { MultiplayerModels } from "./MultiplayerModels";
|
|
3
|
+
export var MultiplayerResponseModels;
|
|
4
|
+
(function (MultiplayerResponseModels) {
|
|
5
|
+
class CancelAllMatchmakingTicketOperationResponse extends CustomOperationResponseAbstract {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.responseDataCls = MultiplayerModels.CancelAllMatchmakingTicketResponseData;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse = CancelAllMatchmakingTicketOperationResponse;
|
|
12
|
+
class CancelMatchmakingTicketOperationResponse extends CustomOperationResponseAbstract {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.responseDataCls = MultiplayerModels.EmptyResponseData;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse = CancelMatchmakingTicketOperationResponse;
|
|
19
|
+
class CreateMatchmakingTicketOperationResponse extends CustomOperationResponseAbstract {
|
|
20
|
+
constructor() {
|
|
21
|
+
super();
|
|
22
|
+
this.responseDataCls = MultiplayerModels.CreateMatchmakingTicketResponseData;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse = CreateMatchmakingTicketOperationResponse;
|
|
26
|
+
class GetMatchmakingTicketOperationResponse extends CustomOperationResponseAbstract {
|
|
27
|
+
constructor() {
|
|
28
|
+
super();
|
|
29
|
+
this.responseDataCls = MultiplayerModels.GetMatchmakingTicketResponseData;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
MultiplayerResponseModels.GetMatchmakingTicketOperationResponse = GetMatchmakingTicketOperationResponse;
|
|
33
|
+
class GetMatchOperationResponse extends CustomOperationResponseAbstract {
|
|
34
|
+
constructor() {
|
|
35
|
+
super();
|
|
36
|
+
this.responseDataCls = MultiplayerModels.GetMatchResponseData;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
MultiplayerResponseModels.GetMatchOperationResponse = GetMatchOperationResponse;
|
|
40
|
+
class GetQueueStatisticsOperationResponse extends CustomOperationResponseAbstract {
|
|
41
|
+
constructor() {
|
|
42
|
+
super();
|
|
43
|
+
this.responseDataCls = MultiplayerModels.GetQueueStatisticsResponseData;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
MultiplayerResponseModels.GetQueueStatisticsOperationResponse = GetQueueStatisticsOperationResponse;
|
|
47
|
+
class JoinMatchmakingTicketOperationResponse extends CustomOperationResponseAbstract {
|
|
48
|
+
constructor() {
|
|
49
|
+
super();
|
|
50
|
+
this.responseDataCls = MultiplayerModels.EmptyResponseData;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse = JoinMatchmakingTicketOperationResponse;
|
|
54
|
+
class ListMatchmakingTicketsForPlayerOperationResponse extends CustomOperationResponseAbstract {
|
|
55
|
+
constructor() {
|
|
56
|
+
super();
|
|
57
|
+
this.responseDataCls = MultiplayerModels.ListMatchmakingTicketsForPlayerResponseData;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse = ListMatchmakingTicketsForPlayerOperationResponse;
|
|
61
|
+
class GetAllMatchOperationResponse extends CustomOperationResponseAbstract {
|
|
62
|
+
constructor() {
|
|
63
|
+
super();
|
|
64
|
+
this.responseDataCls = MultiplayerModels.GetAllMatchResponseData;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
MultiplayerResponseModels.GetAllMatchOperationResponse = GetAllMatchOperationResponse;
|
|
68
|
+
class GetAllMatchmakingTicketOperationResponse extends CustomOperationResponseAbstract {
|
|
69
|
+
constructor() {
|
|
70
|
+
super();
|
|
71
|
+
this.responseDataCls = MultiplayerModels.GetAllMatchmakingTicketResponseData;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse = GetAllMatchmakingTicketOperationResponse;
|
|
75
|
+
})(MultiplayerResponseModels || (MultiplayerResponseModels = {}));
|
|
@@ -12,6 +12,7 @@ export declare namespace StoreInventoryModels {
|
|
|
12
12
|
facebookStoreId?: string;
|
|
13
13
|
googlePlayStoreId?: string;
|
|
14
14
|
appleAppStoreId?: string;
|
|
15
|
+
analyticsPrice?: number;
|
|
15
16
|
}
|
|
16
17
|
class InfoRequestParam {
|
|
17
18
|
storeItems?: boolean;
|
|
@@ -42,6 +43,7 @@ export declare namespace StoreInventoryModels {
|
|
|
42
43
|
facebookStoreId: string;
|
|
43
44
|
appleAppStoreId: string;
|
|
44
45
|
googlePlayStoreId: string;
|
|
46
|
+
analyticsPrice: number;
|
|
45
47
|
}
|
|
46
48
|
class PriceCurrencyItem {
|
|
47
49
|
key: string;
|
|
@@ -67,6 +69,27 @@ export declare namespace StoreInventoryModels {
|
|
|
67
69
|
}
|
|
68
70
|
class AdminBuyStoreItemRequestData extends ServerBuyStoreItemRequestData {
|
|
69
71
|
}
|
|
72
|
+
class PresentStoreItemRequestData {
|
|
73
|
+
storeId: string;
|
|
74
|
+
id: string;
|
|
75
|
+
type: number;
|
|
76
|
+
log?: string;
|
|
77
|
+
}
|
|
78
|
+
class ServerPresentStoreItemRequestData extends PresentStoreItemRequestData {
|
|
79
|
+
}
|
|
80
|
+
class AdminPresentStoreItemRequestData extends ServerPresentStoreItemRequestData {
|
|
81
|
+
}
|
|
82
|
+
class GetStoreLogRequestData {
|
|
83
|
+
storeId?: string;
|
|
84
|
+
storeReceiveTypes?: Array<number>;
|
|
85
|
+
id?: string;
|
|
86
|
+
limit?: number;
|
|
87
|
+
token?: string;
|
|
88
|
+
}
|
|
89
|
+
class ServerGetStoreLogRequestData extends GetStoreLogRequestData {
|
|
90
|
+
}
|
|
91
|
+
class AdminGetStoreLogRequestData extends ServerGetStoreLogRequestData {
|
|
92
|
+
}
|
|
70
93
|
class GetStoreItemInformationRequestData {
|
|
71
94
|
storeId: string;
|
|
72
95
|
infoRequestParam: InfoRequestParam;
|
|
@@ -87,6 +110,7 @@ export declare namespace StoreInventoryModels {
|
|
|
87
110
|
class AdminGetStoreItemsWithTagRequestData extends ServerGetStoreItemsWithTagRequestData {
|
|
88
111
|
}
|
|
89
112
|
class GrantStoreItemRequestData {
|
|
113
|
+
storeId?: string;
|
|
90
114
|
displayName?: string;
|
|
91
115
|
}
|
|
92
116
|
class ServerGrantStoreItemRequestData extends GrantStoreItemRequestData {
|
|
@@ -176,9 +200,7 @@ export declare namespace StoreInventoryModels {
|
|
|
176
200
|
}
|
|
177
201
|
class StoreInventoryLeaderboardResponseData extends StoreInventoryWithStoreIdResponseData {
|
|
178
202
|
position: number;
|
|
179
|
-
|
|
180
|
-
class GetStatisticsLeaderboardResponseData {
|
|
181
|
-
results: Array<StoreInventoryLeaderboardResponseData>;
|
|
203
|
+
backupValue?: number;
|
|
182
204
|
}
|
|
183
205
|
class StoreInventoriesWithStoreIdResponseData {
|
|
184
206
|
results: Array<StoreInventoryWithStoreIdResponseData>;
|
|
@@ -196,9 +218,44 @@ export declare namespace StoreInventoryModels {
|
|
|
196
218
|
priceCurrencies?: Array<PriceCurrencyItem>;
|
|
197
219
|
infoResponseParameters?: OwnerInfoResponseParameters;
|
|
198
220
|
}
|
|
221
|
+
class PresentStoreInventoryResponseData {
|
|
222
|
+
storeItems?: Array<StoreInventoryItem>;
|
|
223
|
+
storeCurrencies?: Array<PriceCurrencyItem>;
|
|
224
|
+
priceCurrencies?: Array<PriceCurrencyItem>;
|
|
225
|
+
infoResponseParameters?: OwnerInfoResponseParameters;
|
|
226
|
+
}
|
|
227
|
+
class CurrencyResponseData {
|
|
228
|
+
key: string;
|
|
229
|
+
value: number;
|
|
230
|
+
}
|
|
231
|
+
class StoreItemResponseData {
|
|
232
|
+
catalogId: string;
|
|
233
|
+
classId: string;
|
|
234
|
+
itemId: string;
|
|
235
|
+
}
|
|
236
|
+
class StoreLogResponseData {
|
|
237
|
+
storeId: string;
|
|
238
|
+
id: string;
|
|
239
|
+
type: number;
|
|
240
|
+
transactionId?: string;
|
|
241
|
+
storeReceiveType: number;
|
|
242
|
+
priceCurrencyStartValues: Array<CurrencyResponseData>;
|
|
243
|
+
priceCurrencyAmountValues: Array<CurrencyResponseData>;
|
|
244
|
+
priceCurrencyFinalValues: Array<CurrencyResponseData>;
|
|
245
|
+
storeCurrencyStartValues: Array<CurrencyResponseData>;
|
|
246
|
+
storeCurrencyAmountValues: Array<CurrencyResponseData>;
|
|
247
|
+
storeCurrencyFinalValues: Array<CurrencyResponseData>;
|
|
248
|
+
storeItemFinalValues: Array<StoreItemResponseData>;
|
|
249
|
+
tsCreate: number;
|
|
250
|
+
log: string;
|
|
251
|
+
}
|
|
199
252
|
class GetCreateLeaderboardResponseData {
|
|
200
253
|
results: Array<StoreInventoryLeaderboardResponseData>;
|
|
201
254
|
}
|
|
255
|
+
class GetStoreLogResponseData {
|
|
256
|
+
results: Array<StoreLogResponseData>;
|
|
257
|
+
token?: string;
|
|
258
|
+
}
|
|
202
259
|
class EmptyResponseData {
|
|
203
260
|
}
|
|
204
261
|
}
|