Query custom account user profile [Player Network SDK only]
[Player Network SDK only] After logging in with a custom account, you can use this interface to obtain user information.The information is in the profile field of AccountResult.
Supported platforms
- Unity
- Unreal Engine
Supports
Android, iOS, Windows platform.Supports
Android, iOS, Windows platform.Function Definition
- Unity
- Unreal Engine
void QueryAccountProfile();
static void QueryAccountProfile();
Callback Handling
The callback processing interface is GUAAccountResultObservers.The callback data structure is GUAAccountResult.
- Unity
- Unreal Engine
Callback event is AccountEvents. Callback ID is GUA_ACCOUNT_QUERY_ACCOUNT_PROFILE.
Callback event is OnAccountResultNotify. Callback ID is kMethodIDAccountQueryAccountProfile.
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().QueryAccountProfile();
GUA_NAMESPACE::GUAAccountService::QueryAccountProfile();