@xmobitea/gn-typescript-client 2.6.9-tsc → 2.6.10

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.
Files changed (201) hide show
  1. package/dist/gearn.js.client.js +46911 -0
  2. package/dist/gearn.js.client.min.js +2 -0
  3. package/dist/gearn.js.client.min.js.LICENSE.txt +14 -0
  4. package/dist/index.js +34189 -337
  5. package/dist/runtime/config/GNServerSettings.d.ts +3 -0
  6. package/dist/runtime/constant/Commands.d.ts +1 -0
  7. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +2 -0
  8. package/package.json +1 -1
  9. package/dist/runtime/GNNetwork.js +0 -250
  10. package/dist/runtime/GNNetworkAuthenticateApi.js +0 -122
  11. package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -968
  12. package/dist/runtime/GNNetworkCloudScriptApi.js +0 -104
  13. package/dist/runtime/GNNetworkContentApi.js +0 -140
  14. package/dist/runtime/GNNetworkDashboardApi.js +0 -170
  15. package/dist/runtime/GNNetworkGamePlayerApi.js +0 -950
  16. package/dist/runtime/GNNetworkGroupApi.js +0 -734
  17. package/dist/runtime/GNNetworkInventoryApi.js +0 -626
  18. package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -1550
  19. package/dist/runtime/GNNetworkMultiplayerApi.js +0 -194
  20. package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -266
  21. package/dist/runtime/common/Action0.js +0 -1
  22. package/dist/runtime/common/Action1.js +0 -1
  23. package/dist/runtime/common/Action2.js +0 -1
  24. package/dist/runtime/common/Action3.js +0 -1
  25. package/dist/runtime/common/Action4.js +0 -1
  26. package/dist/runtime/common/GNData.js +0 -211
  27. package/dist/runtime/config/GNServerSettings.js +0 -149
  28. package/dist/runtime/constant/Commands.js +0 -19
  29. package/dist/runtime/constant/EventCode.js +0 -8
  30. package/dist/runtime/constant/OperationCode.js +0 -221
  31. package/dist/runtime/constant/ReturnCode.js +0 -14
  32. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +0 -8
  33. package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
  34. package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
  35. package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
  36. package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
  37. package/dist/runtime/constant/enumType/ItemType.js +0 -5
  38. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
  39. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
  40. package/dist/runtime/constant/enumType/OwnerType.js +0 -9
  41. package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
  42. package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
  43. package/dist/runtime/constant/enumType/RequestRole.js +0 -6
  44. package/dist/runtime/constant/enumType/RequestType.js +0 -15
  45. package/dist/runtime/constant/enumType/StoreItemType.js +0 -5
  46. package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
  47. package/dist/runtime/constant/errorCode/ErrorCode.js +0 -52
  48. package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -617
  49. package/dist/runtime/entity/DataMember.js +0 -208
  50. package/dist/runtime/entity/GNMetadata.js +0 -11
  51. package/dist/runtime/entity/InvalidMember.js +0 -1
  52. package/dist/runtime/entity/OperationEvent.js +0 -24
  53. package/dist/runtime/entity/OperationHelper.js +0 -24
  54. package/dist/runtime/entity/OperationRequest.js +0 -42
  55. package/dist/runtime/entity/OperationResponse.js +0 -73
  56. package/dist/runtime/entity/models/AuthenticateModels.js +0 -426
  57. package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -188
  58. package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
  59. package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1433
  60. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1386
  61. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -376
  62. package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
  63. package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -138
  64. package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
  65. package/dist/runtime/entity/models/ContentModels.js +0 -203
  66. package/dist/runtime/entity/models/ContentRequestModels.js +0 -190
  67. package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
  68. package/dist/runtime/entity/models/DashboardModels.js +0 -3002
  69. package/dist/runtime/entity/models/DashboardRequestModels.js +0 -268
  70. package/dist/runtime/entity/models/DashboardResponseModels.js +0 -187
  71. package/dist/runtime/entity/models/GamePlayerModels.js +0 -1591
  72. package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1360
  73. package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -369
  74. package/dist/runtime/entity/models/GenericModels.js +0 -177
  75. package/dist/runtime/entity/models/GroupModels.js +0 -1135
  76. package/dist/runtime/entity/models/GroupRequestModels.js +0 -1048
  77. package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
  78. package/dist/runtime/entity/models/InventoryModels.js +0 -915
  79. package/dist/runtime/entity/models/InventoryRequestModels.js +0 -892
  80. package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
  81. package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2573
  82. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2228
  83. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
  84. package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
  85. package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -268
  86. package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
  87. package/dist/runtime/entity/models/StoreInventoryModels.js +0 -797
  88. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -372
  89. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -103
  90. package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
  91. package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
  92. package/dist/runtime/entity/response/GetAuthInfoResponse.js +0 -2
  93. package/dist/runtime/entity/response/UploadFileResponse.js +0 -2
  94. package/dist/runtime/helper/CodeHelper.js +0 -63
  95. package/dist/runtime/helper/ConverterService.js +0 -275
  96. package/dist/runtime/helper/EnumUtility.js +0 -33
  97. package/dist/runtime/helper/GNSupport.js +0 -8
  98. package/dist/runtime/helper/GNUtils.js +0 -72
  99. package/dist/runtime/helper/MessagePackConverterService.js +0 -9
  100. package/dist/runtime/logger/GNDebug.js +0 -29
  101. package/dist/runtime/networking/AuthenticateStatus.js +0 -14
  102. package/dist/runtime/networking/IPeer.js +0 -1
  103. package/dist/runtime/networking/NetworkingPeer.js +0 -178
  104. package/dist/runtime/networking/OperationPending.js +0 -53
  105. package/dist/runtime/networking/PeerBase.js +0 -161
  106. package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
  107. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
  108. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
  109. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
  110. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
  111. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
  112. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -43
  113. package/dist/runtime/networking/http/HttpPeer.js +0 -122
  114. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -6
  115. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -164
  116. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -130
  117. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -165
  118. package/dist/runtime/networking/socket/SocketPeer.js +0 -115
  119. package/dist/runtime/typescript/ServiceUpdate.js +0 -12
  120. package/responseModel/chatgpt/Authenticate.json +0 -724
  121. package/responseModel/chatgpt/CharacterPlayer.json +0 -1890
  122. package/responseModel/chatgpt/CloudScript.json +0 -254
  123. package/responseModel/chatgpt/Content.json +0 -273
  124. package/responseModel/chatgpt/Dashboard.json +0 -4110
  125. package/responseModel/chatgpt/GamePlayer.json +0 -2306
  126. package/responseModel/chatgpt/Generic.json +0 -253
  127. package/responseModel/chatgpt/Group.json +0 -1509
  128. package/responseModel/chatgpt/Inventory.json +0 -1211
  129. package/responseModel/chatgpt/MasterPlayer.json +0 -3801
  130. package/responseModel/chatgpt/Multiplayer.json +0 -634
  131. package/responseModel/chatgpt/StoreInventory.json +0 -1099
  132. package/responseModel/clients/AuthenticateModels.json +0 -271
  133. package/responseModel/clients/CharacterPlayerModels.json +0 -792
  134. package/responseModel/clients/CloudScriptModels.json +0 -191
  135. package/responseModel/clients/ContentModels.json +0 -178
  136. package/responseModel/clients/DashboardModels.json +0 -5423
  137. package/responseModel/clients/GamePlayerModels.json +0 -781
  138. package/responseModel/clients/GenericModels.json +0 -344
  139. package/responseModel/clients/GroupModels.json +0 -705
  140. package/responseModel/clients/InventoryModels.json +0 -568
  141. package/responseModel/clients/MasterPlayerModels.json +0 -1281
  142. package/responseModel/clients/MultiplayerModels.json +0 -439
  143. package/responseModel/clients/StoreInventoryModels.json +0 -971
  144. package/responseModel/finalChatgpt/Authenticate.json +0 -1475
  145. package/responseModel/finalChatgpt/CharacterPlayer.json +0 -4104
  146. package/responseModel/finalChatgpt/CloudScript.json +0 -515
  147. package/responseModel/finalChatgpt/Content.json +0 -536
  148. package/responseModel/finalChatgpt/Dashboard.json +0 -6712
  149. package/responseModel/finalChatgpt/GamePlayer.json +0 -5142
  150. package/responseModel/finalChatgpt/Generic.json +0 -333
  151. package/responseModel/finalChatgpt/Group.json +0 -3232
  152. package/responseModel/finalChatgpt/Inventory.json +0 -2606
  153. package/responseModel/finalChatgpt/MasterPlayer.json +0 -8385
  154. package/responseModel/finalChatgpt/Multiplayer.json +0 -1196
  155. package/responseModel/finalChatgpt/StoreInventory.json +0 -2085
  156. package/responseModel/finals/Authenticate.json +0 -1460
  157. package/responseModel/finals/CharacterPlayer.json +0 -3639
  158. package/responseModel/finals/CloudScript.json +0 -465
  159. package/responseModel/finals/Content.json +0 -479
  160. package/responseModel/finals/Dashboard.json +0 -6718
  161. package/responseModel/finals/GamePlayer.json +0 -4291
  162. package/responseModel/finals/Generic.json +0 -345
  163. package/responseModel/finals/Group.json +0 -2885
  164. package/responseModel/finals/Inventory.json +0 -2309
  165. package/responseModel/finals/MasterPlayer.json +0 -7018
  166. package/responseModel/finals/Multiplayer.json +0 -1082
  167. package/responseModel/finals/StoreInventory.json +0 -1979
  168. package/responseModel/finalsShort/Authenticate.json +0 -723
  169. package/responseModel/finalsShort/CharacterPlayer.json +0 -1889
  170. package/responseModel/finalsShort/CloudScript.json +0 -253
  171. package/responseModel/finalsShort/Content.json +0 -272
  172. package/responseModel/finalsShort/Dashboard.json +0 -4109
  173. package/responseModel/finalsShort/GamePlayer.json +0 -2305
  174. package/responseModel/finalsShort/Generic.json +0 -252
  175. package/responseModel/finalsShort/Group.json +0 -1508
  176. package/responseModel/finalsShort/Inventory.json +0 -1210
  177. package/responseModel/finalsShort/MasterPlayer.json +0 -3800
  178. package/responseModel/finalsShort/Multiplayer.json +0 -633
  179. package/responseModel/finalsShort/StoreInventory.json +0 -1098
  180. package/responseModel/operationResponse/AuthenticateResponseModels.json +0 -77
  181. package/responseModel/operationResponse/CharacterPlayerResponseModels.json +0 -217
  182. package/responseModel/operationResponse/CloudScriptResponseModels.json +0 -25
  183. package/responseModel/operationResponse/ContentResponseModels.json +0 -33
  184. package/responseModel/operationResponse/DashboardResponseModels.json +0 -109
  185. package/responseModel/operationResponse/GamePlayerResponseModels.json +0 -213
  186. package/responseModel/operationResponse/GroupResponseModels.json +0 -165
  187. package/responseModel/operationResponse/InventoryResponseModels.json +0 -141
  188. package/responseModel/operationResponse/MasterPlayerResponseModels.json +0 -349
  189. package/responseModel/operationResponse/MultiplayerResponseModels.json +0 -45
  190. package/responseModel/operationResponse/StoreInventoryResponseModels.json +0 -61
  191. package/responseModel/servers/Authenticate.json +0 -1328
  192. package/responseModel/servers/CharacterPlayer.json +0 -3199
  193. package/responseModel/servers/CloudScript.json +0 -278
  194. package/responseModel/servers/Content.json +0 -324
  195. package/responseModel/servers/GamePlayer.json +0 -3844
  196. package/responseModel/servers/Group.json +0 -2454
  197. package/responseModel/servers/Inventory.json +0 -1964
  198. package/responseModel/servers/MasterAdmin.json +0 -5569
  199. package/responseModel/servers/MasterPlayer.json +0 -5924
  200. package/responseModel/servers/Multiplayer.json +0 -545
  201. package/responseModel/servers/StoreInventory.json +0 -1290
@@ -1,1082 +0,0 @@
1
- {
2
- "requestType": "Multiplayer",
3
- "operations": [
4
- {
5
- "operationCode": "CancelAllMatchmakingTicket",
6
- "details": [
7
- {
8
- "role": "Client",
9
- "requestData": [
10
- {
11
- "code": "QueueName",
12
- "description": "",
13
- "optional": false,
14
- "type": "string",
15
- "gnType": "String",
16
- "conditions": {
17
- "minLength": 6,
18
- "maxLength": 32
19
- }
20
- }
21
- ]
22
- },
23
- {
24
- "role": "Server",
25
- "requestData": [
26
- {
27
- "code": "UserId",
28
- "description": "",
29
- "optional": false,
30
- "type": "string",
31
- "gnType": "String",
32
- "conditions": {
33
- "minLength": 10,
34
- "maxLength": 10
35
- }
36
- }
37
- ]
38
- }
39
- ],
40
- "responseData": [
41
- {
42
- "code": "ErrorCode",
43
- "value": [
44
- "MatchmakingQueueNotFound",
45
- "Ok"
46
- ]
47
- },
48
- {
49
- "code": "TicketIds"
50
- }
51
- ],
52
- "description": ""
53
- },
54
- {
55
- "operationCode": "CancelMatchmakingTicket",
56
- "details": [
57
- {
58
- "role": "Client",
59
- "requestData": [
60
- {
61
- "code": "TicketId",
62
- "description": "",
63
- "optional": false,
64
- "type": "string",
65
- "gnType": "String",
66
- "conditions": {
67
- "minLength": 10,
68
- "maxLength": 10
69
- }
70
- }
71
- ]
72
- },
73
- {
74
- "role": "Server",
75
- "requestData": [
76
- {
77
- "code": "UserId",
78
- "description": "",
79
- "optional": false,
80
- "type": "string",
81
- "gnType": "String",
82
- "conditions": {
83
- "minLength": 10,
84
- "maxLength": 10
85
- }
86
- }
87
- ]
88
- }
89
- ],
90
- "responseData": [
91
- {
92
- "code": "ErrorCode",
93
- "value": [
94
- "MatchmakingTicketNotFound",
95
- "MatchmakingTicketAlreadyCompleted",
96
- "MatchmakingPlayerHasNotJoinedTicket",
97
- "Ok"
98
- ]
99
- }
100
- ],
101
- "description": ""
102
- },
103
- {
104
- "operationCode": "CreateMatchmakingTicket",
105
- "details": [
106
- {
107
- "role": "Client",
108
- "requestData": [
109
- {
110
- "code": "GiveUpAfterSeconds",
111
- "description": "",
112
- "optional": false,
113
- "type": "number",
114
- "gnType": "Number",
115
- "conditions": {
116
- "mustInt": true,
117
- "minValue": 20
118
- }
119
- },
120
- {
121
- "code": "QueueName",
122
- "description": "",
123
- "optional": false,
124
- "type": "string",
125
- "gnType": "String",
126
- "conditions": {
127
- "minLength": 6,
128
- "maxLength": 32
129
- }
130
- },
131
- {
132
- "code": "Attribute",
133
- "description": "",
134
- "optional": true,
135
- "type": "GNHashtable",
136
- "gnType": "GNHashtable",
137
- "conditions": {}
138
- },
139
- {
140
- "code": "Members",
141
- "description": "",
142
- "optional": true,
143
- "type": "string",
144
- "gnType": "GNArray",
145
- "conditions": {}
146
- }
147
- ]
148
- },
149
- {
150
- "role": "Server",
151
- "requestData": [
152
- {
153
- "code": "UserId",
154
- "description": "",
155
- "optional": false,
156
- "type": "string",
157
- "gnType": "String",
158
- "conditions": {
159
- "minLength": 10,
160
- "maxLength": 10
161
- }
162
- }
163
- ]
164
- }
165
- ],
166
- "responseData": [
167
- {
168
- "code": "ErrorCode",
169
- "value": [
170
- "MatchmakingQueueNotFound",
171
- "MatchmakingPlayerHasJoinedOtherTicket",
172
- "TicketSizeError",
173
- "Ok"
174
- ]
175
- },
176
- {
177
- "code": "TicketId"
178
- }
179
- ],
180
- "description": ""
181
- },
182
- {
183
- "operationCode": "GetAllMatchmakingTicket",
184
- "details": [
185
- {
186
- "role": "Client",
187
- "requestData": [
188
- {
189
- "code": "Status",
190
- "description": "",
191
- "optional": true,
192
- "type": "number",
193
- "gnType": "Number",
194
- "conditions": {
195
- "mustInt": true,
196
- "minValue": 1,
197
- "maxValue": 5
198
- }
199
- },
200
- {
201
- "code": "ReturnMember",
202
- "description": "",
203
- "optional": true,
204
- "type": "boolean",
205
- "gnType": "Boolean",
206
- "defaultValue": "false",
207
- "conditions": {}
208
- },
209
- {
210
- "code": "Skip",
211
- "description": "",
212
- "optional": true,
213
- "type": "number",
214
- "gnType": "Number",
215
- "defaultValue": "0",
216
- "conditions": {
217
- "mustInt": true,
218
- "minValue": 0
219
- }
220
- },
221
- {
222
- "code": "Limit",
223
- "description": "",
224
- "optional": true,
225
- "type": "number",
226
- "gnType": "Number",
227
- "defaultValue": "10",
228
- "conditions": {
229
- "mustInt": true,
230
- "minValue": 1,
231
- "maxValue": 100
232
- }
233
- }
234
- ]
235
- }
236
- ],
237
- "responseData": [
238
- {
239
- "code": "ErrorCode",
240
- "value": [
241
- "Ok"
242
- ]
243
- },
244
- {
245
- "code": "Results"
246
- }
247
- ],
248
- "description": ""
249
- },
250
- {
251
- "operationCode": "GetAllMatch",
252
- "details": [
253
- {
254
- "role": "Client",
255
- "requestData": [
256
- {
257
- "code": "ReturnMember",
258
- "description": "",
259
- "optional": true,
260
- "type": "boolean",
261
- "gnType": "Boolean",
262
- "defaultValue": "false",
263
- "conditions": {}
264
- },
265
- {
266
- "code": "Skip",
267
- "description": "",
268
- "optional": true,
269
- "type": "number",
270
- "gnType": "Number",
271
- "defaultValue": "0",
272
- "conditions": {
273
- "mustInt": true,
274
- "minValue": 0
275
- }
276
- },
277
- {
278
- "code": "Limit",
279
- "description": "",
280
- "optional": true,
281
- "type": "number",
282
- "gnType": "Number",
283
- "defaultValue": "10",
284
- "conditions": {
285
- "mustInt": true,
286
- "minValue": 1,
287
- "maxValue": 100
288
- }
289
- }
290
- ]
291
- }
292
- ],
293
- "responseData": [
294
- {
295
- "code": "ErrorCode",
296
- "value": [
297
- "Ok"
298
- ]
299
- },
300
- {
301
- "code": "Results"
302
- }
303
- ],
304
- "description": ""
305
- },
306
- {
307
- "operationCode": "GetMatchmakingTicket",
308
- "details": [
309
- {
310
- "role": "Client",
311
- "requestData": [
312
- {
313
- "code": "TicketId",
314
- "description": "",
315
- "optional": false,
316
- "type": "string",
317
- "gnType": "String",
318
- "conditions": {
319
- "minLength": 10,
320
- "maxLength": 10
321
- }
322
- },
323
- {
324
- "code": "ReturnMember",
325
- "description": "",
326
- "optional": true,
327
- "type": "boolean",
328
- "gnType": "Boolean",
329
- "defaultValue": "false",
330
- "conditions": {}
331
- }
332
- ]
333
- }
334
- ],
335
- "responseData": [
336
- {
337
- "code": "ErrorCode",
338
- "value": [
339
- "MatchmakingTicketNotFound",
340
- "Ok"
341
- ]
342
- },
343
- {
344
- "code": "MatchmakingTicket"
345
- }
346
- ],
347
- "description": ""
348
- },
349
- {
350
- "operationCode": "GetMatch",
351
- "details": [
352
- {
353
- "role": "Client",
354
- "requestData": [
355
- {
356
- "code": "MatchId",
357
- "description": "",
358
- "optional": false,
359
- "type": "string",
360
- "gnType": "String",
361
- "conditions": {
362
- "minLength": 15,
363
- "maxLength": 15
364
- }
365
- },
366
- {
367
- "code": "ReturnMember",
368
- "description": "",
369
- "optional": true,
370
- "type": "boolean",
371
- "gnType": "Boolean",
372
- "defaultValue": "false",
373
- "conditions": {}
374
- }
375
- ]
376
- }
377
- ],
378
- "responseData": [
379
- {
380
- "code": "ErrorCode",
381
- "value": [
382
- "MatchNotFound",
383
- "Ok"
384
- ]
385
- },
386
- {
387
- "code": "Match"
388
- }
389
- ],
390
- "description": ""
391
- },
392
- {
393
- "operationCode": "GetQueueStatistics",
394
- "details": [
395
- {
396
- "role": "Client",
397
- "requestData": [
398
- {
399
- "code": "QueueName",
400
- "description": "",
401
- "optional": false,
402
- "type": "string",
403
- "gnType": "String",
404
- "conditions": {
405
- "minLength": 6,
406
- "maxLength": 32
407
- }
408
- },
409
- {
410
- "code": "TimeInSeconds",
411
- "description": "",
412
- "optional": false,
413
- "type": "number",
414
- "gnType": "Number",
415
- "conditions": {
416
- "mustInt": true,
417
- "minValue": 20
418
- }
419
- }
420
- ]
421
- }
422
- ],
423
- "responseData": [
424
- {
425
- "code": "PendingMemberCount"
426
- },
427
- {
428
- "code": "PendingTicketCount"
429
- },
430
- {
431
- "code": "AverageMatchmakingTimeInSeconds"
432
- }
433
- ],
434
- "description": ""
435
- },
436
- {
437
- "operationCode": "JoinMatchmakingTicket",
438
- "details": [
439
- {
440
- "role": "Client",
441
- "requestData": [
442
- {
443
- "code": "TicketId",
444
- "description": "",
445
- "optional": false,
446
- "type": "string",
447
- "gnType": "String",
448
- "conditions": {
449
- "minLength": 10,
450
- "maxLength": 10
451
- }
452
- },
453
- {
454
- "code": "Attribute",
455
- "description": "",
456
- "optional": true,
457
- "type": "GNHashtable",
458
- "gnType": "GNHashtable",
459
- "conditions": {}
460
- }
461
- ]
462
- },
463
- {
464
- "role": "Server",
465
- "requestData": [
466
- {
467
- "code": "UserId",
468
- "description": "",
469
- "optional": false,
470
- "type": "string",
471
- "gnType": "String",
472
- "conditions": {
473
- "minLength": 10,
474
- "maxLength": 10
475
- }
476
- }
477
- ]
478
- }
479
- ],
480
- "responseData": [
481
- {
482
- "code": "ErrorCode",
483
- "value": [
484
- "MatchmakingTicketNotFound",
485
- "MatchmakingTicketAlreadyCompleted",
486
- "MatchmakingQueueNotFound",
487
- "MatchmakingPlayerHasJoinedOtherTicket",
488
- "Ok"
489
- ]
490
- }
491
- ],
492
- "description": ""
493
- },
494
- {
495
- "operationCode": "ListMatchmakingTicketsForPlayer",
496
- "details": [
497
- {
498
- "role": "Client",
499
- "requestData": [
500
- {
501
- "code": "QueueName",
502
- "description": "",
503
- "optional": false,
504
- "type": "string",
505
- "gnType": "String",
506
- "conditions": {
507
- "minLength": 6,
508
- "maxLength": 32
509
- }
510
- }
511
- ]
512
- },
513
- {
514
- "role": "Server",
515
- "requestData": [
516
- {
517
- "code": "UserId",
518
- "description": "",
519
- "optional": false,
520
- "type": "string",
521
- "gnType": "String",
522
- "conditions": {
523
- "minLength": 10,
524
- "maxLength": 10
525
- }
526
- }
527
- ]
528
- }
529
- ],
530
- "responseData": [
531
- {
532
- "code": "ErrorCode",
533
- "value": [
534
- "Ok"
535
- ]
536
- },
537
- {
538
- "code": "TicketIds"
539
- }
540
- ],
541
- "description": ""
542
- }
543
- ],
544
- "models": [
545
- {
546
- "name": "CancelAllMatchmakingTicketResponseData",
547
- "details": [
548
- {
549
- "code": "TicketIds",
550
- "description": "",
551
- "optional": false,
552
- "type": "string",
553
- "gnType": "GNArray",
554
- "conditions": {}
555
- }
556
- ],
557
- "extends": null,
558
- "description": ""
559
- },
560
- {
561
- "name": "CreateMatchmakingTicketResponseData",
562
- "details": [
563
- {
564
- "code": "TicketId",
565
- "description": "",
566
- "optional": false,
567
- "type": "string",
568
- "gnType": "String",
569
- "conditions": {}
570
- }
571
- ],
572
- "extends": null,
573
- "description": ""
574
- },
575
- {
576
- "name": "MatchmakingTicketMember",
577
- "details": [
578
- {
579
- "code": "UserId",
580
- "description": "",
581
- "optional": false,
582
- "type": "string",
583
- "gnType": "String",
584
- "conditions": {
585
- "minLength": 10,
586
- "maxLength": 10
587
- }
588
- },
589
- {
590
- "code": "Status",
591
- "description": "",
592
- "optional": false,
593
- "type": "number",
594
- "gnType": "Number",
595
- "conditions": {
596
- "mustInt": true
597
- }
598
- },
599
- {
600
- "code": "Attribute",
601
- "description": "",
602
- "optional": false,
603
- "type": "GNHashtable",
604
- "gnType": "GNHashtable",
605
- "conditions": {}
606
- }
607
- ],
608
- "extends": null,
609
- "description": ""
610
- },
611
- {
612
- "name": "MatchmakingTicketResponseData",
613
- "details": [
614
- {
615
- "code": "TsCreate",
616
- "description": "",
617
- "optional": false,
618
- "type": "number",
619
- "gnType": "Number",
620
- "conditions": {}
621
- },
622
- {
623
- "code": "CreatorId",
624
- "description": "",
625
- "optional": false,
626
- "type": "string",
627
- "gnType": "String",
628
- "conditions": {
629
- "minLength": 10,
630
- "maxLength": 10
631
- }
632
- },
633
- {
634
- "code": "GiveUpAfterSeconds",
635
- "description": "",
636
- "optional": false,
637
- "type": "number",
638
- "gnType": "Number",
639
- "conditions": {}
640
- },
641
- {
642
- "code": "QueueName",
643
- "description": "",
644
- "optional": false,
645
- "type": "string",
646
- "gnType": "String",
647
- "conditions": {
648
- "minLength": 6,
649
- "maxLength": 32
650
- }
651
- },
652
- {
653
- "code": "Status",
654
- "description": "",
655
- "optional": false,
656
- "type": "number",
657
- "gnType": "Number",
658
- "conditions": {
659
- "mustInt": true
660
- }
661
- },
662
- {
663
- "code": "MatchId",
664
- "description": "",
665
- "optional": true,
666
- "type": "string",
667
- "gnType": "String",
668
- "conditions": {
669
- "minLength": 15,
670
- "maxLength": 15
671
- }
672
- },
673
- {
674
- "code": "Members",
675
- "description": "",
676
- "optional": true,
677
- "type": "MatchmakingTicketMember",
678
- "gnType": "GNArray",
679
- "conditions": {}
680
- }
681
- ],
682
- "extends": null,
683
- "description": ""
684
- },
685
- {
686
- "name": "MatchmakingTicketWithTicketIdResponseData",
687
- "details": [
688
- {
689
- "code": "TicketId",
690
- "description": "",
691
- "optional": false,
692
- "type": "string",
693
- "gnType": "String",
694
- "conditions": {}
695
- },
696
- {
697
- "code": "TsCreate",
698
- "description": "",
699
- "optional": false,
700
- "type": "number",
701
- "gnType": "Number",
702
- "conditions": {}
703
- },
704
- {
705
- "code": "CreatorId",
706
- "description": "",
707
- "optional": false,
708
- "type": "string",
709
- "gnType": "String",
710
- "conditions": {
711
- "minLength": 10,
712
- "maxLength": 10
713
- }
714
- },
715
- {
716
- "code": "GiveUpAfterSeconds",
717
- "description": "",
718
- "optional": false,
719
- "type": "number",
720
- "gnType": "Number",
721
- "conditions": {}
722
- },
723
- {
724
- "code": "QueueName",
725
- "description": "",
726
- "optional": false,
727
- "type": "string",
728
- "gnType": "String",
729
- "conditions": {
730
- "minLength": 6,
731
- "maxLength": 32
732
- }
733
- },
734
- {
735
- "code": "Status",
736
- "description": "",
737
- "optional": false,
738
- "type": "number",
739
- "gnType": "Number",
740
- "conditions": {
741
- "mustInt": true
742
- }
743
- },
744
- {
745
- "code": "MatchId",
746
- "description": "",
747
- "optional": true,
748
- "type": "string",
749
- "gnType": "String",
750
- "conditions": {
751
- "minLength": 15,
752
- "maxLength": 15
753
- }
754
- },
755
- {
756
- "code": "Members",
757
- "description": "",
758
- "optional": true,
759
- "type": "MatchmakingTicketMember",
760
- "gnType": "GNArray",
761
- "conditions": {}
762
- }
763
- ],
764
- "extends": null,
765
- "description": ""
766
- },
767
- {
768
- "name": "GetMatchmakingTicketResponseData",
769
- "details": [
770
- {
771
- "code": "MatchmakingTicket",
772
- "description": "",
773
- "optional": false,
774
- "type": "MatchmakingTicketResponseData",
775
- "gnType": "GNHashtable",
776
- "conditions": {}
777
- }
778
- ],
779
- "extends": null,
780
- "description": ""
781
- },
782
- {
783
- "name": "MatchMember",
784
- "details": [
785
- {
786
- "code": "UserId",
787
- "description": "",
788
- "optional": false,
789
- "type": "string",
790
- "gnType": "String",
791
- "conditions": {
792
- "minLength": 10,
793
- "maxLength": 10
794
- }
795
- },
796
- {
797
- "code": "TeamId",
798
- "description": "",
799
- "optional": false,
800
- "type": "string",
801
- "gnType": "String",
802
- "conditions": {}
803
- },
804
- {
805
- "code": "Attribute",
806
- "description": "",
807
- "optional": false,
808
- "type": "GNHashtable",
809
- "gnType": "GNHashtable",
810
- "conditions": {}
811
- }
812
- ],
813
- "extends": null,
814
- "description": ""
815
- },
816
- {
817
- "name": "PortInfo",
818
- "details": [
819
- {
820
- "code": "Name",
821
- "description": "",
822
- "optional": false,
823
- "type": "string",
824
- "gnType": "String",
825
- "conditions": {}
826
- },
827
- {
828
- "code": "PublicPort",
829
- "description": "",
830
- "optional": false,
831
- "type": "number",
832
- "gnType": "Number",
833
- "conditions": {
834
- "mustInt": true,
835
- "minValue": 0
836
- }
837
- },
838
- {
839
- "code": "PrivatePort",
840
- "description": "",
841
- "optional": false,
842
- "type": "number",
843
- "gnType": "Number",
844
- "conditions": {
845
- "mustInt": true,
846
- "minValue": 0
847
- }
848
- },
849
- {
850
- "code": "Protocol",
851
- "description": "",
852
- "optional": false,
853
- "type": "number",
854
- "gnType": "Number",
855
- "conditions": {
856
- "mustInt": true,
857
- "minValue": 1,
858
- "maxValue": 2
859
- }
860
- }
861
- ],
862
- "extends": null,
863
- "description": ""
864
- },
865
- {
866
- "name": "ServerDetail",
867
- "details": [
868
- {
869
- "code": "IpV4Address",
870
- "description": "",
871
- "optional": false,
872
- "type": "string",
873
- "gnType": "String",
874
- "conditions": {}
875
- },
876
- {
877
- "code": "Ports",
878
- "description": "",
879
- "optional": false,
880
- "type": "PortInfo",
881
- "gnType": "GNArray",
882
- "conditions": {}
883
- }
884
- ],
885
- "extends": null,
886
- "description": ""
887
- },
888
- {
889
- "name": "MatchResponseData",
890
- "details": [
891
- {
892
- "code": "TsCreate",
893
- "description": "",
894
- "optional": false,
895
- "type": "number",
896
- "gnType": "Number",
897
- "conditions": {}
898
- },
899
- {
900
- "code": "QueueName",
901
- "description": "",
902
- "optional": false,
903
- "type": "string",
904
- "gnType": "String",
905
- "conditions": {
906
- "minLength": 6,
907
- "maxLength": 32
908
- }
909
- },
910
- {
911
- "code": "Members",
912
- "description": "",
913
- "optional": true,
914
- "type": "MatchMember",
915
- "gnType": "GNArray",
916
- "conditions": {}
917
- },
918
- {
919
- "code": "TimeToMatchInSeconds",
920
- "description": "",
921
- "optional": false,
922
- "type": "number",
923
- "gnType": "Number",
924
- "conditions": {}
925
- }
926
- ],
927
- "extends": null,
928
- "description": ""
929
- },
930
- {
931
- "name": "MatchWithMatchIdResponseData",
932
- "details": [
933
- {
934
- "code": "MatchId",
935
- "description": "",
936
- "optional": false,
937
- "type": "string",
938
- "gnType": "String",
939
- "conditions": {}
940
- },
941
- {
942
- "code": "TsCreate",
943
- "description": "",
944
- "optional": false,
945
- "type": "number",
946
- "gnType": "Number",
947
- "conditions": {}
948
- },
949
- {
950
- "code": "QueueName",
951
- "description": "",
952
- "optional": false,
953
- "type": "string",
954
- "gnType": "String",
955
- "conditions": {
956
- "minLength": 6,
957
- "maxLength": 32
958
- }
959
- },
960
- {
961
- "code": "Members",
962
- "description": "",
963
- "optional": true,
964
- "type": "MatchMember",
965
- "gnType": "GNArray",
966
- "conditions": {}
967
- },
968
- {
969
- "code": "TimeToMatchInSeconds",
970
- "description": "",
971
- "optional": false,
972
- "type": "number",
973
- "gnType": "Number",
974
- "conditions": {}
975
- }
976
- ],
977
- "extends": null,
978
- "description": ""
979
- },
980
- {
981
- "name": "GetMatchResponseData",
982
- "details": [
983
- {
984
- "code": "Match",
985
- "description": "",
986
- "optional": false,
987
- "type": "MatchResponseData",
988
- "gnType": "GNHashtable",
989
- "conditions": {}
990
- }
991
- ],
992
- "extends": null,
993
- "description": ""
994
- },
995
- {
996
- "name": "GetQueueStatisticsResponseData",
997
- "details": [
998
- {
999
- "code": "PendingMemberCount",
1000
- "description": "",
1001
- "optional": false,
1002
- "type": "number",
1003
- "gnType": "Number",
1004
- "conditions": {
1005
- "mustInt": true
1006
- }
1007
- },
1008
- {
1009
- "code": "PendingTicketCount",
1010
- "description": "",
1011
- "optional": false,
1012
- "type": "number",
1013
- "gnType": "Number",
1014
- "conditions": {
1015
- "mustInt": true
1016
- }
1017
- },
1018
- {
1019
- "code": "AverageMatchmakingTimeInSeconds",
1020
- "description": "",
1021
- "optional": false,
1022
- "type": "number",
1023
- "gnType": "Number",
1024
- "conditions": {}
1025
- }
1026
- ],
1027
- "extends": null,
1028
- "description": ""
1029
- },
1030
- {
1031
- "name": "ListMatchmakingTicketsForPlayerResponseData",
1032
- "details": [
1033
- {
1034
- "code": "TicketIds",
1035
- "description": "",
1036
- "optional": false,
1037
- "type": "string",
1038
- "gnType": "GNArray",
1039
- "conditions": {}
1040
- }
1041
- ],
1042
- "extends": null,
1043
- "description": ""
1044
- },
1045
- {
1046
- "name": "GetAllMatchResponseData",
1047
- "details": [
1048
- {
1049
- "code": "Results",
1050
- "description": "",
1051
- "optional": false,
1052
- "type": "MatchWithMatchIdResponseData",
1053
- "gnType": "GNArray",
1054
- "conditions": {}
1055
- }
1056
- ],
1057
- "extends": null,
1058
- "description": ""
1059
- },
1060
- {
1061
- "name": "GetAllMatchmakingTicketResponseData",
1062
- "details": [
1063
- {
1064
- "code": "Results",
1065
- "description": "",
1066
- "optional": false,
1067
- "type": "MatchmakingTicketWithTicketIdResponseData",
1068
- "gnType": "GNArray",
1069
- "conditions": {}
1070
- }
1071
- ],
1072
- "extends": null,
1073
- "description": ""
1074
- },
1075
- {
1076
- "name": "EmptyResponseData",
1077
- "details": [],
1078
- "extends": null,
1079
- "description": ""
1080
- }
1081
- ]
1082
- }