Skip to main content

Open the login panel (OpenLoginPanel)

AndroidiOSWindows
If you are using Unreal Engine, please refer to Unreal Engine SDK's OpenLoginPanel.

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();