Skip to main content

UpgradeSaccToLI

AndroidiOSWindows
If you were looking for the method for use with Unity, see UpgradeSaccToLI for Unity SDK.

This API is only applicable to the upgrade process triggered after logging in through channels other than LI PASS (including third-party channel login, guest login, and automatic login).

Third-party channel, guest channel, and automatic login are active upgrades:
Log in to generate OpenID > Check whether upgrade is required > Return requirements and start upgrade

Call the UpgradeSaccToLI() API during the upgrade process.

Function definition

UFUNCTION(BlueprintCallable, Category = "LevelInfinite")
static void UpgradeSaccToLI();

Observers

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

The callback methodID is kMethodIDAuthUpgradeSaccToLI.

Code sample

ULevelInfiniteAPI::CancelLIAccountDeletion();