GetConnectRet [MSDK Only]
[MSDK Only] Get local assocaition status.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS
platform.Supports
Android, iOS
platform.Function Definition
- Unity
- Unreal Engine
GUALoginResult GetConnectRet();
static bool GetConnectResult(GUALoginResult &login_result);
Input Parameters
- Unity
- Unreal Engine
No parameters are passed.
Parameter | Type | Description |
---|---|---|
login_result | GUALoginResult | local connect status information |
Callback Processing
The callback processing API is GUAConnectResultObservers. The callback data structure is GUALoginResult.
- Unity
- Unreal Engine
The callback event is ConnectRetEvents
.
The callback methodID is GUA_ACCOUNT_GETCONNECTRESULT
.
The callback event is OnConnectResultNotify
.
The callback methodID is kMethodIDAccountGetConnectResult
.
Code Sample
- Unity
- Unreal Engine
GUALoginResult ret = UnionAdapterAPI.GetAccountService().GetConnectRet();
GUA_NAMESPACE::GUALoginResult LoginRet;
bool isSucceeded = GUA_NAMESPACE::GUAAccountService::GetConnectResult(LoginRet);