@xmobitea/gn-typescript-client 2.0.4 → 2.0.6
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/GNServerSettingsConfig.debug.json +3 -3
- package/dist/gn.js.client.js +50188 -0
- package/dist/gn.js.client.min.js +1 -1
- package/dist/index.d.ts +190 -190
- package/dist/index.js +24803 -22847
- package/dist/runtime/GNNetwork.d.ts +66 -67
- package/dist/runtime/GNNetworkAuthenticateApi.d.ts +28 -27
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +156 -156
- package/dist/runtime/GNNetworkContentApi.d.ts +33 -33
- package/dist/runtime/GNNetworkDashboardApi.d.ts +30 -30
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +153 -153
- package/dist/runtime/GNNetworkGroupApi.d.ts +120 -120
- package/dist/runtime/GNNetworkInventoryApi.d.ts +108 -108
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +217 -217
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +39 -39
- package/dist/runtime/common/Action0.d.ts +1 -1
- package/dist/runtime/common/Action1.d.ts +1 -1
- package/dist/runtime/common/Action2.d.ts +1 -1
- package/dist/runtime/common/Action3.d.ts +1 -1
- package/dist/runtime/common/Action4.d.ts +1 -1
- package/dist/runtime/common/GNData.d.ts +69 -69
- package/dist/runtime/config/GNServerSettings.d.ts +64 -64
- package/dist/runtime/constant/Commands.d.ts +17 -17
- package/dist/runtime/constant/EventCode.d.ts +8 -8
- package/dist/runtime/constant/OperationCode.d.ts +175 -174
- package/dist/runtime/constant/ReturnCode.d.ts +14 -14
- package/dist/runtime/constant/enumType/FriendStatus.d.ts +6 -6
- package/dist/runtime/constant/enumType/GoogleLoginType.d.ts +4 -4
- package/dist/runtime/constant/enumType/GroupStatus.d.ts +6 -6
- package/dist/runtime/constant/enumType/InvalidMemberType.d.ts +17 -17
- package/dist/runtime/constant/enumType/ItemType.d.ts +4 -4
- package/dist/runtime/constant/enumType/LoginType.d.ts +10 -10
- package/dist/runtime/constant/enumType/OwnerType.d.ts +6 -6
- package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +4 -4
- package/dist/runtime/constant/enumType/RequestRole.d.ts +5 -5
- package/dist/runtime/constant/enumType/RequestType.d.ts +12 -12
- package/dist/runtime/constant/enumType/StatisticsAggregationMethod.d.ts +6 -6
- package/dist/runtime/constant/enumType/UserRoleType.d.ts +8 -8
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +40 -39
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +376 -375
- package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +6 -6
- package/dist/runtime/entity/DataMember.d.ts +77 -77
- package/dist/runtime/entity/GNMetadata.d.ts +22 -22
- package/dist/runtime/entity/InvalidMember.d.ts +5 -5
- package/dist/runtime/entity/OperationEvent.d.ts +14 -14
- package/dist/runtime/entity/OperationHelper.d.ts +7 -7
- package/dist/runtime/entity/OperationRequest.d.ts +21 -21
- package/dist/runtime/entity/OperationResponse.d.ts +27 -27
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +116 -108
- package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +118 -111
- package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +52 -34
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +493 -493
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +726 -726
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +148 -100
- package/dist/runtime/entity/models/ContentModels.d.ts +90 -90
- package/dist/runtime/entity/models/ContentRequestModels.d.ts +111 -111
- package/dist/runtime/entity/models/ContentResponseModels.d.ts +25 -18
- package/dist/runtime/entity/models/DashboardModels.d.ts +546 -545
- package/dist/runtime/entity/models/DashboardRequestModels.d.ts +132 -132
- package/dist/runtime/entity/models/DashboardResponseModels.d.ts +58 -40
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +531 -531
- package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +711 -711
- package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +145 -98
- package/dist/runtime/entity/models/GenericModels.d.ts +59 -59
- package/dist/runtime/entity/models/GroupModels.d.ts +387 -387
- package/dist/runtime/entity/models/GroupRequestModels.d.ts +546 -546
- package/dist/runtime/entity/models/GroupResponseModels.d.ts +112 -76
- package/dist/runtime/entity/models/InventoryModels.d.ts +331 -331
- package/dist/runtime/entity/models/InventoryRequestModels.d.ts +486 -486
- package/dist/runtime/entity/models/InventoryResponseModels.d.ts +100 -68
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +767 -767
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1033 -1033
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +211 -142
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +187 -187
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +141 -141
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +31 -22
- package/dist/runtime/entity/request/CustomOperationRequest.d.ts +21 -19
- package/dist/runtime/entity/response/CustomOperationResponse.d.ts +20 -19
- package/dist/runtime/helper/CodeHelper.d.ts +15 -15
- package/dist/runtime/helper/ConverterService.d.ts +14 -14
- package/dist/runtime/helper/GNSupport.d.ts +5 -5
- package/dist/runtime/logger/GNDebug.d.ts +15 -15
- package/dist/runtime/networking/AuthenticateStatus.d.ts +8 -11
- package/dist/runtime/networking/IPeer.d.ts +12 -12
- package/dist/runtime/networking/NetworkingPeer.d.ts +40 -40
- package/dist/runtime/networking/OperationPending.d.ts +30 -30
- package/dist/runtime/networking/PeerBase.d.ts +30 -30
- package/dist/runtime/networking/handler/IServerEventHandler.d.ts +14 -14
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +13 -13
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +13 -13
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +13 -13
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +13 -13
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +12 -12
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +12 -12
- package/dist/runtime/networking/http/HttpPeer.d.ts +24 -24
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +11 -11
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +13 -13
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +25 -25
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +48 -48
- package/dist/runtime/networking/socket/SocketPeer.d.ts +28 -28
- package/dist/runtime/typescript/ServiceUpdate.d.ts +6 -6
- package/package.json +16 -14
- package/tsconfig-build.min.udm.json +13 -0
- package/tsconfig.min.udm.json +9 -0
- package/webpack.config.min.udm.js +48 -0
|
@@ -1,67 +1,66 @@
|
|
|
1
|
-
import { Action0 } from "./common/Action0";
|
|
2
|
-
import { Action1 } from "./common/Action1";
|
|
3
|
-
import { GNHashtable } from "./common/GNData";
|
|
4
|
-
import { GNServerSettings } from "./config/GNServerSettings";
|
|
5
|
-
import { OperationRequest } from "./entity/OperationRequest";
|
|
6
|
-
import { OperationResponse } from "./entity/OperationResponse";
|
|
7
|
-
import { IServerEventHandler } from "./networking/handler/IServerEventHandler";
|
|
8
|
-
import { NetworkingPeer } from "./networking/NetworkingPeer";
|
|
9
|
-
import { OperationEvent } from "./entity/OperationEvent";
|
|
10
|
-
import { AuthenticateStatus } from "./networking/AuthenticateStatus";
|
|
11
|
-
import { RequestType } from "./constant/enumType/RequestType";
|
|
12
|
-
import { RequestRole } from "./constant/enumType/RequestRole";
|
|
13
|
-
import { CustomOperationRequest } from "./entity/request/CustomOperationRequest";
|
|
14
|
-
import { CustomOperationResponse } from "./entity/response/CustomOperationResponse";
|
|
15
|
-
import { Constructor } from "./entity/GNMetadata";
|
|
16
|
-
import { AuthenticateApi } from "./GNNetworkAuthenticateApi";
|
|
17
|
-
import { CharacterPlayerApi } from "./GNNetworkCharacterPlayerApi";
|
|
18
|
-
import { ContentApi } from "./GNNetworkContentApi";
|
|
19
|
-
import { DashboardApi } from "./GNNetworkDashboardApi";
|
|
20
|
-
import { GamePlayerApi } from "./GNNetworkGamePlayerApi";
|
|
21
|
-
import { GroupApi } from "./GNNetworkGroupApi";
|
|
22
|
-
import { InventoryApi } from "./GNNetworkInventoryApi";
|
|
23
|
-
import { MasterPlayerApi } from "./GNNetworkMasterPlayerApi";
|
|
24
|
-
import { StoreInventoryApi } from "./GNNetworkStoreInventoryApi";
|
|
25
|
-
export declare class GNNetwork {
|
|
26
|
-
static readonly AUTH_TOKEN_KEY = "[GN]_AUTH_TOKEN_KEY";
|
|
27
|
-
static readonly USER_ID_KEY = "[GN]_USER_ID_KEY";
|
|
28
|
-
static
|
|
29
|
-
|
|
30
|
-
static
|
|
31
|
-
static
|
|
32
|
-
static
|
|
33
|
-
static
|
|
34
|
-
static
|
|
35
|
-
static
|
|
36
|
-
static
|
|
37
|
-
static
|
|
38
|
-
static
|
|
39
|
-
static
|
|
40
|
-
static
|
|
41
|
-
static
|
|
42
|
-
static
|
|
43
|
-
static
|
|
44
|
-
static
|
|
45
|
-
static
|
|
46
|
-
static
|
|
47
|
-
static
|
|
48
|
-
static
|
|
49
|
-
private static
|
|
50
|
-
private static
|
|
51
|
-
|
|
52
|
-
static
|
|
53
|
-
static
|
|
54
|
-
static
|
|
55
|
-
static
|
|
56
|
-
static
|
|
57
|
-
static
|
|
58
|
-
static
|
|
59
|
-
static
|
|
60
|
-
static
|
|
61
|
-
static
|
|
62
|
-
static
|
|
63
|
-
static
|
|
64
|
-
static
|
|
65
|
-
static
|
|
66
|
-
|
|
67
|
-
}
|
|
1
|
+
import { Action0 } from "./common/Action0";
|
|
2
|
+
import { Action1 } from "./common/Action1";
|
|
3
|
+
import { GNHashtable } from "./common/GNData";
|
|
4
|
+
import { GNServerSettings } from "./config/GNServerSettings";
|
|
5
|
+
import { OperationRequest } from "./entity/OperationRequest";
|
|
6
|
+
import { OperationResponse } from "./entity/OperationResponse";
|
|
7
|
+
import { IServerEventHandler } from "./networking/handler/IServerEventHandler";
|
|
8
|
+
import { NetworkingPeer } from "./networking/NetworkingPeer";
|
|
9
|
+
import { OperationEvent } from "./entity/OperationEvent";
|
|
10
|
+
import { AuthenticateStatus } from "./networking/AuthenticateStatus";
|
|
11
|
+
import { RequestType } from "./constant/enumType/RequestType";
|
|
12
|
+
import { RequestRole } from "./constant/enumType/RequestRole";
|
|
13
|
+
import { CustomOperationRequest } from "./entity/request/CustomOperationRequest";
|
|
14
|
+
import { CustomOperationResponse } from "./entity/response/CustomOperationResponse";
|
|
15
|
+
import { Constructor } from "./entity/GNMetadata";
|
|
16
|
+
import { AuthenticateApi } from "./GNNetworkAuthenticateApi";
|
|
17
|
+
import { CharacterPlayerApi } from "./GNNetworkCharacterPlayerApi";
|
|
18
|
+
import { ContentApi } from "./GNNetworkContentApi";
|
|
19
|
+
import { DashboardApi } from "./GNNetworkDashboardApi";
|
|
20
|
+
import { GamePlayerApi } from "./GNNetworkGamePlayerApi";
|
|
21
|
+
import { GroupApi } from "./GNNetworkGroupApi";
|
|
22
|
+
import { InventoryApi } from "./GNNetworkInventoryApi";
|
|
23
|
+
import { MasterPlayerApi } from "./GNNetworkMasterPlayerApi";
|
|
24
|
+
import { StoreInventoryApi } from "./GNNetworkStoreInventoryApi";
|
|
25
|
+
export declare class GNNetwork {
|
|
26
|
+
static readonly AUTH_TOKEN_KEY = "[GN]_AUTH_TOKEN_KEY";
|
|
27
|
+
static readonly USER_ID_KEY = "[GN]_USER_ID_KEY";
|
|
28
|
+
private static gnServerSettings;
|
|
29
|
+
static getGNServerSettings(): GNServerSettings;
|
|
30
|
+
static peer: NetworkingPeer;
|
|
31
|
+
static getPing(): number;
|
|
32
|
+
static getSocketSId(): string;
|
|
33
|
+
static isSocketConnected(): boolean;
|
|
34
|
+
static getServerTimestamp(): number;
|
|
35
|
+
static getAuthenticateStatus(): AuthenticateStatus;
|
|
36
|
+
static getPlatform(): number;
|
|
37
|
+
static authenticate: AuthenticateApi;
|
|
38
|
+
static characterPlayer: CharacterPlayerApi;
|
|
39
|
+
static content: ContentApi;
|
|
40
|
+
static dashboard: DashboardApi;
|
|
41
|
+
static gamePlayer: GamePlayerApi;
|
|
42
|
+
static group: GroupApi;
|
|
43
|
+
static inventory: InventoryApi;
|
|
44
|
+
static masterPlayer: MasterPlayerApi;
|
|
45
|
+
static storeInventory: StoreInventoryApi;
|
|
46
|
+
static init(gnServerSettings: GNServerSettings): void;
|
|
47
|
+
static getClientSdkVersion(): string;
|
|
48
|
+
private static initServerSettings;
|
|
49
|
+
private static initGNDebug;
|
|
50
|
+
private static initGNSocketObject;
|
|
51
|
+
static sendViaSocket(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<OperationResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable): void;
|
|
52
|
+
static sendViaHttp(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<OperationResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable): void;
|
|
53
|
+
static sendViaSocketTRequestTResponse<TRequest extends CustomOperationRequest, TResponse extends CustomOperationResponse>(request: TRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
|
|
54
|
+
static sendViaHttpTRequestTResponse<TRequest extends CustomOperationRequest, TResponse extends CustomOperationResponse>(request: TRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
|
|
55
|
+
static sendViaSocketTResponse<TResponse extends CustomOperationResponse>(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
|
|
56
|
+
static sendViaHttpTResponse<TResponse extends CustomOperationResponse>(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
|
|
57
|
+
static connectSocket(_onSocketConnect?: Action0): void;
|
|
58
|
+
static disconnectSocket(_onSocketDisconnect?: Action0): void;
|
|
59
|
+
static setOnEventHandler(_onEventHandler: Action1<OperationEvent>): void;
|
|
60
|
+
static subscriberOnConnectHandler(_onConnectHandler: Action0): void;
|
|
61
|
+
static subscriberOnDisconnectHandler(_onDisconnectHandler: Action0): void;
|
|
62
|
+
static unscriberOnConnectHandler(_onConnectHandler: Action0): void;
|
|
63
|
+
static unsubscriberOnDisconnectHandler(_onDisconnectHandler: Action0): void;
|
|
64
|
+
static subscriberServerEventHandler(serverEventHandler: IServerEventHandler): void;
|
|
65
|
+
static syncTs(onResponse?: Action1<number>): void;
|
|
66
|
+
}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { Action1 } from "./common/Action1";
|
|
2
|
-
import { GNHashtable } from "./common/GNData";
|
|
3
|
-
import { AuthenticateModels } from "./entity/models/AuthenticateModels";
|
|
4
|
-
import { AuthenticateResponseModels } from "./entity/models/AuthenticateResponseModels";
|
|
5
|
-
export declare class AuthenticateApi {
|
|
6
|
-
server: ServerAuthenticateApi;
|
|
7
|
-
admin: AdminAuthenticateApi;
|
|
8
|
-
loginByAccount(requestData: AuthenticateModels.LoginByAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
9
|
-
loginByAndroidDeviceId(requestData: AuthenticateModels.LoginByAndroidDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
10
|
-
loginByApple(requestData: AuthenticateModels.LoginByAppleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAppleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
11
|
-
loginByCustomDeviceId(requestData: AuthenticateModels.LoginByCustomDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
12
|
-
loginByCustomId(requestData: AuthenticateModels.LoginByCustomIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
13
|
-
loginByEditorDeviceId(requestData: AuthenticateModels.LoginByEditorDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
14
|
-
loginByFacebook(requestData: AuthenticateModels.LoginByFacebookRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByFacebookOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
15
|
-
loginByGenericService(requestData: AuthenticateModels.LoginByGenericServiceRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGenericServiceOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
16
|
-
loginByGoogle(requestData: AuthenticateModels.LoginByGoogleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGoogleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
17
|
-
loginByiOSDeviceId(requestData: AuthenticateModels.LoginByiOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
18
|
-
loginByLinuxDeviceId(requestData: AuthenticateModels.LoginByLinuxDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
19
|
-
loginByMacOSDeviceId(requestData: AuthenticateModels.LoginByMacOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
20
|
-
loginByWindowsDeviceId(requestData: AuthenticateModels.LoginByWindowsDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
21
|
-
loginByWindowsPhoneDeviceId(requestData: AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
22
|
-
registerAccount(requestData: AuthenticateModels.RegisterAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.RegisterAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { Action1 } from "./common/Action1";
|
|
2
|
+
import { GNHashtable } from "./common/GNData";
|
|
3
|
+
import { AuthenticateModels } from "./entity/models/AuthenticateModels";
|
|
4
|
+
import { AuthenticateResponseModels } from "./entity/models/AuthenticateResponseModels";
|
|
5
|
+
export declare class AuthenticateApi {
|
|
6
|
+
server: ServerAuthenticateApi;
|
|
7
|
+
admin: AdminAuthenticateApi;
|
|
8
|
+
loginByAccount(requestData: AuthenticateModels.LoginByAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
9
|
+
loginByAndroidDeviceId(requestData: AuthenticateModels.LoginByAndroidDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
10
|
+
loginByApple(requestData: AuthenticateModels.LoginByAppleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAppleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
11
|
+
loginByCustomDeviceId(requestData: AuthenticateModels.LoginByCustomDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
12
|
+
loginByCustomId(requestData: AuthenticateModels.LoginByCustomIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
13
|
+
loginByEditorDeviceId(requestData: AuthenticateModels.LoginByEditorDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
14
|
+
loginByFacebook(requestData: AuthenticateModels.LoginByFacebookRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByFacebookOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
15
|
+
loginByGenericService(requestData: AuthenticateModels.LoginByGenericServiceRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGenericServiceOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
16
|
+
loginByGoogle(requestData: AuthenticateModels.LoginByGoogleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGoogleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
17
|
+
loginByiOSDeviceId(requestData: AuthenticateModels.LoginByiOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
18
|
+
loginByLinuxDeviceId(requestData: AuthenticateModels.LoginByLinuxDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
19
|
+
loginByMacOSDeviceId(requestData: AuthenticateModels.LoginByMacOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
20
|
+
loginByWindowsDeviceId(requestData: AuthenticateModels.LoginByWindowsDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
21
|
+
loginByWindowsPhoneDeviceId(requestData: AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
22
|
+
registerAccount(requestData: AuthenticateModels.RegisterAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.RegisterAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
23
|
+
refreshAuthToken(requestData: AuthenticateModels.RefreshAuthTokenRequestData, onResponse?: Action1<AuthenticateResponseModels.RefreshAuthTokenOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
24
|
+
}
|
|
25
|
+
export declare class ServerAuthenticateApi {
|
|
26
|
+
}
|
|
27
|
+
export declare class AdminAuthenticateApi {
|
|
28
|
+
}
|