Reset Guest Information (ResetGuest)
[Shared by Player Network SDK and MSDK] Reset guest information. When the user logs in again via the guest channel, a new guest account will be generated.
Supported platforms
- Unity
- Unreal Engine
Supports
Android, iOS, Windows platform.Supports
Android, iOS, Windows platform.note
MSDK does not currently support Windows
Function Definition
- Unity
- Unreal Engine
void ResetGuest();
static void ResetGuest();
Callback Handling
The callback handling interface is GUABaseResultObservers.The callback data structure is GUABaseResult.
- Unity
- Unreal Engine
Callback event is LoginBaseResultEvents. Callback ID is GUA_ACCOUNT_RESET_GUEST.
Callback event is OnBaseResultNotify. Callback ID is kMethodIDAccountResetGuest.
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().ResetGuest();
GUA_NAMESPACE::GUAAccountService::ResetGuest();