@xmobitea/gn-typescript-client 2.6.13 → 2.6.14

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 (286) hide show
  1. package/AGENTS.md +37 -0
  2. package/README.MD +420 -1
  3. package/dist/gearn.js.client.js +25056 -1056
  4. package/dist/gearn.js.client.min.js +1 -1
  5. package/dist/index.d.ts +30 -0
  6. package/dist/index.js +24236 -212
  7. package/dist/runtime/GNNetwork.d.ts +687 -3
  8. package/dist/runtime/GNNetworkAuthenticateApi.d.ts +327 -0
  9. package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +1026 -0
  10. package/dist/runtime/GNNetworkCloudScriptApi.d.ts +141 -0
  11. package/dist/runtime/GNNetworkContentApi.d.ts +243 -0
  12. package/dist/runtime/GNNetworkDashboardApi.d.ts +221 -0
  13. package/dist/runtime/GNNetworkGamePlayerApi.d.ts +1033 -0
  14. package/dist/runtime/GNNetworkGroupApi.d.ts +783 -0
  15. package/dist/runtime/GNNetworkInventoryApi.d.ts +673 -0
  16. package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +1614 -6
  17. package/dist/runtime/GNNetworkMultiplayerApi.d.ts +234 -0
  18. package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +309 -0
  19. package/dist/runtime/common/Action0.d.ts +30 -0
  20. package/dist/runtime/common/Action1.d.ts +32 -0
  21. package/dist/runtime/common/Action2.d.ts +21 -0
  22. package/dist/runtime/common/Action3.d.ts +16 -0
  23. package/dist/runtime/common/Action4.d.ts +17 -0
  24. package/dist/runtime/common/GNData.d.ts +368 -0
  25. package/dist/runtime/config/GNServerSettings.d.ts +442 -12
  26. package/dist/runtime/constant/Commands.d.ts +80 -0
  27. package/dist/runtime/constant/EventCode.d.ts +48 -0
  28. package/dist/runtime/constant/OperationCode.d.ts +74 -1
  29. package/dist/runtime/constant/ReturnCode.d.ts +72 -0
  30. package/dist/runtime/constant/enumType/ExecuteResponseStatus.d.ts +31 -0
  31. package/dist/runtime/constant/enumType/FriendStatus.d.ts +39 -0
  32. package/dist/runtime/constant/enumType/GoogleLoginType.d.ts +23 -0
  33. package/dist/runtime/constant/enumType/GroupStatus.d.ts +32 -0
  34. package/dist/runtime/constant/enumType/InvalidMemberType.d.ts +75 -0
  35. package/dist/runtime/constant/enumType/ItemType.d.ts +23 -0
  36. package/dist/runtime/constant/enumType/MatchStatus.d.ts +30 -0
  37. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.d.ts +24 -0
  38. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.d.ts +34 -0
  39. package/dist/runtime/constant/enumType/OwnerType.d.ts +40 -0
  40. package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +22 -0
  41. package/dist/runtime/constant/enumType/PushPlatformType.d.ts +18 -0
  42. package/dist/runtime/constant/enumType/RequestRole.d.ts +32 -0
  43. package/dist/runtime/constant/enumType/RequestType.d.ts +70 -0
  44. package/dist/runtime/constant/enumType/StoreItemType.d.ts +21 -0
  45. package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +30 -0
  46. package/dist/runtime/constant/errorCode/ErrorCode.d.ts +190 -8
  47. package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +35 -5
  48. package/dist/runtime/entity/DataMember.d.ts +338 -0
  49. package/dist/runtime/entity/GNMetadata.d.ts +101 -0
  50. package/dist/runtime/entity/InvalidMember.d.ts +28 -0
  51. package/dist/runtime/entity/OperationEvent.d.ts +49 -0
  52. package/dist/runtime/entity/OperationRequest.d.ts +108 -0
  53. package/dist/runtime/entity/OperationResponse.d.ts +110 -0
  54. package/dist/runtime/entity/models/AuthenticateModels.d.ts +115 -0
  55. package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +131 -0
  56. package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +131 -0
  57. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +625 -1
  58. package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +972 -0
  59. package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +332 -0
  60. package/dist/runtime/entity/models/CloudScriptModels.d.ts +109 -0
  61. package/dist/runtime/entity/models/CloudScriptRequestModels.d.ts +107 -0
  62. package/dist/runtime/entity/models/CloudScriptResponseModels.d.ts +46 -0
  63. package/dist/runtime/entity/models/ContentModels.d.ts +124 -0
  64. package/dist/runtime/entity/models/ContentRequestModels.d.ts +152 -0
  65. package/dist/runtime/entity/models/ContentResponseModels.d.ts +58 -0
  66. package/dist/runtime/entity/models/DashboardModels.d.ts +371 -8
  67. package/dist/runtime/entity/models/DashboardRequestModels.d.ts +172 -0
  68. package/dist/runtime/entity/models/DashboardResponseModels.d.ts +170 -0
  69. package/dist/runtime/entity/models/GamePlayerModels.d.ts +644 -1
  70. package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +959 -0
  71. package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +333 -1
  72. package/dist/runtime/entity/models/GenericModels.d.ts +94 -0
  73. package/dist/runtime/entity/models/GroupModels.d.ts +484 -2
  74. package/dist/runtime/entity/models/GroupRequestModels.d.ts +737 -0
  75. package/dist/runtime/entity/models/GroupResponseModels.d.ts +254 -0
  76. package/dist/runtime/entity/models/InventoryModels.d.ts +415 -0
  77. package/dist/runtime/entity/models/InventoryRequestModels.d.ts +629 -0
  78. package/dist/runtime/entity/models/InventoryResponseModels.d.ts +218 -0
  79. package/dist/runtime/entity/models/MasterPlayerModels.d.ts +1065 -3
  80. package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1560 -6
  81. package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +532 -1
  82. package/dist/runtime/entity/models/MultiplayerModels.d.ts +199 -0
  83. package/dist/runtime/entity/models/MultiplayerRequestModels.d.ts +196 -0
  84. package/dist/runtime/entity/models/MultiplayerResponseModels.d.ts +74 -0
  85. package/dist/runtime/entity/models/StoreInventoryModels.d.ts +262 -0
  86. package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +268 -0
  87. package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +98 -0
  88. package/dist/runtime/entity/request/CustomOperationRequest.d.ts +99 -0
  89. package/dist/runtime/entity/response/CustomOperationResponse.d.ts +118 -0
  90. package/dist/runtime/entity/response/GetAuthInfoResponse.d.ts +53 -0
  91. package/dist/runtime/entity/response/HealthCheckResponse.d.ts +56 -0
  92. package/dist/runtime/entity/response/UploadFileResponse.d.ts +19 -0
  93. package/dist/runtime/helper/CodeHelper.d.ts +122 -0
  94. package/dist/runtime/helper/ConverterService.d.ts +74 -0
  95. package/dist/runtime/helper/EnumUtility.d.ts +63 -0
  96. package/dist/runtime/helper/GNSupport.d.ts +64 -4
  97. package/dist/runtime/helper/GNUtils.d.ts +54 -0
  98. package/dist/runtime/helper/MessagePackConverterService.d.ts +48 -0
  99. package/dist/runtime/helper/OperationHelper.d.ts +51 -0
  100. package/dist/runtime/helper/StorageService.d.ts +48 -8
  101. package/dist/runtime/logger/GNDebug.d.ts +117 -0
  102. package/dist/runtime/networking/AuthenticateStatus.d.ts +64 -0
  103. package/dist/runtime/networking/IPeer.d.ts +83 -0
  104. package/dist/runtime/networking/NetworkingPeer.d.ts +256 -1
  105. package/dist/runtime/networking/OperationPending.d.ts +112 -0
  106. package/dist/runtime/networking/PeerBase.d.ts +231 -0
  107. package/dist/runtime/networking/handler/IServerEventHandler.d.ts +84 -0
  108. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +69 -0
  109. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +49 -0
  110. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +50 -0
  111. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +41 -0
  112. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +47 -0
  113. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +46 -0
  114. package/dist/runtime/networking/http/HttpPeer.d.ts +173 -0
  115. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +87 -0
  116. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +113 -0
  117. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +145 -0
  118. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +198 -0
  119. package/dist/runtime/networking/socket/SocketPeer.d.ts +155 -0
  120. package/dist/runtime/typescript/ServiceUpdate.d.ts +46 -0
  121. package/docs/AI_CHEATSHEET.md +211 -0
  122. package/docs/COOKBOOK.md +912 -0
  123. package/docs/RULES.md +307 -0
  124. package/docs/ai-manifest.json +725 -0
  125. package/docs/guides/AUTHENTICATE.md +246 -0
  126. package/docs/guides/CHARACTER_PLAYER.md +439 -0
  127. package/docs/guides/CLOUDSCRIPT.md +335 -0
  128. package/docs/guides/COCOS_CREATOR_INTEGRATION.md +150 -0
  129. package/docs/guides/CONTENT.md +291 -0
  130. package/docs/guides/DASHBOARD.md +262 -0
  131. package/docs/guides/GAME_PLAYER.md +473 -0
  132. package/docs/guides/GROUP.md +412 -0
  133. package/docs/guides/INVENTORY.md +375 -0
  134. package/docs/guides/MASTER_PLAYER.md +458 -0
  135. package/docs/guides/MULTIPLAYER.md +303 -0
  136. package/docs/guides/STORE_INVENTORY.md +313 -0
  137. package/docs/llms-full.txt +43 -0
  138. package/docs/reference/API_AUTHENTICATE.md +75 -0
  139. package/docs/reference/API_CHARACTER_PLAYER.md +226 -0
  140. package/docs/reference/API_CLOUDSCRIPT.md +82 -0
  141. package/docs/reference/API_CONTENT.md +88 -0
  142. package/docs/reference/API_DASHBOARD.md +82 -0
  143. package/docs/reference/API_GAME_PLAYER.md +223 -0
  144. package/docs/reference/API_GROUP.md +187 -0
  145. package/docs/reference/API_INDEX.md +57 -0
  146. package/docs/reference/API_INVENTORY.md +169 -0
  147. package/docs/reference/API_MASTER_PLAYER.md +323 -0
  148. package/docs/reference/API_MULTIPLAYER.md +97 -0
  149. package/docs/reference/API_STORE_INVENTORY.md +109 -0
  150. package/docs/reference/CONFIG.md +107 -0
  151. package/docs/reference/DTO_INDEX.md +2543 -0
  152. package/docs/reference/ENUMS.md +433 -0
  153. package/docs/reference/ERROR_HANDLING.md +159 -0
  154. package/docs/reference/EVENTS.md +188 -0
  155. package/docs/reference/PERMISSION_RULES.md +55 -0
  156. package/docs/reference/dto/AUTHENTICATE.md +619 -0
  157. package/docs/reference/dto/CHARACTER_PLAYER.md +3686 -0
  158. package/docs/reference/dto/CLOUDSCRIPT.md +400 -0
  159. package/docs/reference/dto/CONTENT.md +548 -0
  160. package/docs/reference/dto/DASHBOARD.md +1980 -0
  161. package/docs/reference/dto/GAME_PLAYER.md +3631 -0
  162. package/docs/reference/dto/GENERIC.md +151 -0
  163. package/docs/reference/dto/GROUP.md +2842 -0
  164. package/docs/reference/dto/INVENTORY.md +2385 -0
  165. package/docs/reference/dto/MASTER_PLAYER.md +6024 -0
  166. package/docs/reference/dto/MULTIPLAYER.md +850 -0
  167. package/docs/reference/dto/STORE_INVENTORY.md +1262 -0
  168. package/llms.txt +47 -0
  169. package/package.json +12 -3
  170. package/GNServerSettings.debug.json +0 -21
  171. package/docs/COCOS_CREATOR_INTEGRATION.md +0 -116
  172. package/examples/cocos-creator/GearNExample.ts.txt +0 -176
  173. package/srcSwift/Package.swift +0 -32
  174. package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +0 -530
  175. package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +0 -178
  176. package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +0 -1162
  177. package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +0 -154
  178. package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +0 -208
  179. package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +0 -240
  180. package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +0 -1369
  181. package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +0 -1100
  182. package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +0 -937
  183. package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +0 -2323
  184. package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +0 -298
  185. package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +0 -397
  186. package/srcSwift/Sources/GearN/runtime/common/Action0.swift +0 -3
  187. package/srcSwift/Sources/GearN/runtime/common/Action1.swift +0 -3
  188. package/srcSwift/Sources/GearN/runtime/common/Action2.swift +0 -3
  189. package/srcSwift/Sources/GearN/runtime/common/Action3.swift +0 -3
  190. package/srcSwift/Sources/GearN/runtime/common/Action4.swift +0 -3
  191. package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +0 -204
  192. package/srcSwift/Sources/GearN/runtime/common/GNData.swift +0 -108
  193. package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +0 -200
  194. package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +0 -95
  195. package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +0 -28
  196. package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +0 -10
  197. package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +0 -252
  198. package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +0 -19
  199. package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +0 -9
  200. package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +0 -8
  201. package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +0 -6
  202. package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +0 -8
  203. package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +0 -19
  204. package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +0 -6
  205. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +0 -7
  206. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +0 -9
  207. package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +0 -10
  208. package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +0 -6
  209. package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +0 -6
  210. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +0 -7
  211. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +0 -16
  212. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +0 -6
  213. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +0 -9
  214. package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +0 -58
  215. package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +0 -672
  216. package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +0 -196
  217. package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +0 -9
  218. package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +0 -11
  219. package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +0 -38
  220. package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +0 -28
  221. package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +0 -62
  222. package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +0 -98
  223. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +0 -351
  224. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +0 -81
  225. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +0 -108
  226. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +0 -1045
  227. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +0 -821
  228. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +0 -588
  229. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +0 -187
  230. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +0 -84
  231. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +0 -59
  232. package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +0 -195
  233. package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +0 -116
  234. package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +0 -81
  235. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +0 -426
  236. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +0 -160
  237. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +0 -82
  238. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +0 -1334
  239. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +0 -643
  240. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +0 -213
  241. package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +0 -171
  242. package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +0 -850
  243. package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +0 -485
  244. package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +0 -165
  245. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +0 -679
  246. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +0 -413
  247. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +0 -141
  248. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +0 -378
  249. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +0 -147
  250. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +0 -318
  251. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +0 -319
  252. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +0 -125
  253. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +0 -45
  254. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +0 -633
  255. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +0 -173
  256. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +0 -61
  257. package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +0 -42
  258. package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +0 -49
  259. package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +0 -43
  260. package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +0 -86
  261. package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +0 -15
  262. package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +0 -107
  263. package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +0 -98
  264. package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +0 -34
  265. package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +0 -41
  266. package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +0 -66
  267. package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +0 -21
  268. package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +0 -29
  269. package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +0 -33
  270. package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +0 -24
  271. package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +0 -8
  272. package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +0 -368
  273. package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +0 -81
  274. package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +0 -228
  275. package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +0 -20
  276. package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +0 -226
  277. package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +0 -24
  278. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +0 -13
  279. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +0 -125
  280. package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +0 -19
  281. package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +0 -13
  282. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +0 -244
  283. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +0 -59
  284. package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +0 -136
  285. package/tsconfig-build.cocos.json +0 -31
  286. package/webpack.config.cocos.mjs +0 -78
@@ -0,0 +1,850 @@
1
+ # DTO Reference: Multiplayer
2
+
3
+ Matchmaking ticket lifecycle, queue statistics, match query.
4
+
5
+ Related API reference: [API_MULTIPLAYER.md](../API_MULTIPLAYER.md).
6
+
7
+ Mỗi section bên dưới là 1 class DTO trong namespace `<Models>`. Field table cho biết: tên field, TS type, có `required` hay không (suy từ decorator `mustNonNull` / `isOptional` / dấu `?` trong declaration), doc comment, và ràng buộc length/range/default nếu có.
8
+
9
+ > **Cách dùng**: khi gọi `*Async()`, bạn truyền object literal matching các field required (+ optional nếu cần). SDK sẽ serialize field dựa trên decorator `@<Type>DataMember({ code })`. Response class expose `responseData` là instance của class `*ResponseData` tương ứng, đọc theo field name dưới đây.
10
+
11
+ ## Danh sách
12
+
13
+ - **MultiplayerModels** (from `MultiplayerModels.ts`)
14
+ - [CancelAllMatchmakingTicketRequestData](#cancelallmatchmakingticketrequestdata)
15
+ - [ServerCancelAllMatchmakingTicketRequestData](#servercancelallmatchmakingticketrequestdata)
16
+ - [AdminCancelAllMatchmakingTicketRequestData](#admincancelallmatchmakingticketrequestdata)
17
+ - [CancelMatchmakingTicketRequestData](#cancelmatchmakingticketrequestdata)
18
+ - [ServerCancelMatchmakingTicketRequestData](#servercancelmatchmakingticketrequestdata)
19
+ - [AdminCancelMatchmakingTicketRequestData](#admincancelmatchmakingticketrequestdata)
20
+ - [CreateMatchmakingTicketRequestData](#creatematchmakingticketrequestdata)
21
+ - [ServerCreateMatchmakingTicketRequestData](#servercreatematchmakingticketrequestdata)
22
+ - [AdminCreateMatchmakingTicketRequestData](#admincreatematchmakingticketrequestdata)
23
+ - [GetMatchmakingTicketRequestData](#getmatchmakingticketrequestdata)
24
+ - [ServerGetMatchmakingTicketRequestData](#servergetmatchmakingticketrequestdata)
25
+ - [AdminGetMatchmakingTicketRequestData](#admingetmatchmakingticketrequestdata)
26
+ - [GetMatchRequestData](#getmatchrequestdata)
27
+ - [ServerGetMatchRequestData](#servergetmatchrequestdata)
28
+ - [AdminGetMatchRequestData](#admingetmatchrequestdata)
29
+ - [GetAllMatchRequestData](#getallmatchrequestdata)
30
+ - [ServerGetAllMatchRequestData](#servergetallmatchrequestdata)
31
+ - [AdminGetAllMatchRequestData](#admingetallmatchrequestdata)
32
+ - [GetAllMatchmakingTicketRequestData](#getallmatchmakingticketrequestdata)
33
+ - [ServerGetAllMatchmakingTicketRequestData](#servergetallmatchmakingticketrequestdata)
34
+ - [AdminGetAllMatchmakingTicketRequestData](#admingetallmatchmakingticketrequestdata)
35
+ - [GetQueueStatisticsRequestData](#getqueuestatisticsrequestdata)
36
+ - [ServerGetQueueStatisticsRequestData](#servergetqueuestatisticsrequestdata)
37
+ - [AdminGetQueueStatisticsRequestData](#admingetqueuestatisticsrequestdata)
38
+ - [JoinMatchmakingTicketRequestData](#joinmatchmakingticketrequestdata)
39
+ - [ServerJoinMatchmakingTicketRequestData](#serverjoinmatchmakingticketrequestdata)
40
+ - [AdminJoinMatchmakingTicketRequestData](#adminjoinmatchmakingticketrequestdata)
41
+ - [ListMatchmakingTicketsForPlayerRequestData](#listmatchmakingticketsforplayerrequestdata)
42
+ - [ServerListMatchmakingTicketsForPlayerRequestData](#serverlistmatchmakingticketsforplayerrequestdata)
43
+ - [AdminListMatchmakingTicketsForPlayerRequestData](#adminlistmatchmakingticketsforplayerrequestdata)
44
+ - [CancelAllMatchmakingTicketResponseData](#cancelallmatchmakingticketresponsedata)
45
+ - [CreateMatchmakingTicketResponseData](#creatematchmakingticketresponsedata)
46
+ - [MatchmakingTicketMember](#matchmakingticketmember)
47
+ - [MatchmakingTicketResponseData](#matchmakingticketresponsedata)
48
+ - [MatchmakingTicketWithTicketIdResponseData](#matchmakingticketwithticketidresponsedata)
49
+ - [GetMatchmakingTicketResponseData](#getmatchmakingticketresponsedata)
50
+ - [MatchMember](#matchmember)
51
+ - [PortInfo](#portinfo)
52
+ - [ServerDetail](#serverdetail)
53
+ - [MatchResponseData](#matchresponsedata)
54
+ - [MatchWithMatchIdResponseData](#matchwithmatchidresponsedata)
55
+ - [GetMatchResponseData](#getmatchresponsedata)
56
+ - [GetQueueStatisticsResponseData](#getqueuestatisticsresponsedata)
57
+ - [ListMatchmakingTicketsForPlayerResponseData](#listmatchmakingticketsforplayerresponsedata)
58
+ - [GetAllMatchResponseData](#getallmatchresponsedata)
59
+ - [GetAllMatchmakingTicketResponseData](#getallmatchmakingticketresponsedata)
60
+ - [EmptyResponseData](#emptyresponsedata)
61
+ - **MultiplayerRequestModels** (from `MultiplayerRequestModels.ts`)
62
+ - [CancelAllMatchmakingTicketOperationRequest](#cancelallmatchmakingticketoperationrequest)
63
+ - [ServerCancelAllMatchmakingTicketOperationRequest](#servercancelallmatchmakingticketoperationrequest)
64
+ - [AdminCancelAllMatchmakingTicketOperationRequest](#admincancelallmatchmakingticketoperationrequest)
65
+ - [CancelMatchmakingTicketOperationRequest](#cancelmatchmakingticketoperationrequest)
66
+ - [ServerCancelMatchmakingTicketOperationRequest](#servercancelmatchmakingticketoperationrequest)
67
+ - [AdminCancelMatchmakingTicketOperationRequest](#admincancelmatchmakingticketoperationrequest)
68
+ - [CreateMatchmakingTicketOperationRequest](#creatematchmakingticketoperationrequest)
69
+ - [ServerCreateMatchmakingTicketOperationRequest](#servercreatematchmakingticketoperationrequest)
70
+ - [AdminCreateMatchmakingTicketOperationRequest](#admincreatematchmakingticketoperationrequest)
71
+ - [GetMatchmakingTicketOperationRequest](#getmatchmakingticketoperationrequest)
72
+ - [ServerGetMatchmakingTicketOperationRequest](#servergetmatchmakingticketoperationrequest)
73
+ - [AdminGetMatchmakingTicketOperationRequest](#admingetmatchmakingticketoperationrequest)
74
+ - [GetMatchOperationRequest](#getmatchoperationrequest)
75
+ - [ServerGetMatchOperationRequest](#servergetmatchoperationrequest)
76
+ - [AdminGetMatchOperationRequest](#admingetmatchoperationrequest)
77
+ - [GetQueueStatisticsOperationRequest](#getqueuestatisticsoperationrequest)
78
+ - [ServerGetQueueStatisticsOperationRequest](#servergetqueuestatisticsoperationrequest)
79
+ - [AdminGetQueueStatisticsOperationRequest](#admingetqueuestatisticsoperationrequest)
80
+ - [JoinMatchmakingTicketOperationRequest](#joinmatchmakingticketoperationrequest)
81
+ - [ServerJoinMatchmakingTicketOperationRequest](#serverjoinmatchmakingticketoperationrequest)
82
+ - [AdminJoinMatchmakingTicketOperationRequest](#adminjoinmatchmakingticketoperationrequest)
83
+ - [ListMatchmakingTicketsForPlayerOperationRequest](#listmatchmakingticketsforplayeroperationrequest)
84
+ - [ServerListMatchmakingTicketsForPlayerOperationRequest](#serverlistmatchmakingticketsforplayeroperationrequest)
85
+ - [AdminListMatchmakingTicketsForPlayerOperationRequest](#adminlistmatchmakingticketsforplayeroperationrequest)
86
+ - [GetAllMatchOperationRequest](#getallmatchoperationrequest)
87
+ - [ServerGetAllMatchOperationRequest](#servergetallmatchoperationrequest)
88
+ - [AdminGetAllMatchOperationRequest](#admingetallmatchoperationrequest)
89
+ - [GetAllMatchmakingTicketOperationRequest](#getallmatchmakingticketoperationrequest)
90
+ - [ServerGetAllMatchmakingTicketOperationRequest](#servergetallmatchmakingticketoperationrequest)
91
+ - [AdminGetAllMatchmakingTicketOperationRequest](#admingetallmatchmakingticketoperationrequest)
92
+ - **MultiplayerResponseModels** (from `MultiplayerResponseModels.ts`)
93
+ - [CancelAllMatchmakingTicketOperationResponse](#cancelallmatchmakingticketoperationresponse)
94
+ - [CancelMatchmakingTicketOperationResponse](#cancelmatchmakingticketoperationresponse)
95
+ - [CreateMatchmakingTicketOperationResponse](#creatematchmakingticketoperationresponse)
96
+ - [GetMatchmakingTicketOperationResponse](#getmatchmakingticketoperationresponse)
97
+ - [GetMatchOperationResponse](#getmatchoperationresponse)
98
+ - [GetQueueStatisticsOperationResponse](#getqueuestatisticsoperationresponse)
99
+ - [JoinMatchmakingTicketOperationResponse](#joinmatchmakingticketoperationresponse)
100
+ - [ListMatchmakingTicketsForPlayerOperationResponse](#listmatchmakingticketsforplayeroperationresponse)
101
+ - [GetAllMatchOperationResponse](#getallmatchoperationresponse)
102
+ - [GetAllMatchmakingTicketOperationResponse](#getallmatchmakingticketoperationresponse)
103
+
104
+ ---
105
+
106
+ ## Namespace `MultiplayerModels`
107
+
108
+ ### CancelAllMatchmakingTicketRequestData
109
+
110
+ Defines the request payload for CancelAllMatchmakingTicket.
111
+
112
+ | Field | Type | Required | Notes |
113
+ |-------|------|----------|-------|
114
+ | `queueName` | `string` | yes | _minLength=6, maxLength=32_ |
115
+
116
+ ### ServerCancelAllMatchmakingTicketRequestData
117
+
118
+ Extends: `CancelAllMatchmakingTicketRequestData`
119
+
120
+ Defines the request payload for ServerCancelAllMatchmakingTicket.
121
+
122
+ | Field | Type | Required | Notes |
123
+ |-------|------|----------|-------|
124
+ | `userId` | `string` | yes | _minLength=10, maxLength=10_ |
125
+
126
+ ### AdminCancelAllMatchmakingTicketRequestData
127
+
128
+ Extends: `ServerCancelAllMatchmakingTicketRequestData`
129
+
130
+ Defines the request payload for AdminCancelAllMatchmakingTicket.
131
+
132
+ _Không có field public (payload rỗng)._
133
+
134
+ ### CancelMatchmakingTicketRequestData
135
+
136
+ Defines the request payload for CancelMatchmakingTicket.
137
+
138
+ | Field | Type | Required | Notes |
139
+ |-------|------|----------|-------|
140
+ | `ticketId` | `string` | yes | _minLength=10, maxLength=10_ |
141
+
142
+ ### ServerCancelMatchmakingTicketRequestData
143
+
144
+ Extends: `CancelMatchmakingTicketRequestData`
145
+
146
+ Defines the request payload for ServerCancelMatchmakingTicket.
147
+
148
+ | Field | Type | Required | Notes |
149
+ |-------|------|----------|-------|
150
+ | `userId` | `string` | yes | _minLength=10, maxLength=10_ |
151
+
152
+ ### AdminCancelMatchmakingTicketRequestData
153
+
154
+ Extends: `ServerCancelMatchmakingTicketRequestData`
155
+
156
+ Defines the request payload for AdminCancelMatchmakingTicket.
157
+
158
+ _Không có field public (payload rỗng)._
159
+
160
+ ### CreateMatchmakingTicketRequestData
161
+
162
+ Creates a new matchmaking ticket for the current or target player.
163
+
164
+ | Field | Type | Required | Notes |
165
+ |-------|------|----------|-------|
166
+ | `giveUpAfterSeconds` | `number` | yes | Maximum wait time before the ticket gives up. — _min=20_ |
167
+ | `queueName` | `string` | yes | _minLength=6, maxLength=32_ |
168
+ | `attribute` | `GNHashtable` | no | Backend-defined matchmaking attribute payload. |
169
+ | `members` | `Array<string>` | no | Optional extra members joined into the same matchmaking party. — _elementCls=String_ |
170
+
171
+ ### ServerCreateMatchmakingTicketRequestData
172
+
173
+ Extends: `CreateMatchmakingTicketRequestData`
174
+
175
+ Defines the request payload for ServerCreateMatchmakingTicket.
176
+
177
+ | Field | Type | Required | Notes |
178
+ |-------|------|----------|-------|
179
+ | `userId` | `string` | yes | _minLength=10, maxLength=10_ |
180
+
181
+ ### AdminCreateMatchmakingTicketRequestData
182
+
183
+ Extends: `ServerCreateMatchmakingTicketRequestData`
184
+
185
+ Defines the request payload for AdminCreateMatchmakingTicket.
186
+
187
+ _Không có field public (payload rỗng)._
188
+
189
+ ### GetMatchmakingTicketRequestData
190
+
191
+ Polls the current state of one matchmaking ticket.
192
+
193
+ | Field | Type | Required | Notes |
194
+ |-------|------|----------|-------|
195
+ | `ticketId` | `string` | yes | _minLength=10, maxLength=10_ |
196
+ | `returnMember` | `boolean` | no | Requests member details in addition to the ticket summary. — _default=false_ |
197
+
198
+ ### ServerGetMatchmakingTicketRequestData
199
+
200
+ Extends: `GetMatchmakingTicketRequestData`
201
+
202
+ Defines the request payload for ServerGetMatchmakingTicket.
203
+
204
+ _Không có field public (payload rỗng)._
205
+
206
+ ### AdminGetMatchmakingTicketRequestData
207
+
208
+ Extends: `ServerGetMatchmakingTicketRequestData`
209
+
210
+ Defines the request payload for AdminGetMatchmakingTicket.
211
+
212
+ _Không có field public (payload rỗng)._
213
+
214
+ ### GetMatchRequestData
215
+
216
+ Reads a match after matchmaking has produced a `matchId`.
217
+
218
+ | Field | Type | Required | Notes |
219
+ |-------|------|----------|-------|
220
+ | `matchId` | `string` | yes | _minLength=15, maxLength=15_ |
221
+ | `returnMember` | `boolean` | no | Requests member details in addition to the match summary. — _default=false_ |
222
+
223
+ ### ServerGetMatchRequestData
224
+
225
+ Extends: `GetMatchRequestData`
226
+
227
+ Defines the request payload for ServerGetMatch.
228
+
229
+ _Không có field public (payload rỗng)._
230
+
231
+ ### AdminGetMatchRequestData
232
+
233
+ Extends: `ServerGetMatchRequestData`
234
+
235
+ Defines the request payload for AdminGetMatch.
236
+
237
+ _Không có field public (payload rỗng)._
238
+
239
+ ### GetAllMatchRequestData
240
+
241
+ Defines the request payload for GetAllMatch.
242
+
243
+ | Field | Type | Required | Notes |
244
+ |-------|------|----------|-------|
245
+ | `returnMember` | `boolean` | no | _default=false_ |
246
+ | `skip` | `number` | no | _min=0, default=0_ |
247
+ | `limit` | `number` | no | _min=1, max=100, default=10_ |
248
+
249
+ ### ServerGetAllMatchRequestData
250
+
251
+ Extends: `GetAllMatchRequestData`
252
+
253
+ Defines the request payload for ServerGetAllMatch.
254
+
255
+ _Không có field public (payload rỗng)._
256
+
257
+ ### AdminGetAllMatchRequestData
258
+
259
+ Extends: `ServerGetAllMatchRequestData`
260
+
261
+ Defines the request payload for AdminGetAllMatch.
262
+
263
+ _Không có field public (payload rỗng)._
264
+
265
+ ### GetAllMatchmakingTicketRequestData
266
+
267
+ Lists matchmaking tickets with optional status filtering.
268
+
269
+ | Field | Type | Required | Notes |
270
+ |-------|------|----------|-------|
271
+ | `status` | `number` | no | Ticket status filter mapped by the public `MatchmakingTicketStatus` enum. — _min=1, max=5_ |
272
+ | `returnMember` | `boolean` | no | _default=false_ |
273
+ | `skip` | `number` | no | _min=0, default=0_ |
274
+ | `limit` | `number` | no | _min=1, max=100, default=10_ |
275
+
276
+ ### ServerGetAllMatchmakingTicketRequestData
277
+
278
+ Extends: `GetAllMatchmakingTicketRequestData`
279
+
280
+ Defines the request payload for ServerGetAllMatchmakingTicket.
281
+
282
+ _Không có field public (payload rỗng)._
283
+
284
+ ### AdminGetAllMatchmakingTicketRequestData
285
+
286
+ Extends: `ServerGetAllMatchmakingTicketRequestData`
287
+
288
+ Defines the request payload for AdminGetAllMatchmakingTicket.
289
+
290
+ _Không có field public (payload rỗng)._
291
+
292
+ ### GetQueueStatisticsRequestData
293
+
294
+ Defines the request payload for GetQueueStatistics.
295
+
296
+ | Field | Type | Required | Notes |
297
+ |-------|------|----------|-------|
298
+ | `queueName` | `string` | yes | _minLength=6, maxLength=32_ |
299
+ | `timeInSeconds` | `number` | yes | _min=20_ |
300
+
301
+ ### ServerGetQueueStatisticsRequestData
302
+
303
+ Extends: `GetQueueStatisticsRequestData`
304
+
305
+ Defines the request payload for ServerGetQueueStatistics.
306
+
307
+ _Không có field public (payload rỗng)._
308
+
309
+ ### AdminGetQueueStatisticsRequestData
310
+
311
+ Extends: `ServerGetQueueStatisticsRequestData`
312
+
313
+ Defines the request payload for AdminGetQueueStatistics.
314
+
315
+ _Không có field public (payload rỗng)._
316
+
317
+ ### JoinMatchmakingTicketRequestData
318
+
319
+ Defines the request payload for JoinMatchmakingTicket.
320
+
321
+ | Field | Type | Required | Notes |
322
+ |-------|------|----------|-------|
323
+ | `ticketId` | `string` | yes | _minLength=10, maxLength=10_ |
324
+ | `attribute` | `GNHashtable` | no | — |
325
+
326
+ ### ServerJoinMatchmakingTicketRequestData
327
+
328
+ Extends: `JoinMatchmakingTicketRequestData`
329
+
330
+ Defines the request payload for ServerJoinMatchmakingTicket.
331
+
332
+ | Field | Type | Required | Notes |
333
+ |-------|------|----------|-------|
334
+ | `userId` | `string` | yes | _minLength=10, maxLength=10_ |
335
+
336
+ ### AdminJoinMatchmakingTicketRequestData
337
+
338
+ Extends: `ServerJoinMatchmakingTicketRequestData`
339
+
340
+ Defines the request payload for AdminJoinMatchmakingTicket.
341
+
342
+ _Không có field public (payload rỗng)._
343
+
344
+ ### ListMatchmakingTicketsForPlayerRequestData
345
+
346
+ Lists ticket IDs for the current or target player within one queue.
347
+
348
+ | Field | Type | Required | Notes |
349
+ |-------|------|----------|-------|
350
+ | `queueName` | `string` | yes | _minLength=6, maxLength=32_ |
351
+
352
+ ### ServerListMatchmakingTicketsForPlayerRequestData
353
+
354
+ Extends: `ListMatchmakingTicketsForPlayerRequestData`
355
+
356
+ Defines the request payload for ServerListMatchmakingTicketsForPlayer.
357
+
358
+ | Field | Type | Required | Notes |
359
+ |-------|------|----------|-------|
360
+ | `userId` | `string` | yes | _minLength=10, maxLength=10_ |
361
+
362
+ ### AdminListMatchmakingTicketsForPlayerRequestData
363
+
364
+ Extends: `ServerListMatchmakingTicketsForPlayerRequestData`
365
+
366
+ Defines the request payload for AdminListMatchmakingTicketsForPlayer.
367
+
368
+ _Không có field public (payload rỗng)._
369
+
370
+ ### CancelAllMatchmakingTicketResponseData
371
+
372
+ Defines the response payload for CancelAllMatchmakingTicket.
373
+
374
+ | Field | Type | Required | Notes |
375
+ |-------|------|----------|-------|
376
+ | `ticketIds` | `Array<string>` | yes | _elementCls=String_ |
377
+
378
+ ### CreateMatchmakingTicketResponseData
379
+
380
+ Defines the response payload for CreateMatchmakingTicket.
381
+
382
+ | Field | Type | Required | Notes |
383
+ |-------|------|----------|-------|
384
+ | `ticketId` | `string` | yes | — |
385
+
386
+ ### MatchmakingTicketMember
387
+
388
+ Describes one member attached to a matchmaking ticket.
389
+
390
+ | Field | Type | Required | Notes |
391
+ |-------|------|----------|-------|
392
+ | `userId` | `string` | yes | _minLength=10, maxLength=10_ |
393
+ | `status` | `number` | yes | Member status value defined by backend matchmaking semantics. |
394
+ | `attribute` | `GNHashtable` | yes | — |
395
+
396
+ ### MatchmakingTicketResponseData
397
+
398
+ Describes the current state of a matchmaking ticket.
399
+
400
+ | Field | Type | Required | Notes |
401
+ |-------|------|----------|-------|
402
+ | `tsCreate` | `number` | yes | — |
403
+ | `creatorId` | `string` | yes | _minLength=10, maxLength=10_ |
404
+ | `giveUpAfterSeconds` | `number` | yes | — |
405
+ | `queueName` | `string` | yes | _minLength=6, maxLength=32_ |
406
+ | `status` | `number` | yes | Ticket status mapped by the public `MatchmakingTicketStatus` enum. |
407
+ | `matchId` | `string` | no | _minLength=15, maxLength=15_ |
408
+ | `members` | `Array<MatchmakingTicketMember>` | no | _elementCls=MatchmakingTicketMember_ |
409
+
410
+ ### MatchmakingTicketWithTicketIdResponseData
411
+
412
+ Extends: `MatchmakingTicketResponseData`
413
+
414
+ Defines the response payload for MatchmakingTicketWithTicketId.
415
+
416
+ | Field | Type | Required | Notes |
417
+ |-------|------|----------|-------|
418
+ | `ticketId` | `string` | yes | — |
419
+
420
+ ### GetMatchmakingTicketResponseData
421
+
422
+ Defines the response payload for GetMatchmakingTicket.
423
+
424
+ | Field | Type | Required | Notes |
425
+ |-------|------|----------|-------|
426
+ | `matchmakingTicket` | `MatchmakingTicketResponseData` | yes | — |
427
+
428
+ ### MatchMember
429
+
430
+ Describes one member attached to a resolved match.
431
+
432
+ | Field | Type | Required | Notes |
433
+ |-------|------|----------|-------|
434
+ | `userId` | `string` | yes | _minLength=10, maxLength=10_ |
435
+ | `teamId` | `string` | yes | — |
436
+ | `attribute` | `GNHashtable` | yes | — |
437
+
438
+ ### PortInfo
439
+
440
+ Represents PortInfo.
441
+
442
+ | Field | Type | Required | Notes |
443
+ |-------|------|----------|-------|
444
+ | `name` | `string` | yes | — |
445
+ | `publicPort` | `number` | yes | _min=0_ |
446
+ | `privatePort` | `number` | yes | _min=0_ |
447
+ | `protocol` | `number` | yes | _min=1, max=2_ |
448
+
449
+ ### ServerDetail
450
+
451
+ Represents ServerDetail.
452
+
453
+ | Field | Type | Required | Notes |
454
+ |-------|------|----------|-------|
455
+ | `ipV4Address` | `string` | yes | — |
456
+ | `ports` | `Array<PortInfo>` | yes | _elementCls=PortInfo_ |
457
+
458
+ ### MatchResponseData
459
+
460
+ Describes one resolved match. The public contract exposes queue/member data but does not include server endpoint fields here.
461
+
462
+ | Field | Type | Required | Notes |
463
+ |-------|------|----------|-------|
464
+ | `tsCreate` | `number` | yes | — |
465
+ | `queueName` | `string` | yes | _minLength=6, maxLength=32_ |
466
+ | `members` | `Array<MatchMember>` | no | _elementCls=MatchMember_ |
467
+ | `timeToMatchInSeconds` | `number` | yes | — |
468
+
469
+ ### MatchWithMatchIdResponseData
470
+
471
+ Extends: `MatchResponseData`
472
+
473
+ Defines the response payload for MatchWithMatchId.
474
+
475
+ | Field | Type | Required | Notes |
476
+ |-------|------|----------|-------|
477
+ | `matchId` | `string` | yes | — |
478
+
479
+ ### GetMatchResponseData
480
+
481
+ Defines the response payload for GetMatch.
482
+
483
+ | Field | Type | Required | Notes |
484
+ |-------|------|----------|-------|
485
+ | `match` | `MatchResponseData` | yes | — |
486
+
487
+ ### GetQueueStatisticsResponseData
488
+
489
+ Defines the response payload for GetQueueStatistics.
490
+
491
+ | Field | Type | Required | Notes |
492
+ |-------|------|----------|-------|
493
+ | `pendingMemberCount` | `number` | yes | — |
494
+ | `pendingTicketCount` | `number` | yes | — |
495
+ | `averageMatchmakingTimeInSeconds` | `number` | yes | — |
496
+
497
+ ### ListMatchmakingTicketsForPlayerResponseData
498
+
499
+ Defines the response payload for ListMatchmakingTicketsForPlayer.
500
+
501
+ | Field | Type | Required | Notes |
502
+ |-------|------|----------|-------|
503
+ | `ticketIds` | `Array<string>` | yes | _elementCls=String_ |
504
+
505
+ ### GetAllMatchResponseData
506
+
507
+ Defines the response payload for GetAllMatch.
508
+
509
+ | Field | Type | Required | Notes |
510
+ |-------|------|----------|-------|
511
+ | `results` | `Array<MatchWithMatchIdResponseData>` | yes | _elementCls=MatchWithMatchIdResponseData_ |
512
+
513
+ ### GetAllMatchmakingTicketResponseData
514
+
515
+ Defines the response payload for GetAllMatchmakingTicket.
516
+
517
+ | Field | Type | Required | Notes |
518
+ |-------|------|----------|-------|
519
+ | `results` | `Array<MatchmakingTicketWithTicketIdResponseData>` | yes | _elementCls=MatchmakingTicketWithTicketIdResponseData_ |
520
+
521
+ ### EmptyResponseData
522
+
523
+ Defines an intentionally empty response payload.
524
+
525
+ _Không có field public (payload rỗng)._
526
+
527
+ ## Namespace `MultiplayerRequestModels`
528
+
529
+ ### CancelAllMatchmakingTicketOperationRequest
530
+
531
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.CancelAllMatchmakingTicketRequestData>`
532
+
533
+ Maps the CancelAllMatchmakingTicket operation to a typed request wrapper.
534
+
535
+ _Không có field public (payload rỗng)._
536
+
537
+ ### ServerCancelAllMatchmakingTicketOperationRequest
538
+
539
+ Extends: `CancelAllMatchmakingTicketOperationRequest`
540
+
541
+ Maps the ServerCancelAllMatchmakingTicket operation to a typed request wrapper.
542
+
543
+ _Không có field public (payload rỗng)._
544
+
545
+ ### AdminCancelAllMatchmakingTicketOperationRequest
546
+
547
+ Extends: `CancelAllMatchmakingTicketOperationRequest`
548
+
549
+ Maps the AdminCancelAllMatchmakingTicket operation to a typed request wrapper.
550
+
551
+ _Không có field public (payload rỗng)._
552
+
553
+ ### CancelMatchmakingTicketOperationRequest
554
+
555
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.CancelMatchmakingTicketRequestData>`
556
+
557
+ Maps the CancelMatchmakingTicket operation to a typed request wrapper.
558
+
559
+ _Không có field public (payload rỗng)._
560
+
561
+ ### ServerCancelMatchmakingTicketOperationRequest
562
+
563
+ Extends: `CancelMatchmakingTicketOperationRequest`
564
+
565
+ Maps the ServerCancelMatchmakingTicket operation to a typed request wrapper.
566
+
567
+ _Không có field public (payload rỗng)._
568
+
569
+ ### AdminCancelMatchmakingTicketOperationRequest
570
+
571
+ Extends: `CancelMatchmakingTicketOperationRequest`
572
+
573
+ Maps the AdminCancelMatchmakingTicket operation to a typed request wrapper.
574
+
575
+ _Không có field public (payload rỗng)._
576
+
577
+ ### CreateMatchmakingTicketOperationRequest
578
+
579
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.CreateMatchmakingTicketRequestData>`
580
+
581
+ Maps the CreateMatchmakingTicket operation to a typed request wrapper.
582
+
583
+ _Không có field public (payload rỗng)._
584
+
585
+ ### ServerCreateMatchmakingTicketOperationRequest
586
+
587
+ Extends: `CreateMatchmakingTicketOperationRequest`
588
+
589
+ Maps the ServerCreateMatchmakingTicket operation to a typed request wrapper.
590
+
591
+ _Không có field public (payload rỗng)._
592
+
593
+ ### AdminCreateMatchmakingTicketOperationRequest
594
+
595
+ Extends: `CreateMatchmakingTicketOperationRequest`
596
+
597
+ Maps the AdminCreateMatchmakingTicket operation to a typed request wrapper.
598
+
599
+ _Không có field public (payload rỗng)._
600
+
601
+ ### GetMatchmakingTicketOperationRequest
602
+
603
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.GetMatchmakingTicketRequestData>`
604
+
605
+ Maps the GetMatchmakingTicket operation to a typed request wrapper.
606
+
607
+ _Không có field public (payload rỗng)._
608
+
609
+ ### ServerGetMatchmakingTicketOperationRequest
610
+
611
+ Extends: `GetMatchmakingTicketOperationRequest`
612
+
613
+ Maps the ServerGetMatchmakingTicket operation to a typed request wrapper.
614
+
615
+ _Không có field public (payload rỗng)._
616
+
617
+ ### AdminGetMatchmakingTicketOperationRequest
618
+
619
+ Extends: `GetMatchmakingTicketOperationRequest`
620
+
621
+ Maps the AdminGetMatchmakingTicket operation to a typed request wrapper.
622
+
623
+ _Không có field public (payload rỗng)._
624
+
625
+ ### GetMatchOperationRequest
626
+
627
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.GetMatchRequestData>`
628
+
629
+ Maps the GetMatch operation to a typed request wrapper.
630
+
631
+ _Không có field public (payload rỗng)._
632
+
633
+ ### ServerGetMatchOperationRequest
634
+
635
+ Extends: `GetMatchOperationRequest`
636
+
637
+ Maps the ServerGetMatch operation to a typed request wrapper.
638
+
639
+ _Không có field public (payload rỗng)._
640
+
641
+ ### AdminGetMatchOperationRequest
642
+
643
+ Extends: `GetMatchOperationRequest`
644
+
645
+ Maps the AdminGetMatch operation to a typed request wrapper.
646
+
647
+ _Không có field public (payload rỗng)._
648
+
649
+ ### GetQueueStatisticsOperationRequest
650
+
651
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.GetQueueStatisticsRequestData>`
652
+
653
+ Maps the GetQueueStatistics operation to a typed request wrapper.
654
+
655
+ _Không có field public (payload rỗng)._
656
+
657
+ ### ServerGetQueueStatisticsOperationRequest
658
+
659
+ Extends: `GetQueueStatisticsOperationRequest`
660
+
661
+ Maps the ServerGetQueueStatistics operation to a typed request wrapper.
662
+
663
+ _Không có field public (payload rỗng)._
664
+
665
+ ### AdminGetQueueStatisticsOperationRequest
666
+
667
+ Extends: `GetQueueStatisticsOperationRequest`
668
+
669
+ Maps the AdminGetQueueStatistics operation to a typed request wrapper.
670
+
671
+ _Không có field public (payload rỗng)._
672
+
673
+ ### JoinMatchmakingTicketOperationRequest
674
+
675
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.JoinMatchmakingTicketRequestData>`
676
+
677
+ Maps the JoinMatchmakingTicket operation to a typed request wrapper.
678
+
679
+ _Không có field public (payload rỗng)._
680
+
681
+ ### ServerJoinMatchmakingTicketOperationRequest
682
+
683
+ Extends: `JoinMatchmakingTicketOperationRequest`
684
+
685
+ Maps the ServerJoinMatchmakingTicket operation to a typed request wrapper.
686
+
687
+ _Không có field public (payload rỗng)._
688
+
689
+ ### AdminJoinMatchmakingTicketOperationRequest
690
+
691
+ Extends: `JoinMatchmakingTicketOperationRequest`
692
+
693
+ Maps the AdminJoinMatchmakingTicket operation to a typed request wrapper.
694
+
695
+ _Không có field public (payload rỗng)._
696
+
697
+ ### ListMatchmakingTicketsForPlayerOperationRequest
698
+
699
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData>`
700
+
701
+ Maps the ListMatchmakingTicketsForPlayer operation to a typed request wrapper.
702
+
703
+ _Không có field public (payload rỗng)._
704
+
705
+ ### ServerListMatchmakingTicketsForPlayerOperationRequest
706
+
707
+ Extends: `ListMatchmakingTicketsForPlayerOperationRequest`
708
+
709
+ Maps the ServerListMatchmakingTicketsForPlayer operation to a typed request wrapper.
710
+
711
+ _Không có field public (payload rỗng)._
712
+
713
+ ### AdminListMatchmakingTicketsForPlayerOperationRequest
714
+
715
+ Extends: `ListMatchmakingTicketsForPlayerOperationRequest`
716
+
717
+ Maps the AdminListMatchmakingTicketsForPlayer operation to a typed request wrapper.
718
+
719
+ _Không có field public (payload rỗng)._
720
+
721
+ ### GetAllMatchOperationRequest
722
+
723
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.GetAllMatchRequestData>`
724
+
725
+ Maps the GetAllMatch operation to a typed request wrapper.
726
+
727
+ _Không có field public (payload rỗng)._
728
+
729
+ ### ServerGetAllMatchOperationRequest
730
+
731
+ Extends: `GetAllMatchOperationRequest`
732
+
733
+ Maps the ServerGetAllMatch operation to a typed request wrapper.
734
+
735
+ _Không có field public (payload rỗng)._
736
+
737
+ ### AdminGetAllMatchOperationRequest
738
+
739
+ Extends: `GetAllMatchOperationRequest`
740
+
741
+ Maps the AdminGetAllMatch operation to a typed request wrapper.
742
+
743
+ _Không có field public (payload rỗng)._
744
+
745
+ ### GetAllMatchmakingTicketOperationRequest
746
+
747
+ Extends: `CustomOperationRequestAbstract<MultiplayerModels.GetAllMatchmakingTicketRequestData>`
748
+
749
+ Maps the GetAllMatchmakingTicket operation to a typed request wrapper.
750
+
751
+ _Không có field public (payload rỗng)._
752
+
753
+ ### ServerGetAllMatchmakingTicketOperationRequest
754
+
755
+ Extends: `GetAllMatchmakingTicketOperationRequest`
756
+
757
+ Maps the ServerGetAllMatchmakingTicket operation to a typed request wrapper.
758
+
759
+ _Không có field public (payload rỗng)._
760
+
761
+ ### AdminGetAllMatchmakingTicketOperationRequest
762
+
763
+ Extends: `GetAllMatchmakingTicketOperationRequest`
764
+
765
+ Maps the AdminGetAllMatchmakingTicket operation to a typed request wrapper.
766
+
767
+ _Không có field public (payload rỗng)._
768
+
769
+ ## Namespace `MultiplayerResponseModels`
770
+
771
+ ### CancelAllMatchmakingTicketOperationResponse
772
+
773
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.CancelAllMatchmakingTicketResponseData>`
774
+
775
+ Maps the CancelAllMatchmakingTicket operation to a typed response wrapper.
776
+
777
+ _Không có field public (payload rỗng)._
778
+
779
+ ### CancelMatchmakingTicketOperationResponse
780
+
781
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.EmptyResponseData>`
782
+
783
+ Maps the CancelMatchmakingTicket operation to a typed response wrapper.
784
+
785
+ _Không có field public (payload rỗng)._
786
+
787
+ ### CreateMatchmakingTicketOperationResponse
788
+
789
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.CreateMatchmakingTicketResponseData>`
790
+
791
+ Maps the CreateMatchmakingTicket operation to a typed response wrapper.
792
+
793
+ _Không có field public (payload rỗng)._
794
+
795
+ ### GetMatchmakingTicketOperationResponse
796
+
797
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.GetMatchmakingTicketResponseData>`
798
+
799
+ Maps the GetMatchmakingTicket operation to a typed response wrapper.
800
+
801
+ _Không có field public (payload rỗng)._
802
+
803
+ ### GetMatchOperationResponse
804
+
805
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.GetMatchResponseData>`
806
+
807
+ Maps the GetMatch operation to a typed response wrapper.
808
+
809
+ _Không có field public (payload rỗng)._
810
+
811
+ ### GetQueueStatisticsOperationResponse
812
+
813
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.GetQueueStatisticsResponseData>`
814
+
815
+ Maps the GetQueueStatistics operation to a typed response wrapper.
816
+
817
+ _Không có field public (payload rỗng)._
818
+
819
+ ### JoinMatchmakingTicketOperationResponse
820
+
821
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.EmptyResponseData>`
822
+
823
+ Maps the JoinMatchmakingTicket operation to a typed response wrapper.
824
+
825
+ _Không có field public (payload rỗng)._
826
+
827
+ ### ListMatchmakingTicketsForPlayerOperationResponse
828
+
829
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.ListMatchmakingTicketsForPlayerResponseData>`
830
+
831
+ Maps the ListMatchmakingTicketsForPlayer operation to a typed response wrapper.
832
+
833
+ _Không có field public (payload rỗng)._
834
+
835
+ ### GetAllMatchOperationResponse
836
+
837
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.GetAllMatchResponseData>`
838
+
839
+ Maps the GetAllMatch operation to a typed response wrapper.
840
+
841
+ _Không có field public (payload rỗng)._
842
+
843
+ ### GetAllMatchmakingTicketOperationResponse
844
+
845
+ Extends: `CustomOperationResponseAbstract<MultiplayerModels.GetAllMatchmakingTicketResponseData>`
846
+
847
+ Maps the GetAllMatchmakingTicket operation to a typed response wrapper.
848
+
849
+ _Không có field public (payload rỗng)._
850
+