@xmobitea/gn-typescript-client 2.5.1 → 2.5.2-esnext

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/dist/index.d.ts +4 -2
  2. package/dist/index.js +336 -36400
  3. package/dist/runtime/GNNetwork.js +258 -0
  4. package/dist/runtime/GNNetworkAuthenticateApi.js +167 -0
  5. package/dist/runtime/GNNetworkCharacterPlayerApi.js +1295 -0
  6. package/dist/runtime/GNNetworkCloudScriptApi.js +143 -0
  7. package/dist/runtime/GNNetworkContentApi.js +191 -0
  8. package/dist/runtime/GNNetworkDashboardApi.js +231 -0
  9. package/dist/runtime/GNNetworkGamePlayerApi.js +1271 -0
  10. package/dist/runtime/GNNetworkGroupApi.js +983 -0
  11. package/dist/runtime/GNNetworkInventoryApi.js +839 -0
  12. package/dist/runtime/GNNetworkMasterPlayerApi.js +2071 -0
  13. package/dist/runtime/GNNetworkMultiplayerApi.js +263 -0
  14. package/dist/runtime/GNNetworkStoreInventoryApi.js +359 -0
  15. package/dist/runtime/common/Action0.js +1 -0
  16. package/dist/runtime/common/Action1.js +1 -0
  17. package/dist/runtime/common/Action2.js +1 -0
  18. package/dist/runtime/common/Action3.js +1 -0
  19. package/dist/runtime/common/Action4.js +1 -0
  20. package/dist/runtime/common/GNData.js +211 -0
  21. package/dist/runtime/config/GNServerSettings.js +135 -0
  22. package/dist/runtime/constant/Commands.js +19 -0
  23. package/dist/runtime/constant/EventCode.js +8 -0
  24. package/dist/runtime/constant/OperationCode.js +221 -0
  25. package/dist/runtime/constant/ReturnCode.js +14 -0
  26. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
  27. package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
  28. package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
  29. package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
  30. package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
  31. package/dist/runtime/constant/enumType/ItemType.js +5 -0
  32. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
  33. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
  34. package/dist/runtime/constant/enumType/OwnerType.js +8 -0
  35. package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
  36. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  37. package/dist/runtime/constant/enumType/RequestRole.js +6 -0
  38. package/dist/runtime/constant/enumType/RequestType.js +15 -0
  39. package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
  40. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  41. package/dist/runtime/constant/errorCode/GNErrorCode.js +52 -0
  42. package/dist/runtime/constant/parameterCode/GNParameterCode.js +593 -0
  43. package/dist/runtime/constant/parameterCode/ParameterCode.js +6 -0
  44. package/dist/runtime/entity/DataMember.js +208 -0
  45. package/dist/runtime/entity/GNMetadata.js +11 -0
  46. package/dist/runtime/entity/InvalidMember.js +1 -0
  47. package/dist/runtime/entity/OperationEvent.js +33 -0
  48. package/dist/runtime/entity/OperationHelper.js +23 -0
  49. package/dist/runtime/entity/OperationRequest.js +51 -0
  50. package/dist/runtime/entity/OperationResponse.js +82 -0
  51. package/dist/runtime/entity/models/AuthenticateModels.js +420 -0
  52. package/dist/runtime/entity/models/AuthenticateRequestModels.js +206 -0
  53. package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
  54. package/dist/runtime/entity/models/CharacterPlayerModels.js +1433 -0
  55. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1439 -0
  56. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
  57. package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
  58. package/dist/runtime/entity/models/CloudScriptRequestModels.js +143 -0
  59. package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
  60. package/dist/runtime/entity/models/ContentModels.js +211 -0
  61. package/dist/runtime/entity/models/ContentRequestModels.js +197 -0
  62. package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
  63. package/dist/runtime/entity/models/DashboardModels.js +2959 -0
  64. package/dist/runtime/entity/models/DashboardRequestModels.js +294 -0
  65. package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
  66. package/dist/runtime/entity/models/GamePlayerModels.js +1587 -0
  67. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1412 -0
  68. package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
  69. package/dist/runtime/entity/models/GenericModels.js +177 -0
  70. package/dist/runtime/entity/models/GroupModels.js +1139 -0
  71. package/dist/runtime/entity/models/GroupRequestModels.js +1088 -0
  72. package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
  73. package/dist/runtime/entity/models/InventoryModels.js +915 -0
  74. package/dist/runtime/entity/models/InventoryRequestModels.js +926 -0
  75. package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
  76. package/dist/runtime/entity/models/MasterPlayerModels.js +2570 -0
  77. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2314 -0
  78. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
  79. package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
  80. package/dist/runtime/entity/models/MultiplayerRequestModels.js +278 -0
  81. package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
  82. package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
  83. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +386 -0
  84. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
  85. package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
  86. package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
  87. package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
  88. package/dist/runtime/helper/CodeHelper.js +61 -0
  89. package/dist/runtime/helper/ConverterService.js +275 -0
  90. package/dist/runtime/helper/GNSupport.js +8 -0
  91. package/dist/runtime/helper/GNUtils.js +72 -0
  92. package/dist/runtime/logger/GNDebug.js +29 -0
  93. package/dist/runtime/networking/AuthenticateStatus.js +14 -0
  94. package/dist/runtime/networking/IPeer.js +1 -0
  95. package/dist/runtime/networking/NetworkingPeer.js +163 -0
  96. package/dist/runtime/networking/OperationPending.js +53 -0
  97. package/dist/runtime/networking/PeerBase.js +170 -0
  98. package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
  99. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
  100. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
  101. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
  102. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
  103. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
  104. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +35 -0
  105. package/dist/runtime/networking/http/HttpPeer.js +124 -0
  106. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
  107. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +146 -0
  108. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +126 -0
  109. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +176 -0
  110. package/dist/runtime/networking/socket/SocketPeer.js +108 -0
  111. package/dist/runtime/typescript/ServiceUpdate.js +12 -0
  112. package/package.json +1 -1
  113. package/dist/gn.js.client.js +0 -49111
  114. package/dist/gn.js.client.min.js +0 -2
  115. package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
@@ -0,0 +1,263 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { GNNetwork } from "./GNNetwork";
11
+ import { OperationRequest } from "./entity/OperationRequest";
12
+ import { MultiplayerRequestModels } from "./entity/models/MultiplayerRequestModels";
13
+ import { MultiplayerResponseModels } from "./entity/models/MultiplayerResponseModels";
14
+ export class MultiplayerApi {
15
+ constructor() {
16
+ this.server = new ServerMultiplayerApi();
17
+ this.admin = new AdminMultiplayerApi();
18
+ }
19
+ cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
20
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
21
+ }
22
+ cancelAllMatchmakingTicketAsync(requestData_1) {
23
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
24
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
25
+ });
26
+ }
27
+ cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
28
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
29
+ }
30
+ cancelMatchmakingTicketAsync(requestData_1) {
31
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
32
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
33
+ });
34
+ }
35
+ createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
36
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
37
+ }
38
+ createMatchmakingTicketAsync(requestData_1) {
39
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
40
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
41
+ });
42
+ }
43
+ getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
44
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
45
+ }
46
+ getMatchmakingTicketAsync(requestData_1) {
47
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
48
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
49
+ });
50
+ }
51
+ getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
52
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
53
+ }
54
+ getMatchAsync(requestData_1) {
55
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
56
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
57
+ });
58
+ }
59
+ getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
60
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
61
+ }
62
+ getQueueStatisticsAsync(requestData_1) {
63
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
64
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
65
+ });
66
+ }
67
+ joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
68
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
69
+ }
70
+ joinMatchmakingTicketAsync(requestData_1) {
71
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
72
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
73
+ });
74
+ }
75
+ listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
76
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
77
+ }
78
+ listMatchmakingTicketsForPlayerAsync(requestData_1) {
79
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
80
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
81
+ });
82
+ }
83
+ getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
84
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
85
+ }
86
+ getAllMatchAsync(requestData_1) {
87
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
88
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
89
+ });
90
+ }
91
+ getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
92
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
93
+ }
94
+ getAllMatchmakingTicketAsync(requestData_1) {
95
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
96
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
97
+ });
98
+ }
99
+ }
100
+ export class ServerMultiplayerApi {
101
+ cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
102
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
103
+ }
104
+ cancelAllMatchmakingTicketAsync(requestData_1) {
105
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
106
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
107
+ });
108
+ }
109
+ cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
110
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
111
+ }
112
+ cancelMatchmakingTicketAsync(requestData_1) {
113
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
114
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
115
+ });
116
+ }
117
+ createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
118
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
119
+ }
120
+ createMatchmakingTicketAsync(requestData_1) {
121
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
122
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
123
+ });
124
+ }
125
+ getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
126
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
127
+ }
128
+ getMatchmakingTicketAsync(requestData_1) {
129
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
130
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
131
+ });
132
+ }
133
+ getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
134
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
135
+ }
136
+ getMatchAsync(requestData_1) {
137
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
138
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
139
+ });
140
+ }
141
+ getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
142
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
143
+ }
144
+ getQueueStatisticsAsync(requestData_1) {
145
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
146
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
147
+ });
148
+ }
149
+ joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
150
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
151
+ }
152
+ joinMatchmakingTicketAsync(requestData_1) {
153
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
154
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
155
+ });
156
+ }
157
+ listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
158
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
159
+ }
160
+ listMatchmakingTicketsForPlayerAsync(requestData_1) {
161
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
162
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
163
+ });
164
+ }
165
+ getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
166
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
167
+ }
168
+ getAllMatchAsync(requestData_1) {
169
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
170
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
171
+ });
172
+ }
173
+ getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
174
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
175
+ }
176
+ getAllMatchmakingTicketAsync(requestData_1) {
177
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
178
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
179
+ });
180
+ }
181
+ }
182
+ export class AdminMultiplayerApi {
183
+ cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
184
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
185
+ }
186
+ cancelAllMatchmakingTicketAsync(requestData_1) {
187
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
188
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
189
+ });
190
+ }
191
+ cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
192
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
193
+ }
194
+ cancelMatchmakingTicketAsync(requestData_1) {
195
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
196
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
197
+ });
198
+ }
199
+ createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
200
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
201
+ }
202
+ createMatchmakingTicketAsync(requestData_1) {
203
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
204
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
205
+ });
206
+ }
207
+ getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
208
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
209
+ }
210
+ getMatchmakingTicketAsync(requestData_1) {
211
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
212
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
213
+ });
214
+ }
215
+ getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
216
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
217
+ }
218
+ getMatchAsync(requestData_1) {
219
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
220
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
221
+ });
222
+ }
223
+ getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
224
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
225
+ }
226
+ getQueueStatisticsAsync(requestData_1) {
227
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
228
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
229
+ });
230
+ }
231
+ joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
232
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
233
+ }
234
+ joinMatchmakingTicketAsync(requestData_1) {
235
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
236
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
237
+ });
238
+ }
239
+ listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
240
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
241
+ }
242
+ listMatchmakingTicketsForPlayerAsync(requestData_1) {
243
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
244
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
245
+ });
246
+ }
247
+ getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
248
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
249
+ }
250
+ getAllMatchAsync(requestData_1) {
251
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
252
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
253
+ });
254
+ }
255
+ getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
256
+ GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
257
+ }
258
+ getAllMatchmakingTicketAsync(requestData_1) {
259
+ return __awaiter(this, arguments, void 0, function* (requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
260
+ return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
261
+ });
262
+ }
263
+ }