QueryUserInfo
[Player Network SDK and MSDK] Request the backend to return the latest user information.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS, Windows
platform.Supports
Android, iOS, Windows
platform.note
MSDK currently does not support Windows.
Function Definition
- Unity
- Unreal Engine
void QueryUserInfo();
static void QueryUserInfo();
Callback Processing
The callback processing API is GUALoginResultObservers. The callback data structure is GUALoginResult.
- Unity
- Unreal Engine
The callback event is LoginResultEvents
.
The callback methodID is GUA_ACCOUNT_QUERY_USER_INFO
.
The callback event is OnLoginResultNotify
.
The callback methodID is kMethodIDAccountQueryUserInfo
.
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().QueryUserInfo();
GUA_NAMESPACE::GUAAccountService::QueryUserInfo();