Skip to main content

Account Center

This document will introduce the details about the LI PASS Account Center.

For a product introduction to the Account Center, you can browse the Account Center Module.

note
  • The Account Center currently supports access on mobile and PC platforms, but does not support standard access on console platforms yet.
  • If you require manual service, you can consult on enterprise WeChat Player Network Assistant .

Open Account Center

There are two types of Account Center provided by LI PASS:

  • Regular Account Center
  • Account Center with Account Deletion Functionality

Both types of Account Centers integrate the ability to bind LI PASS and third-party login channels, modify personal information, security settings, and view relevant protocol terms.
Apart from the above functions, the Account Center with account deletion functionality also integrates the account deletion function.
Games can choose one to integrate according to their specific needs.

note
  • The account deletion function needs to be manually activated (for specific activation details, please consult fanfanliang(Liang Xiaotong) );
  • Before opening the account deletion function, the Account Center with deletion functionality may experience failures, so games can first integrate the regular Account Center and switch as needed later.

Standard Account Center interface description

Add an Account Center entry button in an appropriate place in the game, and call the OpenAccountCenter interface in the button’s click event to open the standard Account Center.

LevelInfinite.OpenAccountCenter();

Interface Description of the Account Center with Deletion Functionality

To integrate an Account Center with an account deletion button, add the following configurations in the [INTL Account] node in INTLConfig.ini:

[INTL Account]
SHOW_DELETE_ACCOUNT_BUTTON = 1

Add an Account Center entry button in an appropriate place in the game, and call the OpenAccountCenterWithParams interface in the button’s click event

LevelInfinite.OpenAccountCenterWithParams();

Callback Handling for Account Center

You may need to pay attention to the opening and closing status of the Account Center, which can be handled using the following code for callback:

note

Sample Code:

LevelInfinite.AddLIEventObserver(OnLIBaseEventResult);

private void OnLIBaseEventResult(LIBaseEventResult liRet)
{
switch (liRet.lIEventType)
{
case LIEventType::OPEN_ACCOUNT_CENTER:
{
logStr = TEXT("Account center open");
break;
}
case LIEventType::CLOSE_ACCOUNT_CENTER:
{
logStr = TEXT("Account center close");
break;
}
}
}

Customize Account Center appearance

The LI PASS Account Center provides a standard UI template for games to quickly integrate and use.LI PASS also supports customizing the appearance of the Account Center to ensure it matches the style of the game.For details on customizing the Account Center Appearance, refer to Customizing the Account Center Appearance

note
  • For detailed integration of custom UI/UX features, please consult the Player Network Assistant.