@xmobitea/gn-typescript-client 2.6.12 → 2.6.13-tsc
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/index.d.ts +2 -2
- package/dist/index.js +339 -34236
- package/dist/runtime/GNNetwork.d.ts +1 -1
- package/dist/runtime/GNNetwork.js +273 -0
- package/dist/runtime/GNNetworkAuthenticateApi.js +122 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +968 -0
- package/dist/runtime/GNNetworkCloudScriptApi.js +104 -0
- package/dist/runtime/GNNetworkContentApi.js +140 -0
- package/dist/runtime/GNNetworkDashboardApi.js +170 -0
- package/dist/runtime/GNNetworkGamePlayerApi.js +950 -0
- package/dist/runtime/GNNetworkGroupApi.js +734 -0
- package/dist/runtime/GNNetworkInventoryApi.js +626 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.js +1550 -0
- package/dist/runtime/GNNetworkMultiplayerApi.js +194 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.js +266 -0
- package/dist/runtime/common/Action0.js +1 -0
- package/dist/runtime/common/Action1.js +1 -0
- package/dist/runtime/common/Action2.js +1 -0
- package/dist/runtime/common/Action3.js +1 -0
- package/dist/runtime/common/Action4.js +1 -0
- package/dist/runtime/common/GNData.js +209 -0
- package/dist/runtime/config/GNServerSettings.js +156 -0
- package/dist/runtime/constant/Commands.js +20 -0
- package/dist/runtime/constant/EventCode.js +8 -0
- package/dist/runtime/constant/OperationCode.js +221 -0
- package/dist/runtime/constant/ReturnCode.js +14 -0
- package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
- package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
- package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
- package/dist/runtime/constant/enumType/ItemType.js +5 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
- package/dist/runtime/constant/enumType/OwnerType.js +9 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
- package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
- package/dist/runtime/constant/enumType/RequestRole.js +6 -0
- package/dist/runtime/constant/enumType/RequestType.js +15 -0
- package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
- package/dist/runtime/constant/errorCode/ErrorCode.js +52 -0
- package/dist/runtime/constant/parameterCode/ParameterCode.js +617 -0
- package/dist/runtime/entity/DataMember.js +208 -0
- package/dist/runtime/entity/GNMetadata.js +11 -0
- package/dist/runtime/entity/InvalidMember.js +1 -0
- package/dist/runtime/entity/OperationEvent.js +24 -0
- package/dist/runtime/entity/OperationRequest.js +42 -0
- package/dist/runtime/entity/OperationResponse.js +73 -0
- package/dist/runtime/entity/models/AuthenticateModels.js +426 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +188 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.js +1433 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1386 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
- package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +138 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
- package/dist/runtime/entity/models/ContentModels.js +203 -0
- package/dist/runtime/entity/models/ContentRequestModels.js +190 -0
- package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
- package/dist/runtime/entity/models/DashboardModels.js +3002 -0
- package/dist/runtime/entity/models/DashboardRequestModels.js +268 -0
- package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
- package/dist/runtime/entity/models/GamePlayerModels.js +1591 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +1360 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/GenericModels.js +177 -0
- package/dist/runtime/entity/models/GroupModels.js +1135 -0
- package/dist/runtime/entity/models/GroupRequestModels.js +1048 -0
- package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
- package/dist/runtime/entity/models/InventoryModels.js +915 -0
- package/dist/runtime/entity/models/InventoryRequestModels.js +892 -0
- package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
- package/dist/runtime/entity/models/MasterPlayerModels.js +2573 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2228 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
- package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +268 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
- package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +372 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
- package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
- package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
- package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
- package/dist/runtime/entity/response/HealthCheckResponse.js +2 -0
- package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
- package/dist/runtime/helper/CodeHelper.js +63 -0
- package/dist/runtime/helper/ConverterService.js +275 -0
- package/dist/runtime/helper/EnumUtility.js +33 -0
- package/dist/runtime/helper/GNSupport.d.ts +20 -0
- package/dist/runtime/helper/GNSupport.js +47 -0
- package/dist/runtime/helper/GNUtils.js +72 -0
- package/dist/runtime/helper/MessagePackConverterService.js +9 -0
- package/dist/runtime/{entity → helper}/OperationHelper.d.ts +1 -1
- package/dist/runtime/helper/OperationHelper.js +24 -0
- package/dist/runtime/helper/StorageService.d.ts +18 -0
- package/dist/runtime/helper/StorageService.js +62 -0
- package/dist/runtime/logger/GNDebug.js +29 -0
- package/dist/runtime/networking/AuthenticateStatus.js +14 -0
- package/dist/runtime/networking/IPeer.js +1 -0
- package/dist/runtime/networking/NetworkingPeer.d.ts +1 -1
- package/dist/runtime/networking/NetworkingPeer.js +210 -0
- package/dist/runtime/networking/OperationPending.js +53 -0
- package/dist/runtime/networking/PeerBase.js +161 -0
- package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +43 -0
- package/dist/runtime/networking/http/HttpPeer.js +123 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +9 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +179 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +130 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +165 -0
- package/dist/runtime/networking/socket/SocketPeer.js +115 -0
- package/dist/runtime/typescript/ServiceUpdate.d.ts +2 -0
- package/dist/runtime/typescript/ServiceUpdate.js +22 -0
- package/docs/COCOS_CREATOR_INTEGRATION.md +116 -0
- package/examples/cocos-creator/GearNExample.ts.txt +176 -0
- package/package.json +4 -3
- 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
- package/dist/gearn.js.client.js +0 -47228
- package/dist/gearn.js.client.min.js +0 -2
- package/dist/gearn.js.client.min.js.LICENSE.txt +0 -14
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
public enum DashboardRequestModels {
|
|
4
|
+
|
|
5
|
+
public class ChangePasswordAdminAccountOperationRequest: CustomOperationRequest<DashboardModels.ChangePasswordAdminAccountRequestData> {
|
|
6
|
+
public init(requestData: DashboardModels.ChangePasswordAdminAccountRequestData, timeout: Int) {
|
|
7
|
+
super.init(requestData: requestData, operationCode: OperationCode.ChangePasswordAdminAccount, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public class GetAdminAccountListOperationRequest: CustomOperationRequest<DashboardModels.GetAdminAccountListRequestData> {
|
|
12
|
+
public init(requestData: DashboardModels.GetAdminAccountListRequestData, timeout: Int) {
|
|
13
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetAdminAccountList, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
public class GetGameInformationOperationRequest: CustomOperationRequest<DashboardModels.GetGameInformationRequestData> {
|
|
18
|
+
public init(requestData: DashboardModels.GetGameInformationRequestData, timeout: Int) {
|
|
19
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetGameInformation, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
public class GetGameListOperationRequest: CustomOperationRequest<DashboardModels.GetGameListRequestData> {
|
|
24
|
+
public init(requestData: DashboardModels.GetGameListRequestData, timeout: Int) {
|
|
25
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetGameList, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public class GetMasterGameSettingsOperationRequest: CustomOperationRequest<DashboardModels.GetMasterGameSettingsRequestData> {
|
|
30
|
+
public init(requestData: DashboardModels.GetMasterGameSettingsRequestData, timeout: Int) {
|
|
31
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetMasterGameSettings, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public class GetSecretInfoInformationOperationRequest: CustomOperationRequest<DashboardModels.GetSecretInfoInformationRequestData> {
|
|
36
|
+
public init(requestData: DashboardModels.GetSecretInfoInformationRequestData, timeout: Int) {
|
|
37
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetSecretInfoInformation, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public class GetSecretInfoListOperationRequest: CustomOperationRequest<DashboardModels.GetSecretInfoListRequestData> {
|
|
42
|
+
public init(requestData: DashboardModels.GetSecretInfoListRequestData, timeout: Int) {
|
|
43
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetSecretInfoList, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public class GetServerLogOperationRequest: CustomOperationRequest<DashboardModels.GetServerLogRequestData> {
|
|
48
|
+
public init(requestData: DashboardModels.GetServerLogRequestData, timeout: Int) {
|
|
49
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetServerLog, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public class CreateAdminAccountOperationRequest: CustomOperationRequest<DashboardModels.CreateAdminAccountRequestData> {
|
|
54
|
+
public init(requestData: DashboardModels.CreateAdminAccountRequestData, timeout: Int) {
|
|
55
|
+
super.init(requestData: requestData, operationCode: OperationCode.CreateAdminAccount, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public class CreateGameOperationRequest: CustomOperationRequest<DashboardModels.CreateGameRequestData> {
|
|
60
|
+
public init(requestData: DashboardModels.CreateGameRequestData, timeout: Int) {
|
|
61
|
+
super.init(requestData: requestData, operationCode: OperationCode.CreateGame, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public class CreateSecretInfoOperationRequest: CustomOperationRequest<DashboardModels.CreateSecretInfoRequestData> {
|
|
66
|
+
public init(requestData: DashboardModels.CreateSecretInfoRequestData, timeout: Int) {
|
|
67
|
+
super.init(requestData: requestData, operationCode: OperationCode.CreateSecretInfo, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public class LoginByAdminAccountOperationRequest: CustomOperationRequest<DashboardModels.LoginByAdminAccountRequestData> {
|
|
72
|
+
public init(requestData: DashboardModels.LoginByAdminAccountRequestData, timeout: Int) {
|
|
73
|
+
super.init(requestData: requestData, operationCode: OperationCode.LoginByAdminAccount, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
public class RemoveAdminAccountOperationRequest: CustomOperationRequest<DashboardModels.RemoveAdminAccountRequestData> {
|
|
78
|
+
public init(requestData: DashboardModels.RemoveAdminAccountRequestData, timeout: Int) {
|
|
79
|
+
super.init(requestData: requestData, operationCode: OperationCode.RemoveAdminAccount, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public class SetGameInformationOperationRequest: CustomOperationRequest<DashboardModels.SetGameInformationRequestData> {
|
|
84
|
+
public init(requestData: DashboardModels.SetGameInformationRequestData, timeout: Int) {
|
|
85
|
+
super.init(requestData: requestData, operationCode: OperationCode.SetGameInformation, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
public class SetMasterGameSettingsOperationRequest: CustomOperationRequest<DashboardModels.SetMasterGameSettingsRequestData> {
|
|
90
|
+
public init(requestData: DashboardModels.SetMasterGameSettingsRequestData, timeout: Int) {
|
|
91
|
+
super.init(requestData: requestData, operationCode: OperationCode.SetMasterGameSettings, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public class SetPasswordAdminAccountOperationRequest: CustomOperationRequest<DashboardModels.SetPasswordAdminAccountRequestData> {
|
|
96
|
+
public init(requestData: DashboardModels.SetPasswordAdminAccountRequestData, timeout: Int) {
|
|
97
|
+
super.init(requestData: requestData, operationCode: OperationCode.SetPasswordAdminAccount, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
public class SetSecretInfoInformationOperationRequest: CustomOperationRequest<DashboardModels.SetSecretInfoInformationRequestData> {
|
|
102
|
+
public init(requestData: DashboardModels.SetSecretInfoInformationRequestData, timeout: Int) {
|
|
103
|
+
super.init(requestData: requestData, operationCode: OperationCode.SetSecretInfoInformation, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public class SetSecretKeyAdminAccountOperationRequest: CustomOperationRequest<DashboardModels.SetSecretKeyAdminAccountRequestData> {
|
|
108
|
+
public init(requestData: DashboardModels.SetSecretKeyAdminAccountRequestData, timeout: Int) {
|
|
109
|
+
super.init(requestData: requestData, operationCode: OperationCode.SetSecretKeyAdminAccount, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
public class GetUsernameAdminAccountOperationRequest: CustomOperationRequest<DashboardModels.GetUsernameAdminAccountRequestData> {
|
|
114
|
+
public init(requestData: DashboardModels.GetUsernameAdminAccountRequestData, timeout: Int) {
|
|
115
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetUsernameAdminAccount, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public class GetAnalyticsOperationRequest: CustomOperationRequest<DashboardModels.GetAnalyticsRequestData> {
|
|
120
|
+
public init(requestData: DashboardModels.GetAnalyticsRequestData, timeout: Int) {
|
|
121
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetAnalytics, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public class GetEventCallbackCloudScriptOperationRequest: CustomOperationRequest<DashboardModels.GetEventCallbackCloudScriptRequestData> {
|
|
126
|
+
public init(requestData: DashboardModels.GetEventCallbackCloudScriptRequestData, timeout: Int) {
|
|
127
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetEventCallbackCloudScript, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
public class SetEventCallbackCloudScriptOperationRequest: CustomOperationRequest<DashboardModels.SetEventCallbackCloudScriptRequestData> {
|
|
132
|
+
public init(requestData: DashboardModels.SetEventCallbackCloudScriptRequestData, timeout: Int) {
|
|
133
|
+
super.init(requestData: requestData, operationCode: OperationCode.SetEventCallbackCloudScript, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
public class ResetStatisticsLeaderboardOperationRequest: CustomOperationRequest<DashboardModels.ResetStatisticsLeaderboardRequestData> {
|
|
138
|
+
public init(requestData: DashboardModels.ResetStatisticsLeaderboardRequestData, timeout: Int) {
|
|
139
|
+
super.init(requestData: requestData, operationCode: OperationCode.ResetStatisticsLeaderboard, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public class GetBackupStatisticsLeaderboardVersionOperationRequest: CustomOperationRequest<DashboardModels.GetBackupStatisticsLeaderboardVersionRequestData> {
|
|
144
|
+
public init(requestData: DashboardModels.GetBackupStatisticsLeaderboardVersionRequestData, timeout: Int) {
|
|
145
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetBackupStatisticsLeaderboardVersion, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
public class GetServerGameDataOperationRequest: CustomOperationRequest<DashboardModels.GetServerGameDataRequestData> {
|
|
150
|
+
public init(requestData: DashboardModels.GetServerGameDataRequestData, timeout: Int) {
|
|
151
|
+
super.init(requestData: requestData, operationCode: OperationCode.GetServerGameData, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
public class DeleteInDatabaseOperationRequest: CustomOperationRequest<DashboardModels.DeleteInDatabaseRequestData> {
|
|
156
|
+
public init(requestData: DashboardModels.DeleteInDatabaseRequestData, timeout: Int) {
|
|
157
|
+
super.init(requestData: requestData, operationCode: OperationCode.DeleteInDatabase, requestType: RequestType.dashboard, role: RequestRole.client, timeout: timeout)
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
public enum DashboardResponseModels {
|
|
4
|
+
|
|
5
|
+
public class ChangePasswordAdminAccountOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
public class GetAdminAccountListOperationResponse: CustomOperationResponse<DashboardModels.GetAdminAccountListResponseData> {
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public class GetGameInformationOperationResponse: CustomOperationResponse<DashboardModels.GetGameInformationResponseData> {
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
public class GetGameListOperationResponse: CustomOperationResponse<DashboardModels.GetGameListResponseData> {
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
public class GetMasterGameSettingsOperationResponse: CustomOperationResponse<DashboardModels.GetMasterGameSettingsResponseData> {
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
public class GetSecretInfoInformationOperationResponse: CustomOperationResponse<DashboardModels.GetSecretInfoInformationResponseData> {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
public class GetSecretInfoListOperationResponse: CustomOperationResponse<DashboardModels.GetSecretInfoListResponseData> {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
public class GetServerLogOperationResponse: CustomOperationResponse<DashboardModels.GetServerLogResponseData> {
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public class CreateAdminAccountOperationResponse: CustomOperationResponse<DashboardModels.CreateAdminAccountResponseData> {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public class CreateGameOperationResponse: CustomOperationResponse<DashboardModels.GameWithGameIdResponseData> {
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public class CreateSecretInfoOperationResponse: CustomOperationResponse<DashboardModels.SecretInfoWithSecretKeyResponseData> {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public class LoginByAdminAccountOperationResponse: CustomOperationResponse<DashboardModels.LoginByAdminAccountResponseData> {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public class RemoveAdminAccountOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public class SetGameInformationOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public class SetMasterGameSettingsOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public class SetPasswordAdminAccountOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public class SetSecretInfoInformationOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public class SetSecretKeyAdminAccountOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public class GetUsernameAdminAccountOperationResponse: CustomOperationResponse<DashboardModels.GetUsernameAdminAccountResponseData> {
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public class GetAnalyticsOperationResponse: CustomOperationResponse<DashboardModels.GetAnalyticsResponseData> {
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public class GetEventCallbackCloudScriptOperationResponse: CustomOperationResponse<DashboardModels.GetEventCallbackCloudScriptResponseData> {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
public class SetEventCallbackCloudScriptOperationResponse: CustomOperationResponse<DashboardModels.SetEventCallbackCloudScriptResponseData> {
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public class ResetStatisticsLeaderboardOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public class GetBackupStatisticsLeaderboardVersionOperationResponse: CustomOperationResponse<DashboardModels.GetBackupStatisticsLeaderboardVersionResponseData> {
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
public class GetServerGameDataOperationResponse: CustomOperationResponse<DashboardModels.GetServerGameDataResponseData> {
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public class DeleteInDatabaseOperationResponse: CustomOperationResponse<DashboardModels.EmptyResponseData> {
|
|
81
|
+
}
|
|
82
|
+
}
|