Skip to main content

LIBaseEvent

LIBaseEvent

NameTypeExplanation
EventTypeLIEventTypeEvent ID, see LIEventType for details
ExtraJsonExtension FieldOptional

LIEventType

NameDescription
GN_READYLI PASS resource is ready
GN_REPEATRepeat SDK initialization
GN_DISABLEDGameNative SDK is disabled
OPEN_LOGINOpen LI PASS login interface
CLOSE_LOGINClose LI PASS login interface
OPEN_ACCOUNT_CENTEROpen Account Center
CLOSE_ACCOUNT_CENTERClose Account Center
DELETE_ACCOUNT_SUCCESSLI PASS Account Center delete account successfulEffective from LI PASS V1.13.00
DELETE_ACCOUNT_FAILLI PASS Account Center delete account failedEffective from LI PASS V1.13.00
LIP_PANEL_OPENOpen LI PASS interfaceEffective from LI PASS V1.17.00
LIP_PANEL_CLOSEClose LI PASS interfaceEffective from LI PASS V1.17.00
SOCIAL_FEATURE_APPROVE_STATUSMinor chat approval status, see returned JSON string in SOCIAL_FEATURE_APPROVE_STATUSEffective from LI PASS V1.17.00
SOCIAL_FEATURE_APPROVE_RESULTMinor chat approval result
0: Not approved (default)
1: Approved for everyone
2: Approved for friends only
Effective from LI PASS V1.17.00
RESET_GAME_UI_FOCUSReset Game UI focusEffective from LI PASS V1.17.00, console platform only
GENERATE_OPEN_ID_SUCCESSSuccessfully generated LI PASS OpenIDEffective from LI PASS V1.17.00
note

DELETE_ACCOUNT_SUCCESS 代表游戏账号以及 LI PASS 与游戏的关联已被删除。游戏内删号无法删除玩家的 LI PASS。

LIP_PANEL_OPEN, LIP_PANEL_CLOSE apply to all LI PASS interfaces, including login interface, to monitor opening and closing of LI PASS interfaces.

LIP_PANEL_OPEN

ParametersTypeExplanation
panelNameStringLI PASS interface name
extraJsonStringExtension parameter, such as popup name in generic popup

LIP_PANEL_CLOSE

ParametersTypeExplanation
panelNamestringLI PASS page name
isClosedManuallyboolIs it manually closed
extraJsonstringExtension parameter, such as popup name in generic popup
cooling off period popup returns whether player canceled account deletion

SOCIAL_FEATURE_APPROVE_STATUS

FieldDescriptionRemarks
VoiceControlStatusSocial feature control authorization status
-1: Parent disabled player chat (chat range set to Nobody)
0: Not authorized
1: Authorized for everyone
2: Authorized for friends only
Key Point
NeedVoiceControlIngameIs in-game social feature control needed
0: Not required
1: Required
Key Point
NeedVoiceControlIs social feature control needed?
0: Not required
1: Required
NeedVoiceControlParentCertIs parent certification needed for social feature control?
0: Not required
1: Required