Account Upgrade to LI PASS (UpgradeSaccToLI)
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();