Skip to main content

Open the login panel (OpenLoginPanel)

AndroidiOSPC

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

Open the LI PASS login interface.

caution

There is no need to listen to the original login MethodID INTL_AUTH_LOGIN, otherwise, you will receive the login callback twice.

Function definition​

public static void OpenLoginPanel();

Callback processing​

The callback handling interface is AuthResultObserver.The callback data structure is AuthResult.

The callback ID is LI_LOGIN_ENTER_GAME, representing completed login, allowing game entry.

Sample Code​

LevelInfinite.OpenLoginPanel();