Open Account Center (Deprecated)
Deprecated since: LI PASS V1.32.00
If you are using the Unity engine, please refer to OpenAccountCenter in the Unity SDK.
This interface has been deprecated since LI PASS V1.32.00 and will generate compile-time warnings in Unreal Engine (marked with DeprecatedFunction meta). Please use OpenAccountCenterWithParams instead.
Open the LI PASS account center interface without the delete account button.For the account center, please see Open Account Center (OpenAccountCenterWithParams).
Ensure the user is logged in before opening the account center; otherwise, an error will occur where player information cannot be fetched.
Function Definition
UFUNCTION(BlueprintCallable, meta=(DeprecatedFunction, DeprecationMessage="Function has been deprecated since LI PASS 1.32, please use OpenAccountCenterWithParams"), Category = "LevelInfinite")
void OpenAccountCenter();
Callback processing
Handle the callback of LI PASS events; the game needs to process the callback logic.For more information about callback data structures, please refer to LIEventObserver.
The callback LIEventType is ACCOUNT_CENTER_OPEN and ACCOUNT_CENTER_CLOSE, used to open or close the account center.
Sample Code
ULevelInfiniteAPI::OpenAccountCenter();