Query User Information (QueryUserInfo)
[Shared by Player Network SDK and MSDK] Pull a request from the backend and return the latest user information.
Supported platforms
- 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 Handling
The callback handling interface is GUALoginResultObservers.The callback data structure is GUALoginResult.
- Unity
- Unreal Engine
The callback event is LoginResultEvents. Callback ID is GUA_ACCOUNT_QUERY_USER_INFO.
The callback event is OnLoginResultNotify. Callback ID is kMethodIDAccountQueryUserInfo.
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().QueryUserInfo();
GUA_NAMESPACE::GUAAccountService::QueryUserInfo();