Skip to main content

Open Account Center

AndroidiOSWindows
If you are using the Unity engine, please refer to OpenAccountCenter in the Unity SDK.

Open the LI PASS account center interface without the delete account button.For the account center that includes the account deletion feature, please see Open Account Center with Account Deletion (OpenAccountCenterWithParams).

caution

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, 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();