Skip to main content

Account Upgrade to LI PASS (UpgradeSaccToLI)

AndroidiOSPC

If you are using Unreal Engine, please refer to UpgradeSaccToLI in the Unreal Engine SDK.

This interface is only applicable for upgrade processes triggered after logging in through non-LI PASS channels (including third-party channel login, guest channel login, and automatic login).

Third-party, guest, and automatic logins are proactive upgrades:
Logged in to generate OpenID > Query if upgrade is needed > If needed, start upgrade

The upgrade process requires invoking the UpgradeSaccToLI() interface.

Function definition​

public static void UpgradeSaccToLI();

Observers​

The callback handling interface is AuthAccountResultObserver.The callback data structure is AccountResult.

The callback ID is INTL_AUTH_UPGRADE_SACC_TO_LI.

Code example​

LevelInfinite.UpgradeSaccToLI();