@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,240 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
public class DashboardApi {
|
|
4
|
+
public init() {
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// MARK: - changePasswordAdminAccount
|
|
8
|
+
public func changePasswordAdminAccount(requestData: DashboardModels.ChangePasswordAdminAccountRequestData, onResponse: Action1<DashboardResponseModels.ChangePasswordAdminAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
9
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.ChangePasswordAdminAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.ChangePasswordAdminAccountOperationResponse.self)
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
public func changePasswordAdminAccountAsync(requestData: DashboardModels.ChangePasswordAdminAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.ChangePasswordAdminAccountOperationResponse {
|
|
13
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.ChangePasswordAdminAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.ChangePasswordAdminAccountOperationResponse.self)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// MARK: - getAdminAccountList
|
|
17
|
+
public func getAdminAccountList(requestData: DashboardModels.GetAdminAccountListRequestData, onResponse: Action1<DashboardResponseModels.GetAdminAccountListOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
18
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetAdminAccountListOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetAdminAccountListOperationResponse.self)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
public func getAdminAccountListAsync(requestData: DashboardModels.GetAdminAccountListRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetAdminAccountListOperationResponse {
|
|
22
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetAdminAccountListOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetAdminAccountListOperationResponse.self)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// MARK: - getGameInformation
|
|
26
|
+
public func getGameInformation(requestData: DashboardModels.GetGameInformationRequestData, onResponse: Action1<DashboardResponseModels.GetGameInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
27
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetGameInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetGameInformationOperationResponse.self)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public func getGameInformationAsync(requestData: DashboardModels.GetGameInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetGameInformationOperationResponse {
|
|
31
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetGameInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetGameInformationOperationResponse.self)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// MARK: - getGameList
|
|
35
|
+
public func getGameList(requestData: DashboardModels.GetGameListRequestData, onResponse: Action1<DashboardResponseModels.GetGameListOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
36
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetGameListOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetGameListOperationResponse.self)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public func getGameListAsync(requestData: DashboardModels.GetGameListRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetGameListOperationResponse {
|
|
40
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetGameListOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetGameListOperationResponse.self)
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// MARK: - getMasterGameSettings
|
|
44
|
+
public func getMasterGameSettings(requestData: DashboardModels.GetMasterGameSettingsRequestData, onResponse: Action1<DashboardResponseModels.GetMasterGameSettingsOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
45
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetMasterGameSettingsOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetMasterGameSettingsOperationResponse.self)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public func getMasterGameSettingsAsync(requestData: DashboardModels.GetMasterGameSettingsRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetMasterGameSettingsOperationResponse {
|
|
49
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetMasterGameSettingsOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetMasterGameSettingsOperationResponse.self)
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// MARK: - getSecretInfoInformation
|
|
53
|
+
public func getSecretInfoInformation(requestData: DashboardModels.GetSecretInfoInformationRequestData, onResponse: Action1<DashboardResponseModels.GetSecretInfoInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
54
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetSecretInfoInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetSecretInfoInformationOperationResponse.self)
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public func getSecretInfoInformationAsync(requestData: DashboardModels.GetSecretInfoInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetSecretInfoInformationOperationResponse {
|
|
58
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetSecretInfoInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetSecretInfoInformationOperationResponse.self)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// MARK: - getSecretInfoList
|
|
62
|
+
public func getSecretInfoList(requestData: DashboardModels.GetSecretInfoListRequestData, onResponse: Action1<DashboardResponseModels.GetSecretInfoListOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
63
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetSecretInfoListOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetSecretInfoListOperationResponse.self)
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public func getSecretInfoListAsync(requestData: DashboardModels.GetSecretInfoListRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetSecretInfoListOperationResponse {
|
|
67
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetSecretInfoListOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetSecretInfoListOperationResponse.self)
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// MARK: - getServerLog
|
|
71
|
+
public func getServerLog(requestData: DashboardModels.GetServerLogRequestData, onResponse: Action1<DashboardResponseModels.GetServerLogOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
72
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetServerLogOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetServerLogOperationResponse.self)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
public func getServerLogAsync(requestData: DashboardModels.GetServerLogRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetServerLogOperationResponse {
|
|
76
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetServerLogOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetServerLogOperationResponse.self)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// MARK: - createAdminAccount
|
|
80
|
+
public func createAdminAccount(requestData: DashboardModels.CreateAdminAccountRequestData, onResponse: Action1<DashboardResponseModels.CreateAdminAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
81
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.CreateAdminAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.CreateAdminAccountOperationResponse.self)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public func createAdminAccountAsync(requestData: DashboardModels.CreateAdminAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.CreateAdminAccountOperationResponse {
|
|
85
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.CreateAdminAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.CreateAdminAccountOperationResponse.self)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// MARK: - createGame
|
|
89
|
+
public func createGame(requestData: DashboardModels.CreateGameRequestData, onResponse: Action1<DashboardResponseModels.CreateGameOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
90
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.CreateGameOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.CreateGameOperationResponse.self)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public func createGameAsync(requestData: DashboardModels.CreateGameRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.CreateGameOperationResponse {
|
|
94
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.CreateGameOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.CreateGameOperationResponse.self)
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// MARK: - createSecretInfo
|
|
98
|
+
public func createSecretInfo(requestData: DashboardModels.CreateSecretInfoRequestData, onResponse: Action1<DashboardResponseModels.CreateSecretInfoOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
99
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.CreateSecretInfoOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.CreateSecretInfoOperationResponse.self)
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public func createSecretInfoAsync(requestData: DashboardModels.CreateSecretInfoRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.CreateSecretInfoOperationResponse {
|
|
103
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.CreateSecretInfoOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.CreateSecretInfoOperationResponse.self)
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// MARK: - loginByAdminAccount
|
|
107
|
+
public func loginByAdminAccount(requestData: DashboardModels.LoginByAdminAccountRequestData, onResponse: Action1<DashboardResponseModels.LoginByAdminAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
108
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.LoginByAdminAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.LoginByAdminAccountOperationResponse.self)
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public func loginByAdminAccountAsync(requestData: DashboardModels.LoginByAdminAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.LoginByAdminAccountOperationResponse {
|
|
112
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.LoginByAdminAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.LoginByAdminAccountOperationResponse.self)
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// MARK: - removeAdminAccount
|
|
116
|
+
public func removeAdminAccount(requestData: DashboardModels.RemoveAdminAccountRequestData, onResponse: Action1<DashboardResponseModels.RemoveAdminAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
117
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.RemoveAdminAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.RemoveAdminAccountOperationResponse.self)
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public func removeAdminAccountAsync(requestData: DashboardModels.RemoveAdminAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.RemoveAdminAccountOperationResponse {
|
|
121
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.RemoveAdminAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.RemoveAdminAccountOperationResponse.self)
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// MARK: - setGameInformation
|
|
125
|
+
public func setGameInformation(requestData: DashboardModels.SetGameInformationRequestData, onResponse: Action1<DashboardResponseModels.SetGameInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
126
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.SetGameInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetGameInformationOperationResponse.self)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public func setGameInformationAsync(requestData: DashboardModels.SetGameInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.SetGameInformationOperationResponse {
|
|
130
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.SetGameInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetGameInformationOperationResponse.self)
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// MARK: - setMasterGameSettings
|
|
134
|
+
public func setMasterGameSettings(requestData: DashboardModels.SetMasterGameSettingsRequestData, onResponse: Action1<DashboardResponseModels.SetMasterGameSettingsOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
135
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.SetMasterGameSettingsOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetMasterGameSettingsOperationResponse.self)
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public func setMasterGameSettingsAsync(requestData: DashboardModels.SetMasterGameSettingsRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.SetMasterGameSettingsOperationResponse {
|
|
139
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.SetMasterGameSettingsOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetMasterGameSettingsOperationResponse.self)
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// MARK: - setPasswordAdminAccount
|
|
143
|
+
public func setPasswordAdminAccount(requestData: DashboardModels.SetPasswordAdminAccountRequestData, onResponse: Action1<DashboardResponseModels.SetPasswordAdminAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
144
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.SetPasswordAdminAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetPasswordAdminAccountOperationResponse.self)
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
public func setPasswordAdminAccountAsync(requestData: DashboardModels.SetPasswordAdminAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.SetPasswordAdminAccountOperationResponse {
|
|
148
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.SetPasswordAdminAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetPasswordAdminAccountOperationResponse.self)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// MARK: - setSecretInfoInformation
|
|
152
|
+
public func setSecretInfoInformation(requestData: DashboardModels.SetSecretInfoInformationRequestData, onResponse: Action1<DashboardResponseModels.SetSecretInfoInformationOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
153
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.SetSecretInfoInformationOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetSecretInfoInformationOperationResponse.self)
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
public func setSecretInfoInformationAsync(requestData: DashboardModels.SetSecretInfoInformationRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.SetSecretInfoInformationOperationResponse {
|
|
157
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.SetSecretInfoInformationOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetSecretInfoInformationOperationResponse.self)
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// MARK: - setSecretKeyAdminAccount
|
|
161
|
+
public func setSecretKeyAdminAccount(requestData: DashboardModels.SetSecretKeyAdminAccountRequestData, onResponse: Action1<DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
162
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.SetSecretKeyAdminAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse.self)
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
public func setSecretKeyAdminAccountAsync(requestData: DashboardModels.SetSecretKeyAdminAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse {
|
|
166
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.SetSecretKeyAdminAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse.self)
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// MARK: - getUsernameAdminAccount
|
|
170
|
+
public func getUsernameAdminAccount(requestData: DashboardModels.GetUsernameAdminAccountRequestData, onResponse: Action1<DashboardResponseModels.GetUsernameAdminAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
171
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetUsernameAdminAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetUsernameAdminAccountOperationResponse.self)
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
public func getUsernameAdminAccountAsync(requestData: DashboardModels.GetUsernameAdminAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetUsernameAdminAccountOperationResponse {
|
|
175
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetUsernameAdminAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetUsernameAdminAccountOperationResponse.self)
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// MARK: - getAnalytics
|
|
179
|
+
public func getAnalytics(requestData: DashboardModels.GetAnalyticsRequestData, onResponse: Action1<DashboardResponseModels.GetAnalyticsOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
180
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetAnalyticsOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetAnalyticsOperationResponse.self)
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
public func getAnalyticsAsync(requestData: DashboardModels.GetAnalyticsRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetAnalyticsOperationResponse {
|
|
184
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetAnalyticsOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetAnalyticsOperationResponse.self)
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// MARK: - getEventCallbackCloudScript
|
|
188
|
+
public func getEventCallbackCloudScript(requestData: DashboardModels.GetEventCallbackCloudScriptRequestData, onResponse: Action1<DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
189
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetEventCallbackCloudScriptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse.self)
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
public func getEventCallbackCloudScriptAsync(requestData: DashboardModels.GetEventCallbackCloudScriptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse {
|
|
193
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetEventCallbackCloudScriptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse.self)
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// MARK: - setEventCallbackCloudScript
|
|
197
|
+
public func setEventCallbackCloudScript(requestData: DashboardModels.SetEventCallbackCloudScriptRequestData, onResponse: Action1<DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
198
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.SetEventCallbackCloudScriptOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse.self)
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
public func setEventCallbackCloudScriptAsync(requestData: DashboardModels.SetEventCallbackCloudScriptRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse {
|
|
202
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.SetEventCallbackCloudScriptOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse.self)
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// MARK: - resetStatisticsLeaderboard
|
|
206
|
+
public func resetStatisticsLeaderboard(requestData: DashboardModels.ResetStatisticsLeaderboardRequestData, onResponse: Action1<DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
207
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.ResetStatisticsLeaderboardOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse.self)
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
public func resetStatisticsLeaderboardAsync(requestData: DashboardModels.ResetStatisticsLeaderboardRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse {
|
|
211
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.ResetStatisticsLeaderboardOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse.self)
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// MARK: - getBackupStatisticsLeaderboardVersion
|
|
215
|
+
public func getBackupStatisticsLeaderboardVersion(requestData: DashboardModels.GetBackupStatisticsLeaderboardVersionRequestData, onResponse: Action1<DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
216
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetBackupStatisticsLeaderboardVersionOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse.self)
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
public func getBackupStatisticsLeaderboardVersionAsync(requestData: DashboardModels.GetBackupStatisticsLeaderboardVersionRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse {
|
|
220
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetBackupStatisticsLeaderboardVersionOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse.self)
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// MARK: - getServerGameData
|
|
224
|
+
public func getServerGameData(requestData: DashboardModels.GetServerGameDataRequestData, onResponse: Action1<DashboardResponseModels.GetServerGameDataOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
225
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.GetServerGameDataOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetServerGameDataOperationResponse.self)
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
public func getServerGameDataAsync(requestData: DashboardModels.GetServerGameDataRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.GetServerGameDataOperationResponse {
|
|
229
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.GetServerGameDataOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.GetServerGameDataOperationResponse.self)
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// MARK: - deleteInDatabase
|
|
233
|
+
public func deleteInDatabase(requestData: DashboardModels.DeleteInDatabaseRequestData, onResponse: Action1<DashboardResponseModels.DeleteInDatabaseOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
|
|
234
|
+
GNNetwork.sendViaHttpTRequestTResponse(request: DashboardRequestModels.DeleteInDatabaseOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.DeleteInDatabaseOperationResponse.self)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
public func deleteInDatabaseAsync(requestData: DashboardModels.DeleteInDatabaseRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> DashboardResponseModels.DeleteInDatabaseOperationResponse {
|
|
238
|
+
return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: DashboardRequestModels.DeleteInDatabaseOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: DashboardResponseModels.DeleteInDatabaseOperationResponse.self)
|
|
239
|
+
}
|
|
240
|
+
}
|