@xmobitea/gn-typescript-client 2.6.12-tsc → 2.6.13

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 (242) hide show
  1. package/LICENSE +1 -1
  2. package/README.MD +1 -0
  3. package/dist/gearn.js.client.js +47354 -0
  4. package/dist/gearn.js.client.min.js +2 -0
  5. package/dist/gearn.js.client.min.js.LICENSE.txt +14 -0
  6. package/dist/index.d.ts +2 -2
  7. package/dist/index.js +34362 -339
  8. package/dist/runtime/GNNetwork.d.ts +1 -1
  9. package/dist/runtime/helper/GNSupport.d.ts +20 -0
  10. package/dist/runtime/{entity → helper}/OperationHelper.d.ts +1 -1
  11. package/dist/runtime/helper/StorageService.d.ts +18 -0
  12. package/dist/runtime/networking/NetworkingPeer.d.ts +1 -1
  13. package/dist/runtime/typescript/ServiceUpdate.d.ts +2 -0
  14. package/docs/COCOS_CREATOR_INTEGRATION.md +116 -0
  15. package/examples/cocos-creator/GearNExample.ts.txt +176 -0
  16. package/package.json +11 -10
  17. package/srcSwift/Package.swift +32 -0
  18. package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +530 -0
  19. package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +178 -0
  20. package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +1162 -0
  21. package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +154 -0
  22. package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +208 -0
  23. package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +240 -0
  24. package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +1369 -0
  25. package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +1100 -0
  26. package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +937 -0
  27. package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +2323 -0
  28. package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +298 -0
  29. package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +397 -0
  30. package/srcSwift/Sources/GearN/runtime/common/Action0.swift +3 -0
  31. package/srcSwift/Sources/GearN/runtime/common/Action1.swift +3 -0
  32. package/srcSwift/Sources/GearN/runtime/common/Action2.swift +3 -0
  33. package/srcSwift/Sources/GearN/runtime/common/Action3.swift +3 -0
  34. package/srcSwift/Sources/GearN/runtime/common/Action4.swift +3 -0
  35. package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +204 -0
  36. package/srcSwift/Sources/GearN/runtime/common/GNData.swift +108 -0
  37. package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +200 -0
  38. package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +95 -0
  39. package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +28 -0
  40. package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +10 -0
  41. package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +252 -0
  42. package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +19 -0
  43. package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +9 -0
  44. package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +8 -0
  45. package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +6 -0
  46. package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +8 -0
  47. package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +19 -0
  48. package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +6 -0
  49. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +7 -0
  50. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +9 -0
  51. package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +10 -0
  52. package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +6 -0
  53. package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +6 -0
  54. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +7 -0
  55. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +16 -0
  56. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +6 -0
  57. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +9 -0
  58. package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +58 -0
  59. package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +672 -0
  60. package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +196 -0
  61. package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +9 -0
  62. package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +11 -0
  63. package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +38 -0
  64. package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +28 -0
  65. package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +62 -0
  66. package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +98 -0
  67. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +351 -0
  68. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +81 -0
  69. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +108 -0
  70. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +1045 -0
  71. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +821 -0
  72. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +588 -0
  73. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +187 -0
  74. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +84 -0
  75. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +59 -0
  76. package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +195 -0
  77. package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +116 -0
  78. package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +81 -0
  79. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +426 -0
  80. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +160 -0
  81. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +82 -0
  82. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +1334 -0
  83. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +643 -0
  84. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +213 -0
  85. package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +171 -0
  86. package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +850 -0
  87. package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +485 -0
  88. package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +165 -0
  89. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +679 -0
  90. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +413 -0
  91. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +141 -0
  92. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +378 -0
  93. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +147 -0
  94. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +318 -0
  95. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +319 -0
  96. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +125 -0
  97. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +45 -0
  98. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +633 -0
  99. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +173 -0
  100. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +61 -0
  101. package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +42 -0
  102. package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +49 -0
  103. package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +43 -0
  104. package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +86 -0
  105. package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +15 -0
  106. package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +107 -0
  107. package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +98 -0
  108. package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +34 -0
  109. package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +41 -0
  110. package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +66 -0
  111. package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +21 -0
  112. package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +29 -0
  113. package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +33 -0
  114. package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +24 -0
  115. package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +8 -0
  116. package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +368 -0
  117. package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +81 -0
  118. package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +228 -0
  119. package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +20 -0
  120. package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +226 -0
  121. package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +24 -0
  122. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +13 -0
  123. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +125 -0
  124. package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +19 -0
  125. package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +13 -0
  126. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +244 -0
  127. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +59 -0
  128. package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +136 -0
  129. package/tsconfig-build.cocos.json +31 -0
  130. package/webpack.config.cocos.mjs +78 -0
  131. package/dist/runtime/GNNetwork.js +0 -260
  132. package/dist/runtime/GNNetworkAuthenticateApi.js +0 -122
  133. package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -968
  134. package/dist/runtime/GNNetworkCloudScriptApi.js +0 -104
  135. package/dist/runtime/GNNetworkContentApi.js +0 -140
  136. package/dist/runtime/GNNetworkDashboardApi.js +0 -170
  137. package/dist/runtime/GNNetworkGamePlayerApi.js +0 -950
  138. package/dist/runtime/GNNetworkGroupApi.js +0 -734
  139. package/dist/runtime/GNNetworkInventoryApi.js +0 -626
  140. package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -1550
  141. package/dist/runtime/GNNetworkMultiplayerApi.js +0 -194
  142. package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -266
  143. package/dist/runtime/common/Action0.js +0 -1
  144. package/dist/runtime/common/Action1.js +0 -1
  145. package/dist/runtime/common/Action2.js +0 -1
  146. package/dist/runtime/common/Action3.js +0 -1
  147. package/dist/runtime/common/Action4.js +0 -1
  148. package/dist/runtime/common/GNData.js +0 -211
  149. package/dist/runtime/config/GNServerSettings.js +0 -156
  150. package/dist/runtime/constant/Commands.js +0 -20
  151. package/dist/runtime/constant/EventCode.js +0 -8
  152. package/dist/runtime/constant/OperationCode.js +0 -221
  153. package/dist/runtime/constant/ReturnCode.js +0 -14
  154. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +0 -8
  155. package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
  156. package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
  157. package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
  158. package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
  159. package/dist/runtime/constant/enumType/ItemType.js +0 -5
  160. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
  161. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
  162. package/dist/runtime/constant/enumType/OwnerType.js +0 -9
  163. package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
  164. package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
  165. package/dist/runtime/constant/enumType/RequestRole.js +0 -6
  166. package/dist/runtime/constant/enumType/RequestType.js +0 -15
  167. package/dist/runtime/constant/enumType/StoreItemType.js +0 -5
  168. package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
  169. package/dist/runtime/constant/errorCode/ErrorCode.js +0 -52
  170. package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -617
  171. package/dist/runtime/entity/DataMember.js +0 -208
  172. package/dist/runtime/entity/GNMetadata.js +0 -11
  173. package/dist/runtime/entity/InvalidMember.js +0 -1
  174. package/dist/runtime/entity/OperationEvent.js +0 -24
  175. package/dist/runtime/entity/OperationHelper.js +0 -24
  176. package/dist/runtime/entity/OperationRequest.js +0 -42
  177. package/dist/runtime/entity/OperationResponse.js +0 -73
  178. package/dist/runtime/entity/models/AuthenticateModels.js +0 -426
  179. package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -188
  180. package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
  181. package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1433
  182. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1386
  183. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -376
  184. package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
  185. package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -138
  186. package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
  187. package/dist/runtime/entity/models/ContentModels.js +0 -203
  188. package/dist/runtime/entity/models/ContentRequestModels.js +0 -190
  189. package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
  190. package/dist/runtime/entity/models/DashboardModels.js +0 -3002
  191. package/dist/runtime/entity/models/DashboardRequestModels.js +0 -268
  192. package/dist/runtime/entity/models/DashboardResponseModels.js +0 -187
  193. package/dist/runtime/entity/models/GamePlayerModels.js +0 -1591
  194. package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1360
  195. package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -369
  196. package/dist/runtime/entity/models/GenericModels.js +0 -177
  197. package/dist/runtime/entity/models/GroupModels.js +0 -1135
  198. package/dist/runtime/entity/models/GroupRequestModels.js +0 -1048
  199. package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
  200. package/dist/runtime/entity/models/InventoryModels.js +0 -915
  201. package/dist/runtime/entity/models/InventoryRequestModels.js +0 -892
  202. package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
  203. package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2573
  204. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2228
  205. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
  206. package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
  207. package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -268
  208. package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
  209. package/dist/runtime/entity/models/StoreInventoryModels.js +0 -797
  210. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -372
  211. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -103
  212. package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
  213. package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
  214. package/dist/runtime/entity/response/GetAuthInfoResponse.js +0 -2
  215. package/dist/runtime/entity/response/HealthCheckResponse.js +0 -2
  216. package/dist/runtime/entity/response/UploadFileResponse.js +0 -2
  217. package/dist/runtime/helper/CodeHelper.js +0 -63
  218. package/dist/runtime/helper/ConverterService.js +0 -275
  219. package/dist/runtime/helper/EnumUtility.js +0 -33
  220. package/dist/runtime/helper/GNSupport.js +0 -8
  221. package/dist/runtime/helper/GNUtils.js +0 -72
  222. package/dist/runtime/helper/MessagePackConverterService.js +0 -9
  223. package/dist/runtime/logger/GNDebug.js +0 -29
  224. package/dist/runtime/networking/AuthenticateStatus.js +0 -14
  225. package/dist/runtime/networking/IPeer.js +0 -1
  226. package/dist/runtime/networking/NetworkingPeer.js +0 -208
  227. package/dist/runtime/networking/OperationPending.js +0 -53
  228. package/dist/runtime/networking/PeerBase.js +0 -161
  229. package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
  230. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
  231. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
  232. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
  233. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
  234. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
  235. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -43
  236. package/dist/runtime/networking/http/HttpPeer.js +0 -123
  237. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -9
  238. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -179
  239. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -130
  240. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -165
  241. package/dist/runtime/networking/socket/SocketPeer.js +0 -115
  242. package/dist/runtime/typescript/ServiceUpdate.js +0 -12
@@ -1,404 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { GNHashtable } from "./../../common/GNData";
11
- import { ParameterCode } from "./../../constant/parameterCode/ParameterCode";
12
- import { GNHashtableDataMember, StringDataMember, BooleanDataMember, GNArrayDataMember, NumberDataMember } from "./../DataMember";
13
- export var MultiplayerModels;
14
- (function (MultiplayerModels) {
15
- class CancelAllMatchmakingTicketRequestData {
16
- }
17
- __decorate([
18
- StringDataMember({ code: ParameterCode.QueueName, minLength: 6, maxLength: 32 }),
19
- __metadata("design:type", String)
20
- ], CancelAllMatchmakingTicketRequestData.prototype, "queueName", void 0);
21
- MultiplayerModels.CancelAllMatchmakingTicketRequestData = CancelAllMatchmakingTicketRequestData;
22
- class ServerCancelAllMatchmakingTicketRequestData extends CancelAllMatchmakingTicketRequestData {
23
- }
24
- __decorate([
25
- StringDataMember({ code: ParameterCode.UserId, minLength: 10, maxLength: 10 }),
26
- __metadata("design:type", String)
27
- ], ServerCancelAllMatchmakingTicketRequestData.prototype, "userId", void 0);
28
- MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData = ServerCancelAllMatchmakingTicketRequestData;
29
- class AdminCancelAllMatchmakingTicketRequestData extends ServerCancelAllMatchmakingTicketRequestData {
30
- }
31
- MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData = AdminCancelAllMatchmakingTicketRequestData;
32
- class CancelMatchmakingTicketRequestData {
33
- }
34
- __decorate([
35
- StringDataMember({ code: ParameterCode.TicketId, minLength: 10, maxLength: 10 }),
36
- __metadata("design:type", String)
37
- ], CancelMatchmakingTicketRequestData.prototype, "ticketId", void 0);
38
- MultiplayerModels.CancelMatchmakingTicketRequestData = CancelMatchmakingTicketRequestData;
39
- class ServerCancelMatchmakingTicketRequestData extends CancelMatchmakingTicketRequestData {
40
- }
41
- __decorate([
42
- StringDataMember({ code: ParameterCode.UserId, minLength: 10, maxLength: 10 }),
43
- __metadata("design:type", String)
44
- ], ServerCancelMatchmakingTicketRequestData.prototype, "userId", void 0);
45
- MultiplayerModels.ServerCancelMatchmakingTicketRequestData = ServerCancelMatchmakingTicketRequestData;
46
- class AdminCancelMatchmakingTicketRequestData extends ServerCancelMatchmakingTicketRequestData {
47
- }
48
- MultiplayerModels.AdminCancelMatchmakingTicketRequestData = AdminCancelMatchmakingTicketRequestData;
49
- class CreateMatchmakingTicketRequestData {
50
- }
51
- __decorate([
52
- NumberDataMember({ code: ParameterCode.GiveUpAfterSeconds, mustInt: true, minValue: 20 }),
53
- __metadata("design:type", Number)
54
- ], CreateMatchmakingTicketRequestData.prototype, "giveUpAfterSeconds", void 0);
55
- __decorate([
56
- StringDataMember({ code: ParameterCode.QueueName, minLength: 6, maxLength: 32 }),
57
- __metadata("design:type", String)
58
- ], CreateMatchmakingTicketRequestData.prototype, "queueName", void 0);
59
- __decorate([
60
- GNHashtableDataMember({ code: ParameterCode.Attribute, isOptional: true }),
61
- __metadata("design:type", GNHashtable)
62
- ], CreateMatchmakingTicketRequestData.prototype, "attribute", void 0);
63
- __decorate([
64
- GNArrayDataMember({ code: ParameterCode.Members, isOptional: true, elementCls: String }),
65
- __metadata("design:type", Array)
66
- ], CreateMatchmakingTicketRequestData.prototype, "members", void 0);
67
- MultiplayerModels.CreateMatchmakingTicketRequestData = CreateMatchmakingTicketRequestData;
68
- class ServerCreateMatchmakingTicketRequestData extends CreateMatchmakingTicketRequestData {
69
- }
70
- __decorate([
71
- StringDataMember({ code: ParameterCode.UserId, minLength: 10, maxLength: 10 }),
72
- __metadata("design:type", String)
73
- ], ServerCreateMatchmakingTicketRequestData.prototype, "userId", void 0);
74
- MultiplayerModels.ServerCreateMatchmakingTicketRequestData = ServerCreateMatchmakingTicketRequestData;
75
- class AdminCreateMatchmakingTicketRequestData extends ServerCreateMatchmakingTicketRequestData {
76
- }
77
- MultiplayerModels.AdminCreateMatchmakingTicketRequestData = AdminCreateMatchmakingTicketRequestData;
78
- class GetMatchmakingTicketRequestData {
79
- }
80
- __decorate([
81
- StringDataMember({ code: ParameterCode.TicketId, minLength: 10, maxLength: 10 }),
82
- __metadata("design:type", String)
83
- ], GetMatchmakingTicketRequestData.prototype, "ticketId", void 0);
84
- __decorate([
85
- BooleanDataMember({ code: ParameterCode.ReturnMember, isOptional: true, defaultValue: false }),
86
- __metadata("design:type", Boolean)
87
- ], GetMatchmakingTicketRequestData.prototype, "returnMember", void 0);
88
- MultiplayerModels.GetMatchmakingTicketRequestData = GetMatchmakingTicketRequestData;
89
- class ServerGetMatchmakingTicketRequestData extends GetMatchmakingTicketRequestData {
90
- }
91
- MultiplayerModels.ServerGetMatchmakingTicketRequestData = ServerGetMatchmakingTicketRequestData;
92
- class AdminGetMatchmakingTicketRequestData extends ServerGetMatchmakingTicketRequestData {
93
- }
94
- MultiplayerModels.AdminGetMatchmakingTicketRequestData = AdminGetMatchmakingTicketRequestData;
95
- class GetMatchRequestData {
96
- }
97
- __decorate([
98
- StringDataMember({ code: ParameterCode.MatchId, minLength: 15, maxLength: 15 }),
99
- __metadata("design:type", String)
100
- ], GetMatchRequestData.prototype, "matchId", void 0);
101
- __decorate([
102
- BooleanDataMember({ code: ParameterCode.ReturnMember, isOptional: true, defaultValue: false }),
103
- __metadata("design:type", Boolean)
104
- ], GetMatchRequestData.prototype, "returnMember", void 0);
105
- MultiplayerModels.GetMatchRequestData = GetMatchRequestData;
106
- class ServerGetMatchRequestData extends GetMatchRequestData {
107
- }
108
- MultiplayerModels.ServerGetMatchRequestData = ServerGetMatchRequestData;
109
- class AdminGetMatchRequestData extends ServerGetMatchRequestData {
110
- }
111
- MultiplayerModels.AdminGetMatchRequestData = AdminGetMatchRequestData;
112
- class GetAllMatchRequestData {
113
- }
114
- __decorate([
115
- BooleanDataMember({ code: ParameterCode.ReturnMember, isOptional: true, defaultValue: false }),
116
- __metadata("design:type", Boolean)
117
- ], GetAllMatchRequestData.prototype, "returnMember", void 0);
118
- __decorate([
119
- NumberDataMember({ code: ParameterCode.Skip, defaultValue: 0, minValue: 0, mustInt: true, isOptional: true }),
120
- __metadata("design:type", Number)
121
- ], GetAllMatchRequestData.prototype, "skip", void 0);
122
- __decorate([
123
- NumberDataMember({ code: ParameterCode.Limit, defaultValue: 10, minValue: 1, maxValue: 100, mustInt: true, isOptional: true }),
124
- __metadata("design:type", Number)
125
- ], GetAllMatchRequestData.prototype, "limit", void 0);
126
- MultiplayerModels.GetAllMatchRequestData = GetAllMatchRequestData;
127
- class ServerGetAllMatchRequestData extends GetAllMatchRequestData {
128
- }
129
- MultiplayerModels.ServerGetAllMatchRequestData = ServerGetAllMatchRequestData;
130
- class AdminGetAllMatchRequestData extends ServerGetAllMatchRequestData {
131
- }
132
- MultiplayerModels.AdminGetAllMatchRequestData = AdminGetAllMatchRequestData;
133
- class GetAllMatchmakingTicketRequestData {
134
- }
135
- __decorate([
136
- NumberDataMember({ code: ParameterCode.Status, minValue: 1, maxValue: 5, isOptional: true, mustInt: true }),
137
- __metadata("design:type", Number)
138
- ], GetAllMatchmakingTicketRequestData.prototype, "status", void 0);
139
- __decorate([
140
- BooleanDataMember({ code: ParameterCode.ReturnMember, isOptional: true, defaultValue: false }),
141
- __metadata("design:type", Boolean)
142
- ], GetAllMatchmakingTicketRequestData.prototype, "returnMember", void 0);
143
- __decorate([
144
- NumberDataMember({ code: ParameterCode.Skip, defaultValue: 0, minValue: 0, mustInt: true, isOptional: true }),
145
- __metadata("design:type", Number)
146
- ], GetAllMatchmakingTicketRequestData.prototype, "skip", void 0);
147
- __decorate([
148
- NumberDataMember({ code: ParameterCode.Limit, defaultValue: 10, minValue: 1, maxValue: 100, mustInt: true, isOptional: true }),
149
- __metadata("design:type", Number)
150
- ], GetAllMatchmakingTicketRequestData.prototype, "limit", void 0);
151
- MultiplayerModels.GetAllMatchmakingTicketRequestData = GetAllMatchmakingTicketRequestData;
152
- class ServerGetAllMatchmakingTicketRequestData extends GetAllMatchmakingTicketRequestData {
153
- }
154
- MultiplayerModels.ServerGetAllMatchmakingTicketRequestData = ServerGetAllMatchmakingTicketRequestData;
155
- class AdminGetAllMatchmakingTicketRequestData extends ServerGetAllMatchmakingTicketRequestData {
156
- }
157
- MultiplayerModels.AdminGetAllMatchmakingTicketRequestData = AdminGetAllMatchmakingTicketRequestData;
158
- class GetQueueStatisticsRequestData {
159
- }
160
- __decorate([
161
- StringDataMember({ code: ParameterCode.QueueName, minLength: 6, maxLength: 32 }),
162
- __metadata("design:type", String)
163
- ], GetQueueStatisticsRequestData.prototype, "queueName", void 0);
164
- __decorate([
165
- NumberDataMember({ code: ParameterCode.TimeInSeconds, mustInt: true, minValue: 20 }),
166
- __metadata("design:type", Number)
167
- ], GetQueueStatisticsRequestData.prototype, "timeInSeconds", void 0);
168
- MultiplayerModels.GetQueueStatisticsRequestData = GetQueueStatisticsRequestData;
169
- class ServerGetQueueStatisticsRequestData extends GetQueueStatisticsRequestData {
170
- }
171
- MultiplayerModels.ServerGetQueueStatisticsRequestData = ServerGetQueueStatisticsRequestData;
172
- class AdminGetQueueStatisticsRequestData extends ServerGetQueueStatisticsRequestData {
173
- }
174
- MultiplayerModels.AdminGetQueueStatisticsRequestData = AdminGetQueueStatisticsRequestData;
175
- class JoinMatchmakingTicketRequestData {
176
- }
177
- __decorate([
178
- StringDataMember({ code: ParameterCode.TicketId, minLength: 10, maxLength: 10 }),
179
- __metadata("design:type", String)
180
- ], JoinMatchmakingTicketRequestData.prototype, "ticketId", void 0);
181
- __decorate([
182
- GNHashtableDataMember({ code: ParameterCode.Attribute, isOptional: true }),
183
- __metadata("design:type", GNHashtable)
184
- ], JoinMatchmakingTicketRequestData.prototype, "attribute", void 0);
185
- MultiplayerModels.JoinMatchmakingTicketRequestData = JoinMatchmakingTicketRequestData;
186
- class ServerJoinMatchmakingTicketRequestData extends JoinMatchmakingTicketRequestData {
187
- }
188
- __decorate([
189
- StringDataMember({ code: ParameterCode.UserId, minLength: 10, maxLength: 10 }),
190
- __metadata("design:type", String)
191
- ], ServerJoinMatchmakingTicketRequestData.prototype, "userId", void 0);
192
- MultiplayerModels.ServerJoinMatchmakingTicketRequestData = ServerJoinMatchmakingTicketRequestData;
193
- class AdminJoinMatchmakingTicketRequestData extends ServerJoinMatchmakingTicketRequestData {
194
- }
195
- MultiplayerModels.AdminJoinMatchmakingTicketRequestData = AdminJoinMatchmakingTicketRequestData;
196
- class ListMatchmakingTicketsForPlayerRequestData {
197
- }
198
- __decorate([
199
- StringDataMember({ code: ParameterCode.QueueName, minLength: 6, maxLength: 32 }),
200
- __metadata("design:type", String)
201
- ], ListMatchmakingTicketsForPlayerRequestData.prototype, "queueName", void 0);
202
- MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData = ListMatchmakingTicketsForPlayerRequestData;
203
- class ServerListMatchmakingTicketsForPlayerRequestData extends ListMatchmakingTicketsForPlayerRequestData {
204
- }
205
- __decorate([
206
- StringDataMember({ code: ParameterCode.UserId, minLength: 10, maxLength: 10 }),
207
- __metadata("design:type", String)
208
- ], ServerListMatchmakingTicketsForPlayerRequestData.prototype, "userId", void 0);
209
- MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData = ServerListMatchmakingTicketsForPlayerRequestData;
210
- class AdminListMatchmakingTicketsForPlayerRequestData extends ServerListMatchmakingTicketsForPlayerRequestData {
211
- }
212
- MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData = AdminListMatchmakingTicketsForPlayerRequestData;
213
- class CancelAllMatchmakingTicketResponseData {
214
- }
215
- __decorate([
216
- GNArrayDataMember({ code: ParameterCode.TicketIds, elementCls: String }),
217
- __metadata("design:type", Array)
218
- ], CancelAllMatchmakingTicketResponseData.prototype, "ticketIds", void 0);
219
- MultiplayerModels.CancelAllMatchmakingTicketResponseData = CancelAllMatchmakingTicketResponseData;
220
- class CreateMatchmakingTicketResponseData {
221
- }
222
- __decorate([
223
- StringDataMember({ code: ParameterCode.TicketId }),
224
- __metadata("design:type", String)
225
- ], CreateMatchmakingTicketResponseData.prototype, "ticketId", void 0);
226
- MultiplayerModels.CreateMatchmakingTicketResponseData = CreateMatchmakingTicketResponseData;
227
- class MatchmakingTicketMember {
228
- }
229
- __decorate([
230
- StringDataMember({ code: ParameterCode.UserId, minLength: 10, maxLength: 10 }),
231
- __metadata("design:type", String)
232
- ], MatchmakingTicketMember.prototype, "userId", void 0);
233
- __decorate([
234
- NumberDataMember({ code: ParameterCode.Status, mustInt: true }),
235
- __metadata("design:type", Number)
236
- ], MatchmakingTicketMember.prototype, "status", void 0);
237
- __decorate([
238
- GNHashtableDataMember({ code: ParameterCode.Attribute }),
239
- __metadata("design:type", GNHashtable)
240
- ], MatchmakingTicketMember.prototype, "attribute", void 0);
241
- MultiplayerModels.MatchmakingTicketMember = MatchmakingTicketMember;
242
- class MatchmakingTicketResponseData {
243
- }
244
- __decorate([
245
- NumberDataMember({ code: ParameterCode.TsCreate }),
246
- __metadata("design:type", Number)
247
- ], MatchmakingTicketResponseData.prototype, "tsCreate", void 0);
248
- __decorate([
249
- StringDataMember({ code: ParameterCode.CreatorId, minLength: 10, maxLength: 10 }),
250
- __metadata("design:type", String)
251
- ], MatchmakingTicketResponseData.prototype, "creatorId", void 0);
252
- __decorate([
253
- NumberDataMember({ code: ParameterCode.GiveUpAfterSeconds }),
254
- __metadata("design:type", Number)
255
- ], MatchmakingTicketResponseData.prototype, "giveUpAfterSeconds", void 0);
256
- __decorate([
257
- StringDataMember({ code: ParameterCode.QueueName, minLength: 6, maxLength: 32 }),
258
- __metadata("design:type", String)
259
- ], MatchmakingTicketResponseData.prototype, "queueName", void 0);
260
- __decorate([
261
- NumberDataMember({ code: ParameterCode.Status, mustInt: true }),
262
- __metadata("design:type", Number)
263
- ], MatchmakingTicketResponseData.prototype, "status", void 0);
264
- __decorate([
265
- StringDataMember({ code: ParameterCode.MatchId, minLength: 15, maxLength: 15, isOptional: true }),
266
- __metadata("design:type", String)
267
- ], MatchmakingTicketResponseData.prototype, "matchId", void 0);
268
- __decorate([
269
- GNArrayDataMember({ code: ParameterCode.Members, elementCls: MatchmakingTicketMember, isOptional: true }),
270
- __metadata("design:type", Array)
271
- ], MatchmakingTicketResponseData.prototype, "members", void 0);
272
- MultiplayerModels.MatchmakingTicketResponseData = MatchmakingTicketResponseData;
273
- class MatchmakingTicketWithTicketIdResponseData extends MatchmakingTicketResponseData {
274
- }
275
- __decorate([
276
- StringDataMember({ code: ParameterCode.TicketId }),
277
- __metadata("design:type", String)
278
- ], MatchmakingTicketWithTicketIdResponseData.prototype, "ticketId", void 0);
279
- MultiplayerModels.MatchmakingTicketWithTicketIdResponseData = MatchmakingTicketWithTicketIdResponseData;
280
- class GetMatchmakingTicketResponseData {
281
- }
282
- __decorate([
283
- GNHashtableDataMember({ code: ParameterCode.MatchmakingTicket }),
284
- __metadata("design:type", MatchmakingTicketResponseData)
285
- ], GetMatchmakingTicketResponseData.prototype, "matchmakingTicket", void 0);
286
- MultiplayerModels.GetMatchmakingTicketResponseData = GetMatchmakingTicketResponseData;
287
- class MatchMember {
288
- }
289
- __decorate([
290
- StringDataMember({ code: ParameterCode.UserId, minLength: 10, maxLength: 10 }),
291
- __metadata("design:type", String)
292
- ], MatchMember.prototype, "userId", void 0);
293
- __decorate([
294
- StringDataMember({ code: ParameterCode.TeamId }),
295
- __metadata("design:type", String)
296
- ], MatchMember.prototype, "teamId", void 0);
297
- __decorate([
298
- GNHashtableDataMember({ code: ParameterCode.Attribute }),
299
- __metadata("design:type", GNHashtable)
300
- ], MatchMember.prototype, "attribute", void 0);
301
- MultiplayerModels.MatchMember = MatchMember;
302
- class PortInfo {
303
- }
304
- __decorate([
305
- StringDataMember({ code: ParameterCode.Name }),
306
- __metadata("design:type", String)
307
- ], PortInfo.prototype, "name", void 0);
308
- __decorate([
309
- NumberDataMember({ code: ParameterCode.PublicPort, mustInt: true, minValue: 0 }),
310
- __metadata("design:type", Number)
311
- ], PortInfo.prototype, "publicPort", void 0);
312
- __decorate([
313
- NumberDataMember({ code: ParameterCode.PrivatePort, mustInt: true, minValue: 0 }),
314
- __metadata("design:type", Number)
315
- ], PortInfo.prototype, "privatePort", void 0);
316
- __decorate([
317
- NumberDataMember({ code: ParameterCode.Protocol, mustInt: true, minValue: 1, maxValue: 2 }),
318
- __metadata("design:type", Number)
319
- ], PortInfo.prototype, "protocol", void 0);
320
- MultiplayerModels.PortInfo = PortInfo;
321
- class ServerDetail {
322
- }
323
- __decorate([
324
- StringDataMember({ code: ParameterCode.IpV4Address }),
325
- __metadata("design:type", String)
326
- ], ServerDetail.prototype, "ipV4Address", void 0);
327
- __decorate([
328
- GNArrayDataMember({ code: ParameterCode.Ports, elementCls: PortInfo }),
329
- __metadata("design:type", Array)
330
- ], ServerDetail.prototype, "ports", void 0);
331
- MultiplayerModels.ServerDetail = ServerDetail;
332
- class MatchResponseData {
333
- }
334
- __decorate([
335
- NumberDataMember({ code: ParameterCode.TsCreate }),
336
- __metadata("design:type", Number)
337
- ], MatchResponseData.prototype, "tsCreate", void 0);
338
- __decorate([
339
- StringDataMember({ code: ParameterCode.QueueName, minLength: 6, maxLength: 32 }),
340
- __metadata("design:type", String)
341
- ], MatchResponseData.prototype, "queueName", void 0);
342
- __decorate([
343
- GNArrayDataMember({ code: ParameterCode.Members, elementCls: MatchMember, isOptional: true }),
344
- __metadata("design:type", Array)
345
- ], MatchResponseData.prototype, "members", void 0);
346
- __decorate([
347
- NumberDataMember({ code: ParameterCode.TimeToMatchInSeconds }),
348
- __metadata("design:type", Number)
349
- ], MatchResponseData.prototype, "timeToMatchInSeconds", void 0);
350
- MultiplayerModels.MatchResponseData = MatchResponseData;
351
- class MatchWithMatchIdResponseData extends MatchResponseData {
352
- }
353
- __decorate([
354
- StringDataMember({ code: ParameterCode.MatchId }),
355
- __metadata("design:type", String)
356
- ], MatchWithMatchIdResponseData.prototype, "matchId", void 0);
357
- MultiplayerModels.MatchWithMatchIdResponseData = MatchWithMatchIdResponseData;
358
- class GetMatchResponseData {
359
- }
360
- __decorate([
361
- GNHashtableDataMember({ code: ParameterCode.Match }),
362
- __metadata("design:type", MatchResponseData)
363
- ], GetMatchResponseData.prototype, "match", void 0);
364
- MultiplayerModels.GetMatchResponseData = GetMatchResponseData;
365
- class GetQueueStatisticsResponseData {
366
- }
367
- __decorate([
368
- NumberDataMember({ code: ParameterCode.PendingMemberCount, mustInt: true }),
369
- __metadata("design:type", Number)
370
- ], GetQueueStatisticsResponseData.prototype, "pendingMemberCount", void 0);
371
- __decorate([
372
- NumberDataMember({ code: ParameterCode.PendingTicketCount, mustInt: true }),
373
- __metadata("design:type", Number)
374
- ], GetQueueStatisticsResponseData.prototype, "pendingTicketCount", void 0);
375
- __decorate([
376
- NumberDataMember({ code: ParameterCode.AverageMatchmakingTimeInSeconds }),
377
- __metadata("design:type", Number)
378
- ], GetQueueStatisticsResponseData.prototype, "averageMatchmakingTimeInSeconds", void 0);
379
- MultiplayerModels.GetQueueStatisticsResponseData = GetQueueStatisticsResponseData;
380
- class ListMatchmakingTicketsForPlayerResponseData {
381
- }
382
- __decorate([
383
- GNArrayDataMember({ code: ParameterCode.TicketIds, elementCls: String }),
384
- __metadata("design:type", Array)
385
- ], ListMatchmakingTicketsForPlayerResponseData.prototype, "ticketIds", void 0);
386
- MultiplayerModels.ListMatchmakingTicketsForPlayerResponseData = ListMatchmakingTicketsForPlayerResponseData;
387
- class GetAllMatchResponseData {
388
- }
389
- __decorate([
390
- GNArrayDataMember({ code: ParameterCode.Results, elementCls: MatchWithMatchIdResponseData }),
391
- __metadata("design:type", Array)
392
- ], GetAllMatchResponseData.prototype, "results", void 0);
393
- MultiplayerModels.GetAllMatchResponseData = GetAllMatchResponseData;
394
- class GetAllMatchmakingTicketResponseData {
395
- }
396
- __decorate([
397
- GNArrayDataMember({ code: ParameterCode.Results, elementCls: MatchmakingTicketWithTicketIdResponseData }),
398
- __metadata("design:type", Array)
399
- ], GetAllMatchmakingTicketResponseData.prototype, "results", void 0);
400
- MultiplayerModels.GetAllMatchmakingTicketResponseData = GetAllMatchmakingTicketResponseData;
401
- class EmptyResponseData {
402
- }
403
- MultiplayerModels.EmptyResponseData = EmptyResponseData;
404
- })(MultiplayerModels || (MultiplayerModels = {}));
@@ -1,268 +0,0 @@
1
- import { OperationCode } from "./../../constant/OperationCode";
2
- import { RequestRole } from "./../../constant/enumType/RequestRole";
3
- import { RequestType } from "./../../constant/enumType/RequestType";
4
- import { CustomOperationRequestAbstract } from "./../request/CustomOperationRequest";
5
- import { MultiplayerModels } from "./MultiplayerModels";
6
- export var MultiplayerRequestModels;
7
- (function (MultiplayerRequestModels) {
8
- class CancelAllMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
9
- constructor(requestData, timeout) {
10
- super(requestData, timeout);
11
- this.operationCode = OperationCode.CancelAllMatchmakingTicket;
12
- this.requestType = RequestType.Multiplayer;
13
- this.role = RequestRole.Client;
14
- this.requestDataCls = MultiplayerModels.CancelAllMatchmakingTicketRequestData;
15
- }
16
- }
17
- MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest = CancelAllMatchmakingTicketOperationRequest;
18
- class ServerCancelAllMatchmakingTicketOperationRequest extends CancelAllMatchmakingTicketOperationRequest {
19
- constructor(requestData, timeout) {
20
- super(requestData, timeout);
21
- this.role = RequestRole.Server;
22
- this.requestDataCls = MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData;
23
- }
24
- }
25
- MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest = ServerCancelAllMatchmakingTicketOperationRequest;
26
- class AdminCancelAllMatchmakingTicketOperationRequest extends CancelAllMatchmakingTicketOperationRequest {
27
- constructor(requestData, timeout) {
28
- super(requestData, timeout);
29
- this.role = RequestRole.Admin;
30
- this.requestDataCls = MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData;
31
- }
32
- }
33
- MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest = AdminCancelAllMatchmakingTicketOperationRequest;
34
- class CancelMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
35
- constructor(requestData, timeout) {
36
- super(requestData, timeout);
37
- this.operationCode = OperationCode.CancelMatchmakingTicket;
38
- this.requestType = RequestType.Multiplayer;
39
- this.role = RequestRole.Client;
40
- this.requestDataCls = MultiplayerModels.CancelMatchmakingTicketRequestData;
41
- }
42
- }
43
- MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest = CancelMatchmakingTicketOperationRequest;
44
- class ServerCancelMatchmakingTicketOperationRequest extends CancelMatchmakingTicketOperationRequest {
45
- constructor(requestData, timeout) {
46
- super(requestData, timeout);
47
- this.role = RequestRole.Server;
48
- this.requestDataCls = MultiplayerModels.ServerCancelMatchmakingTicketRequestData;
49
- }
50
- }
51
- MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest = ServerCancelMatchmakingTicketOperationRequest;
52
- class AdminCancelMatchmakingTicketOperationRequest extends CancelMatchmakingTicketOperationRequest {
53
- constructor(requestData, timeout) {
54
- super(requestData, timeout);
55
- this.role = RequestRole.Admin;
56
- this.requestDataCls = MultiplayerModels.AdminCancelMatchmakingTicketRequestData;
57
- }
58
- }
59
- MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest = AdminCancelMatchmakingTicketOperationRequest;
60
- class CreateMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
61
- constructor(requestData, timeout) {
62
- super(requestData, timeout);
63
- this.operationCode = OperationCode.CreateMatchmakingTicket;
64
- this.requestType = RequestType.Multiplayer;
65
- this.role = RequestRole.Client;
66
- this.requestDataCls = MultiplayerModels.CreateMatchmakingTicketRequestData;
67
- }
68
- }
69
- MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest = CreateMatchmakingTicketOperationRequest;
70
- class ServerCreateMatchmakingTicketOperationRequest extends CreateMatchmakingTicketOperationRequest {
71
- constructor(requestData, timeout) {
72
- super(requestData, timeout);
73
- this.role = RequestRole.Server;
74
- this.requestDataCls = MultiplayerModels.ServerCreateMatchmakingTicketRequestData;
75
- }
76
- }
77
- MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest = ServerCreateMatchmakingTicketOperationRequest;
78
- class AdminCreateMatchmakingTicketOperationRequest extends CreateMatchmakingTicketOperationRequest {
79
- constructor(requestData, timeout) {
80
- super(requestData, timeout);
81
- this.role = RequestRole.Admin;
82
- this.requestDataCls = MultiplayerModels.AdminCreateMatchmakingTicketRequestData;
83
- }
84
- }
85
- MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest = AdminCreateMatchmakingTicketOperationRequest;
86
- class GetMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
87
- constructor(requestData, timeout) {
88
- super(requestData, timeout);
89
- this.operationCode = OperationCode.GetMatchmakingTicket;
90
- this.requestType = RequestType.Multiplayer;
91
- this.role = RequestRole.Client;
92
- this.requestDataCls = MultiplayerModels.GetMatchmakingTicketRequestData;
93
- }
94
- }
95
- MultiplayerRequestModels.GetMatchmakingTicketOperationRequest = GetMatchmakingTicketOperationRequest;
96
- class ServerGetMatchmakingTicketOperationRequest extends GetMatchmakingTicketOperationRequest {
97
- constructor(requestData, timeout) {
98
- super(requestData, timeout);
99
- this.role = RequestRole.Server;
100
- this.requestDataCls = MultiplayerModels.ServerGetMatchmakingTicketRequestData;
101
- }
102
- }
103
- MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest = ServerGetMatchmakingTicketOperationRequest;
104
- class AdminGetMatchmakingTicketOperationRequest extends GetMatchmakingTicketOperationRequest {
105
- constructor(requestData, timeout) {
106
- super(requestData, timeout);
107
- this.role = RequestRole.Admin;
108
- this.requestDataCls = MultiplayerModels.AdminGetMatchmakingTicketRequestData;
109
- }
110
- }
111
- MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest = AdminGetMatchmakingTicketOperationRequest;
112
- class GetMatchOperationRequest extends CustomOperationRequestAbstract {
113
- constructor(requestData, timeout) {
114
- super(requestData, timeout);
115
- this.operationCode = OperationCode.GetMatch;
116
- this.requestType = RequestType.Multiplayer;
117
- this.role = RequestRole.Client;
118
- this.requestDataCls = MultiplayerModels.GetMatchRequestData;
119
- }
120
- }
121
- MultiplayerRequestModels.GetMatchOperationRequest = GetMatchOperationRequest;
122
- class ServerGetMatchOperationRequest extends GetMatchOperationRequest {
123
- constructor(requestData, timeout) {
124
- super(requestData, timeout);
125
- this.role = RequestRole.Server;
126
- this.requestDataCls = MultiplayerModels.ServerGetMatchRequestData;
127
- }
128
- }
129
- MultiplayerRequestModels.ServerGetMatchOperationRequest = ServerGetMatchOperationRequest;
130
- class AdminGetMatchOperationRequest extends GetMatchOperationRequest {
131
- constructor(requestData, timeout) {
132
- super(requestData, timeout);
133
- this.role = RequestRole.Admin;
134
- this.requestDataCls = MultiplayerModels.AdminGetMatchRequestData;
135
- }
136
- }
137
- MultiplayerRequestModels.AdminGetMatchOperationRequest = AdminGetMatchOperationRequest;
138
- class GetQueueStatisticsOperationRequest extends CustomOperationRequestAbstract {
139
- constructor(requestData, timeout) {
140
- super(requestData, timeout);
141
- this.operationCode = OperationCode.GetQueueStatistics;
142
- this.requestType = RequestType.Multiplayer;
143
- this.role = RequestRole.Client;
144
- this.requestDataCls = MultiplayerModels.GetQueueStatisticsRequestData;
145
- }
146
- }
147
- MultiplayerRequestModels.GetQueueStatisticsOperationRequest = GetQueueStatisticsOperationRequest;
148
- class ServerGetQueueStatisticsOperationRequest extends GetQueueStatisticsOperationRequest {
149
- constructor(requestData, timeout) {
150
- super(requestData, timeout);
151
- this.role = RequestRole.Server;
152
- this.requestDataCls = MultiplayerModels.ServerGetQueueStatisticsRequestData;
153
- }
154
- }
155
- MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest = ServerGetQueueStatisticsOperationRequest;
156
- class AdminGetQueueStatisticsOperationRequest extends GetQueueStatisticsOperationRequest {
157
- constructor(requestData, timeout) {
158
- super(requestData, timeout);
159
- this.role = RequestRole.Admin;
160
- this.requestDataCls = MultiplayerModels.AdminGetQueueStatisticsRequestData;
161
- }
162
- }
163
- MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest = AdminGetQueueStatisticsOperationRequest;
164
- class JoinMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
165
- constructor(requestData, timeout) {
166
- super(requestData, timeout);
167
- this.operationCode = OperationCode.JoinMatchmakingTicket;
168
- this.requestType = RequestType.Multiplayer;
169
- this.role = RequestRole.Client;
170
- this.requestDataCls = MultiplayerModels.JoinMatchmakingTicketRequestData;
171
- }
172
- }
173
- MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest = JoinMatchmakingTicketOperationRequest;
174
- class ServerJoinMatchmakingTicketOperationRequest extends JoinMatchmakingTicketOperationRequest {
175
- constructor(requestData, timeout) {
176
- super(requestData, timeout);
177
- this.role = RequestRole.Server;
178
- this.requestDataCls = MultiplayerModels.ServerJoinMatchmakingTicketRequestData;
179
- }
180
- }
181
- MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest = ServerJoinMatchmakingTicketOperationRequest;
182
- class AdminJoinMatchmakingTicketOperationRequest extends JoinMatchmakingTicketOperationRequest {
183
- constructor(requestData, timeout) {
184
- super(requestData, timeout);
185
- this.role = RequestRole.Admin;
186
- this.requestDataCls = MultiplayerModels.AdminJoinMatchmakingTicketRequestData;
187
- }
188
- }
189
- MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest = AdminJoinMatchmakingTicketOperationRequest;
190
- class ListMatchmakingTicketsForPlayerOperationRequest extends CustomOperationRequestAbstract {
191
- constructor(requestData, timeout) {
192
- super(requestData, timeout);
193
- this.operationCode = OperationCode.ListMatchmakingTicketsForPlayer;
194
- this.requestType = RequestType.Multiplayer;
195
- this.role = RequestRole.Client;
196
- this.requestDataCls = MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData;
197
- }
198
- }
199
- MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest = ListMatchmakingTicketsForPlayerOperationRequest;
200
- class ServerListMatchmakingTicketsForPlayerOperationRequest extends ListMatchmakingTicketsForPlayerOperationRequest {
201
- constructor(requestData, timeout) {
202
- super(requestData, timeout);
203
- this.role = RequestRole.Server;
204
- this.requestDataCls = MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData;
205
- }
206
- }
207
- MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest = ServerListMatchmakingTicketsForPlayerOperationRequest;
208
- class AdminListMatchmakingTicketsForPlayerOperationRequest extends ListMatchmakingTicketsForPlayerOperationRequest {
209
- constructor(requestData, timeout) {
210
- super(requestData, timeout);
211
- this.role = RequestRole.Admin;
212
- this.requestDataCls = MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData;
213
- }
214
- }
215
- MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest = AdminListMatchmakingTicketsForPlayerOperationRequest;
216
- class GetAllMatchOperationRequest extends CustomOperationRequestAbstract {
217
- constructor(requestData, timeout) {
218
- super(requestData, timeout);
219
- this.operationCode = OperationCode.GetAllMatch;
220
- this.requestType = RequestType.Multiplayer;
221
- this.role = RequestRole.Client;
222
- this.requestDataCls = MultiplayerModels.GetAllMatchRequestData;
223
- }
224
- }
225
- MultiplayerRequestModels.GetAllMatchOperationRequest = GetAllMatchOperationRequest;
226
- class ServerGetAllMatchOperationRequest extends GetAllMatchOperationRequest {
227
- constructor(requestData, timeout) {
228
- super(requestData, timeout);
229
- this.role = RequestRole.Server;
230
- this.requestDataCls = MultiplayerModels.ServerGetAllMatchRequestData;
231
- }
232
- }
233
- MultiplayerRequestModels.ServerGetAllMatchOperationRequest = ServerGetAllMatchOperationRequest;
234
- class AdminGetAllMatchOperationRequest extends GetAllMatchOperationRequest {
235
- constructor(requestData, timeout) {
236
- super(requestData, timeout);
237
- this.role = RequestRole.Admin;
238
- this.requestDataCls = MultiplayerModels.AdminGetAllMatchRequestData;
239
- }
240
- }
241
- MultiplayerRequestModels.AdminGetAllMatchOperationRequest = AdminGetAllMatchOperationRequest;
242
- class GetAllMatchmakingTicketOperationRequest extends CustomOperationRequestAbstract {
243
- constructor(requestData, timeout) {
244
- super(requestData, timeout);
245
- this.operationCode = OperationCode.GetAllMatchmakingTicket;
246
- this.requestType = RequestType.Multiplayer;
247
- this.role = RequestRole.Client;
248
- this.requestDataCls = MultiplayerModels.GetAllMatchmakingTicketRequestData;
249
- }
250
- }
251
- MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest = GetAllMatchmakingTicketOperationRequest;
252
- class ServerGetAllMatchmakingTicketOperationRequest extends GetAllMatchmakingTicketOperationRequest {
253
- constructor(requestData, timeout) {
254
- super(requestData, timeout);
255
- this.role = RequestRole.Server;
256
- this.requestDataCls = MultiplayerModels.ServerGetAllMatchmakingTicketRequestData;
257
- }
258
- }
259
- MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest = ServerGetAllMatchmakingTicketOperationRequest;
260
- class AdminGetAllMatchmakingTicketOperationRequest extends GetAllMatchmakingTicketOperationRequest {
261
- constructor(requestData, timeout) {
262
- super(requestData, timeout);
263
- this.role = RequestRole.Admin;
264
- this.requestDataCls = MultiplayerModels.AdminGetAllMatchmakingTicketRequestData;
265
- }
266
- }
267
- MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest = AdminGetAllMatchmakingTicketOperationRequest;
268
- })(MultiplayerRequestModels || (MultiplayerRequestModels = {}));