@xmobitea/gn-typescript-client 2.6.12 → 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.
- package/dist/gearn.js.client.js +183 -57
- package/dist/gearn.js.client.min.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +183 -57
- package/dist/runtime/GNNetwork.d.ts +1 -1
- package/dist/runtime/helper/GNSupport.d.ts +20 -0
- package/dist/runtime/{entity → helper}/OperationHelper.d.ts +1 -1
- package/dist/runtime/helper/StorageService.d.ts +18 -0
- package/dist/runtime/networking/NetworkingPeer.d.ts +1 -1
- package/dist/runtime/typescript/ServiceUpdate.d.ts +2 -0
- package/docs/COCOS_CREATOR_INTEGRATION.md +116 -0
- package/examples/cocos-creator/GearNExample.ts.txt +176 -0
- package/package.json +3 -2
- package/srcSwift/Package.swift +32 -0
- package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +530 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +178 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +1162 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +154 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +208 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +240 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +1369 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +1100 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +937 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +2323 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +298 -0
- package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +397 -0
- package/srcSwift/Sources/GearN/runtime/common/Action0.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action1.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action2.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action3.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/Action4.swift +3 -0
- package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +204 -0
- package/srcSwift/Sources/GearN/runtime/common/GNData.swift +108 -0
- package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +200 -0
- package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +95 -0
- package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +28 -0
- package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +10 -0
- package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +252 -0
- package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +19 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +8 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +8 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +19 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +7 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +10 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +7 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +16 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +6 -0
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +58 -0
- package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +672 -0
- package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +196 -0
- package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +9 -0
- package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +11 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +38 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +28 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +62 -0
- package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +98 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +351 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +81 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +108 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +1045 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +821 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +588 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +187 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +84 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +59 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +195 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +116 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +81 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +426 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +160 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +82 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +1334 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +643 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +213 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +171 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +850 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +485 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +165 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +679 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +413 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +141 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +378 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +147 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +318 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +319 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +125 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +45 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +633 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +173 -0
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +61 -0
- package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +42 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +49 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +43 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +86 -0
- package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +15 -0
- package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +107 -0
- package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +98 -0
- package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +34 -0
- package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +41 -0
- package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +66 -0
- package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +21 -0
- package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +29 -0
- package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +33 -0
- package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +24 -0
- package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +8 -0
- package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +368 -0
- package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +81 -0
- package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +228 -0
- package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +20 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +226 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +24 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +13 -0
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +125 -0
- package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +19 -0
- package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +13 -0
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +244 -0
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +59 -0
- package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +136 -0
- package/tsconfig-build.cocos.json +31 -0
- package/webpack.config.cocos.mjs +78 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
/// Multiplayer API - Main client class with server and admin sub-APIs
|
|
4
|
+
public class MultiplayerApi {
|
|
5
|
+
public var server: ServerMultiplayerApi = ServerMultiplayerApi()
|
|
6
|
+
public var admin: AdminMultiplayerApi = AdminMultiplayerApi()
|
|
7
|
+
|
|
8
|
+
public init() {}
|
|
9
|
+
|
|
10
|
+
// MARK: - cancelAllMatchmakingTicket
|
|
11
|
+
public func cancelAllMatchmakingTicket(requestData: MultiplayerModels.CancelAllMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
12
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse.self)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public func cancelAllMatchmakingTicketAsync(requestData: MultiplayerModels.CancelAllMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse {
|
|
16
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse.self)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// MARK: - cancelMatchmakingTicket
|
|
20
|
+
public func cancelMatchmakingTicket(requestData: MultiplayerModels.CancelMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
21
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse.self)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public func cancelMatchmakingTicketAsync(requestData: MultiplayerModels.CancelMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse {
|
|
25
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse.self)
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// MARK: - createMatchmakingTicket
|
|
29
|
+
public func createMatchmakingTicket(requestData: MultiplayerModels.CreateMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
30
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse.self)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public func createMatchmakingTicketAsync(requestData: MultiplayerModels.CreateMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse {
|
|
34
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse.self)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// MARK: - getMatchmakingTicket
|
|
38
|
+
public func getMatchmakingTicket(requestData: MultiplayerModels.GetMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
39
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchmakingTicketOperationResponse.self)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public func getMatchmakingTicketAsync(requestData: MultiplayerModels.GetMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetMatchmakingTicketOperationResponse {
|
|
43
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchmakingTicketOperationResponse.self)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// MARK: - getMatch
|
|
47
|
+
public func getMatch(requestData: MultiplayerModels.GetMatchRequestData, onResponse: Action1<MultiplayerResponseModels.GetMatchOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
48
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.GetMatchOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchOperationResponse.self)
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public func getMatchAsync(requestData: MultiplayerModels.GetMatchRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetMatchOperationResponse {
|
|
52
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.GetMatchOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchOperationResponse.self)
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// MARK: - getQueueStatistics
|
|
56
|
+
public func getQueueStatistics(requestData: MultiplayerModels.GetQueueStatisticsRequestData, onResponse: Action1<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
57
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetQueueStatisticsOperationResponse.self)
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public func getQueueStatisticsAsync(requestData: MultiplayerModels.GetQueueStatisticsRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetQueueStatisticsOperationResponse {
|
|
61
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetQueueStatisticsOperationResponse.self)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// MARK: - joinMatchmakingTicket
|
|
65
|
+
public func joinMatchmakingTicket(requestData: MultiplayerModels.JoinMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
66
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse.self)
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public func joinMatchmakingTicketAsync(requestData: MultiplayerModels.JoinMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse {
|
|
70
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse.self)
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// MARK: - leaveMatchmakingTicket
|
|
74
|
+
public func leaveMatchmakingTicket(requestData: MultiplayerModels.LeaveMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.LeaveMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
75
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.LeaveMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.LeaveMatchmakingTicketOperationResponse.self)
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public func leaveMatchmakingTicketAsync(requestData: MultiplayerModels.LeaveMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.LeaveMatchmakingTicketOperationResponse {
|
|
79
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.LeaveMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.LeaveMatchmakingTicketOperationResponse.self)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// MARK: - listMatchmakingTicketsForPlayer
|
|
83
|
+
public func listMatchmakingTicketsForPlayer(requestData: MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData, onResponse: Action1<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
84
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse.self)
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
public func listMatchmakingTicketsForPlayerAsync(requestData: MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse {
|
|
88
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse.self)
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// MARK: - getAllMatch
|
|
92
|
+
public func getAllMatch(requestData: MultiplayerModels.GetAllMatchRequestData, onResponse: Action1<MultiplayerResponseModels.GetAllMatchOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
93
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.GetAllMatchOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchOperationResponse.self)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
public func getAllMatchAsync(requestData: MultiplayerModels.GetAllMatchRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetAllMatchOperationResponse {
|
|
97
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.GetAllMatchOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchOperationResponse.self)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// MARK: - getAllMatchmakingTicket
|
|
101
|
+
public func getAllMatchmakingTicket(requestData: MultiplayerModels.GetAllMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
102
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse.self)
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public func getAllMatchmakingTicketAsync(requestData: MultiplayerModels.GetAllMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse {
|
|
106
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse.self)
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// MARK: - ServerMultiplayerApi
|
|
111
|
+
public class ServerMultiplayerApi {
|
|
112
|
+
public init() {}
|
|
113
|
+
|
|
114
|
+
// MARK: - cancelAllMatchmakingTicket
|
|
115
|
+
public func cancelAllMatchmakingTicket(requestData: MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
116
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse.self)
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public func cancelAllMatchmakingTicketAsync(requestData: MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse {
|
|
120
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse.self)
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// MARK: - cancelMatchmakingTicket
|
|
124
|
+
public func cancelMatchmakingTicket(requestData: MultiplayerModels.ServerCancelMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
125
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse.self)
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
public func cancelMatchmakingTicketAsync(requestData: MultiplayerModels.ServerCancelMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse {
|
|
129
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse.self)
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// MARK: - createMatchmakingTicket
|
|
133
|
+
public func createMatchmakingTicket(requestData: MultiplayerModels.ServerCreateMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
134
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse.self)
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
public func createMatchmakingTicketAsync(requestData: MultiplayerModels.ServerCreateMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse {
|
|
138
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse.self)
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// MARK: - getMatchmakingTicket
|
|
142
|
+
public func getMatchmakingTicket(requestData: MultiplayerModels.ServerGetMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
143
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchmakingTicketOperationResponse.self)
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
public func getMatchmakingTicketAsync(requestData: MultiplayerModels.ServerGetMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetMatchmakingTicketOperationResponse {
|
|
147
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchmakingTicketOperationResponse.self)
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// MARK: - getMatch
|
|
151
|
+
public func getMatch(requestData: MultiplayerModels.ServerGetMatchRequestData, onResponse: Action1<MultiplayerResponseModels.GetMatchOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
152
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchOperationResponse.self)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
public func getMatchAsync(requestData: MultiplayerModels.ServerGetMatchRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetMatchOperationResponse {
|
|
156
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchOperationResponse.self)
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// MARK: - getQueueStatistics
|
|
160
|
+
public func getQueueStatistics(requestData: MultiplayerModels.ServerGetQueueStatisticsRequestData, onResponse: Action1<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
161
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetQueueStatisticsOperationResponse.self)
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
public func getQueueStatisticsAsync(requestData: MultiplayerModels.ServerGetQueueStatisticsRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetQueueStatisticsOperationResponse {
|
|
165
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetQueueStatisticsOperationResponse.self)
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// MARK: - joinMatchmakingTicket
|
|
169
|
+
public func joinMatchmakingTicket(requestData: MultiplayerModels.ServerJoinMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
170
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse.self)
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
public func joinMatchmakingTicketAsync(requestData: MultiplayerModels.ServerJoinMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse {
|
|
174
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse.self)
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// MARK: - listMatchmakingTicketsForPlayer
|
|
178
|
+
public func listMatchmakingTicketsForPlayer(requestData: MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData, onResponse: Action1<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
179
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse.self)
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
public func listMatchmakingTicketsForPlayerAsync(requestData: MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse {
|
|
183
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse.self)
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// MARK: - getAllMatch
|
|
187
|
+
public func getAllMatch(requestData: MultiplayerModels.ServerGetAllMatchRequestData, onResponse: Action1<MultiplayerResponseModels.GetAllMatchOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
188
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchOperationResponse.self)
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
public func getAllMatchAsync(requestData: MultiplayerModels.ServerGetAllMatchRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetAllMatchOperationResponse {
|
|
192
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchOperationResponse.self)
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// MARK: - getAllMatchmakingTicket
|
|
196
|
+
public func getAllMatchmakingTicket(requestData: MultiplayerModels.ServerGetAllMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
197
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse.self)
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
public func getAllMatchmakingTicketAsync(requestData: MultiplayerModels.ServerGetAllMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse {
|
|
201
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse.self)
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// MARK: - AdminMultiplayerApi
|
|
206
|
+
public class AdminMultiplayerApi {
|
|
207
|
+
public init() {}
|
|
208
|
+
|
|
209
|
+
// MARK: - cancelAllMatchmakingTicket
|
|
210
|
+
public func cancelAllMatchmakingTicket(requestData: MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
211
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse.self)
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
public func cancelAllMatchmakingTicketAsync(requestData: MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse {
|
|
215
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse.self)
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// MARK: - cancelMatchmakingTicket
|
|
219
|
+
public func cancelMatchmakingTicket(requestData: MultiplayerModels.AdminCancelMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
220
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse.self)
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
public func cancelMatchmakingTicketAsync(requestData: MultiplayerModels.AdminCancelMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse {
|
|
224
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse.self)
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// MARK: - createMatchmakingTicket
|
|
228
|
+
public func createMatchmakingTicket(requestData: MultiplayerModels.AdminCreateMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
229
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse.self)
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
public func createMatchmakingTicketAsync(requestData: MultiplayerModels.AdminCreateMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse {
|
|
233
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse.self)
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// MARK: - getMatchmakingTicket
|
|
237
|
+
public func getMatchmakingTicket(requestData: MultiplayerModels.AdminGetMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
238
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchmakingTicketOperationResponse.self)
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
public func getMatchmakingTicketAsync(requestData: MultiplayerModels.AdminGetMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetMatchmakingTicketOperationResponse {
|
|
242
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchmakingTicketOperationResponse.self)
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// MARK: - getMatch
|
|
246
|
+
public func getMatch(requestData: MultiplayerModels.AdminGetMatchRequestData, onResponse: Action1<MultiplayerResponseModels.GetMatchOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
247
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchOperationResponse.self)
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
public func getMatchAsync(requestData: MultiplayerModels.AdminGetMatchRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetMatchOperationResponse {
|
|
251
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetMatchOperationResponse.self)
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// MARK: - getQueueStatistics
|
|
255
|
+
public func getQueueStatistics(requestData: MultiplayerModels.AdminGetQueueStatisticsRequestData, onResponse: Action1<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
256
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetQueueStatisticsOperationResponse.self)
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
public func getQueueStatisticsAsync(requestData: MultiplayerModels.AdminGetQueueStatisticsRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetQueueStatisticsOperationResponse {
|
|
260
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetQueueStatisticsOperationResponse.self)
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// MARK: - joinMatchmakingTicket
|
|
264
|
+
public func joinMatchmakingTicket(requestData: MultiplayerModels.AdminJoinMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
265
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse.self)
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
public func joinMatchmakingTicketAsync(requestData: MultiplayerModels.AdminJoinMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse {
|
|
269
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse.self)
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// MARK: - listMatchmakingTicketsForPlayer
|
|
273
|
+
public func listMatchmakingTicketsForPlayer(requestData: MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData, onResponse: Action1<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
274
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse.self)
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
public func listMatchmakingTicketsForPlayerAsync(requestData: MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse {
|
|
278
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse.self)
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// MARK: - getAllMatch
|
|
282
|
+
public func getAllMatch(requestData: MultiplayerModels.AdminGetAllMatchRequestData, onResponse: Action1<MultiplayerResponseModels.GetAllMatchOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
283
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchOperationResponse.self)
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
public func getAllMatchAsync(requestData: MultiplayerModels.AdminGetAllMatchRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetAllMatchOperationResponse {
|
|
287
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchOperationResponse.self)
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// MARK: - getAllMatchmakingTicket
|
|
291
|
+
public func getAllMatchmakingTicket(requestData: MultiplayerModels.AdminGetAllMatchmakingTicketRequestData, onResponse: Action1<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
292
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse.self)
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
public func getAllMatchmakingTicketAsync(requestData: MultiplayerModels.AdminGetAllMatchmakingTicketRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse {
|
|
296
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse.self)
|
|
297
|
+
}
|
|
298
|
+
}
|