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

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 (203) hide show
  1. package/LICENSE +198 -5
  2. package/dist/index.js +337 -34170
  3. package/dist/runtime/GNNetwork.js +250 -0
  4. package/dist/runtime/GNNetworkAuthenticateApi.js +122 -0
  5. package/dist/runtime/GNNetworkCharacterPlayerApi.js +968 -0
  6. package/dist/runtime/GNNetworkCloudScriptApi.js +104 -0
  7. package/dist/runtime/GNNetworkContentApi.js +140 -0
  8. package/dist/runtime/GNNetworkDashboardApi.js +170 -0
  9. package/dist/runtime/GNNetworkGamePlayerApi.js +950 -0
  10. package/dist/runtime/GNNetworkGroupApi.js +734 -0
  11. package/dist/runtime/GNNetworkInventoryApi.js +626 -0
  12. package/dist/runtime/GNNetworkMasterPlayerApi.js +1550 -0
  13. package/dist/runtime/GNNetworkMultiplayerApi.js +194 -0
  14. package/dist/runtime/GNNetworkStoreInventoryApi.js +266 -0
  15. package/dist/runtime/common/Action0.js +1 -0
  16. package/dist/runtime/common/Action1.js +1 -0
  17. package/dist/runtime/common/Action2.js +1 -0
  18. package/dist/runtime/common/Action3.js +1 -0
  19. package/dist/runtime/common/Action4.js +1 -0
  20. package/dist/runtime/common/GNData.js +211 -0
  21. package/dist/runtime/config/GNServerSettings.js +149 -0
  22. package/dist/runtime/constant/Commands.js +19 -0
  23. package/dist/runtime/constant/EventCode.js +8 -0
  24. package/dist/runtime/constant/OperationCode.js +221 -0
  25. package/dist/runtime/constant/ReturnCode.js +14 -0
  26. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
  27. package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
  28. package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
  29. package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
  30. package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
  31. package/dist/runtime/constant/enumType/ItemType.js +5 -0
  32. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
  33. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
  34. package/dist/runtime/constant/enumType/OwnerType.js +9 -0
  35. package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
  36. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  37. package/dist/runtime/constant/enumType/RequestRole.js +6 -0
  38. package/dist/runtime/constant/enumType/RequestType.js +15 -0
  39. package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
  40. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  41. package/dist/runtime/constant/errorCode/ErrorCode.js +52 -0
  42. package/dist/runtime/constant/parameterCode/ParameterCode.js +617 -0
  43. package/dist/runtime/entity/DataMember.js +208 -0
  44. package/dist/runtime/entity/GNMetadata.js +11 -0
  45. package/dist/runtime/entity/InvalidMember.js +1 -0
  46. package/dist/runtime/entity/OperationEvent.js +24 -0
  47. package/dist/runtime/entity/OperationHelper.js +24 -0
  48. package/dist/runtime/entity/OperationRequest.js +42 -0
  49. package/dist/runtime/entity/OperationResponse.js +73 -0
  50. package/dist/runtime/entity/models/AuthenticateModels.js +426 -0
  51. package/dist/runtime/entity/models/AuthenticateRequestModels.js +188 -0
  52. package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
  53. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +0 -1
  54. package/dist/runtime/entity/models/CharacterPlayerModels.js +1433 -0
  55. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1386 -0
  56. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
  57. package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
  58. package/dist/runtime/entity/models/CloudScriptRequestModels.js +138 -0
  59. package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
  60. package/dist/runtime/entity/models/ContentModels.js +203 -0
  61. package/dist/runtime/entity/models/ContentRequestModels.js +190 -0
  62. package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
  63. package/dist/runtime/entity/models/DashboardModels.d.ts +7 -7
  64. package/dist/runtime/entity/models/DashboardModels.js +3002 -0
  65. package/dist/runtime/entity/models/DashboardRequestModels.js +268 -0
  66. package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
  67. package/dist/runtime/entity/models/GamePlayerModels.js +1591 -0
  68. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1360 -0
  69. package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
  70. package/dist/runtime/entity/models/GenericModels.js +177 -0
  71. package/dist/runtime/entity/models/GroupModels.d.ts +0 -1
  72. package/dist/runtime/entity/models/GroupModels.js +1135 -0
  73. package/dist/runtime/entity/models/GroupRequestModels.js +1048 -0
  74. package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
  75. package/dist/runtime/entity/models/InventoryModels.js +915 -0
  76. package/dist/runtime/entity/models/InventoryRequestModels.js +892 -0
  77. package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
  78. package/dist/runtime/entity/models/MasterPlayerModels.js +2573 -0
  79. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2228 -0
  80. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
  81. package/dist/runtime/entity/models/MultiplayerModels.d.ts +1 -1
  82. package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
  83. package/dist/runtime/entity/models/MultiplayerRequestModels.js +268 -0
  84. package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
  85. package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
  86. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +372 -0
  87. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
  88. package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
  89. package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
  90. package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
  91. package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
  92. package/dist/runtime/helper/CodeHelper.js +63 -0
  93. package/dist/runtime/helper/ConverterService.js +275 -0
  94. package/dist/runtime/helper/EnumUtility.js +33 -0
  95. package/dist/runtime/helper/GNSupport.js +8 -0
  96. package/dist/runtime/helper/GNUtils.js +72 -0
  97. package/dist/runtime/helper/MessagePackConverterService.js +9 -0
  98. package/dist/runtime/logger/GNDebug.js +29 -0
  99. package/dist/runtime/networking/AuthenticateStatus.js +14 -0
  100. package/dist/runtime/networking/IPeer.js +1 -0
  101. package/dist/runtime/networking/NetworkingPeer.js +178 -0
  102. package/dist/runtime/networking/OperationPending.js +53 -0
  103. package/dist/runtime/networking/PeerBase.js +161 -0
  104. package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
  105. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
  106. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
  107. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
  108. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
  109. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
  110. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +43 -0
  111. package/dist/runtime/networking/http/HttpPeer.js +122 -0
  112. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
  113. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +164 -0
  114. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +130 -0
  115. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +165 -0
  116. package/dist/runtime/networking/socket/SocketPeer.js +115 -0
  117. package/dist/runtime/typescript/ServiceUpdate.js +12 -0
  118. package/package.json +2 -2
  119. package/responseModel/chatgpt/Authenticate.json +724 -0
  120. package/responseModel/chatgpt/CharacterPlayer.json +1890 -0
  121. package/responseModel/chatgpt/CloudScript.json +254 -0
  122. package/responseModel/chatgpt/Content.json +273 -0
  123. package/responseModel/chatgpt/Dashboard.json +4110 -0
  124. package/responseModel/chatgpt/GamePlayer.json +2306 -0
  125. package/responseModel/chatgpt/Generic.json +253 -0
  126. package/responseModel/chatgpt/Group.json +1509 -0
  127. package/responseModel/chatgpt/Inventory.json +1211 -0
  128. package/responseModel/chatgpt/MasterPlayer.json +3801 -0
  129. package/responseModel/chatgpt/Multiplayer.json +634 -0
  130. package/responseModel/chatgpt/StoreInventory.json +1099 -0
  131. package/responseModel/clients/AuthenticateModels.json +271 -0
  132. package/responseModel/clients/CharacterPlayerModels.json +792 -0
  133. package/responseModel/clients/CloudScriptModels.json +191 -0
  134. package/responseModel/clients/ContentModels.json +178 -0
  135. package/responseModel/clients/DashboardModels.json +5423 -0
  136. package/responseModel/clients/GamePlayerModels.json +781 -0
  137. package/responseModel/clients/GenericModels.json +344 -0
  138. package/responseModel/clients/GroupModels.json +705 -0
  139. package/responseModel/clients/InventoryModels.json +568 -0
  140. package/responseModel/clients/MasterPlayerModels.json +1281 -0
  141. package/responseModel/clients/MultiplayerModels.json +439 -0
  142. package/responseModel/clients/StoreInventoryModels.json +971 -0
  143. package/responseModel/finalChatgpt/Authenticate.json +1475 -0
  144. package/responseModel/finalChatgpt/CharacterPlayer.json +4104 -0
  145. package/responseModel/finalChatgpt/CloudScript.json +515 -0
  146. package/responseModel/finalChatgpt/Content.json +536 -0
  147. package/responseModel/finalChatgpt/Dashboard.json +6712 -0
  148. package/responseModel/finalChatgpt/GamePlayer.json +5142 -0
  149. package/responseModel/finalChatgpt/Generic.json +333 -0
  150. package/responseModel/finalChatgpt/Group.json +3232 -0
  151. package/responseModel/finalChatgpt/Inventory.json +2606 -0
  152. package/responseModel/finalChatgpt/MasterPlayer.json +8385 -0
  153. package/responseModel/finalChatgpt/Multiplayer.json +1196 -0
  154. package/responseModel/finalChatgpt/StoreInventory.json +2085 -0
  155. package/responseModel/finals/Authenticate.json +1460 -0
  156. package/responseModel/finals/CharacterPlayer.json +3639 -0
  157. package/responseModel/finals/CloudScript.json +465 -0
  158. package/responseModel/finals/Content.json +479 -0
  159. package/responseModel/finals/Dashboard.json +6718 -0
  160. package/responseModel/finals/GamePlayer.json +4291 -0
  161. package/responseModel/finals/Generic.json +345 -0
  162. package/responseModel/finals/Group.json +2885 -0
  163. package/responseModel/finals/Inventory.json +2309 -0
  164. package/responseModel/finals/MasterPlayer.json +7018 -0
  165. package/responseModel/finals/Multiplayer.json +1082 -0
  166. package/responseModel/finals/StoreInventory.json +1979 -0
  167. package/responseModel/finalsShort/Authenticate.json +723 -0
  168. package/responseModel/finalsShort/CharacterPlayer.json +1889 -0
  169. package/responseModel/finalsShort/CloudScript.json +253 -0
  170. package/responseModel/finalsShort/Content.json +272 -0
  171. package/responseModel/finalsShort/Dashboard.json +4109 -0
  172. package/responseModel/finalsShort/GamePlayer.json +2305 -0
  173. package/responseModel/finalsShort/Generic.json +252 -0
  174. package/responseModel/finalsShort/Group.json +1508 -0
  175. package/responseModel/finalsShort/Inventory.json +1210 -0
  176. package/responseModel/finalsShort/MasterPlayer.json +3800 -0
  177. package/responseModel/finalsShort/Multiplayer.json +633 -0
  178. package/responseModel/finalsShort/StoreInventory.json +1098 -0
  179. package/responseModel/operationResponse/AuthenticateResponseModels.json +77 -0
  180. package/responseModel/operationResponse/CharacterPlayerResponseModels.json +217 -0
  181. package/responseModel/operationResponse/CloudScriptResponseModels.json +25 -0
  182. package/responseModel/operationResponse/ContentResponseModels.json +33 -0
  183. package/responseModel/operationResponse/DashboardResponseModels.json +109 -0
  184. package/responseModel/operationResponse/GamePlayerResponseModels.json +213 -0
  185. package/responseModel/operationResponse/GroupResponseModels.json +165 -0
  186. package/responseModel/operationResponse/InventoryResponseModels.json +141 -0
  187. package/responseModel/operationResponse/MasterPlayerResponseModels.json +349 -0
  188. package/responseModel/operationResponse/MultiplayerResponseModels.json +45 -0
  189. package/responseModel/operationResponse/StoreInventoryResponseModels.json +61 -0
  190. package/responseModel/servers/Authenticate.json +1328 -0
  191. package/responseModel/servers/CharacterPlayer.json +3199 -0
  192. package/responseModel/servers/CloudScript.json +278 -0
  193. package/responseModel/servers/Content.json +324 -0
  194. package/responseModel/servers/GamePlayer.json +3844 -0
  195. package/responseModel/servers/Group.json +2454 -0
  196. package/responseModel/servers/Inventory.json +1964 -0
  197. package/responseModel/servers/MasterAdmin.json +5569 -0
  198. package/responseModel/servers/MasterPlayer.json +5924 -0
  199. package/responseModel/servers/Multiplayer.json +545 -0
  200. package/responseModel/servers/StoreInventory.json +1290 -0
  201. package/dist/gearn.js.client.js +0 -46892
  202. package/dist/gearn.js.client.min.js +0 -2
  203. package/dist/gearn.js.client.min.js.LICENSE.txt +0 -14
@@ -0,0 +1,1082 @@
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
+ }