Skip to main content

LIBaseEvent

LIBaseEvent​

NameTypeDescription
EventTypeLIEventTypeEvent ID, see LIEventType for details
ExtraJsonExtension FieldOptional

LIEventType​

NameDescriptionNote
GN_READYLI PASS resource is ready
GN_REPEATRepeat SDK initialization
GN_DISABLEDGameNative SDK is disabled
LOGIN_PANEL_OPENOpen LI PASS login interface
LOGIN_PANEL_CLOSEClose LI PASS login interface
ACCOUNT_CENTER_OPENOpen Account Center
ACCOUNT_CENTER_CLOSEClose 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
DELETE_PARAMETERS_MISSINGMissing input parameters for LI PASS Account Center delete accountEffective 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 authorization status, see returned JSON string at SOCIAL_FEATURE_APPROVE_STATUSEffective from LI PASS V1.17.00
SOCIAL_FEATURE_APPROVE_RESULTMinor chat authorization results
0: Not authorized
1: Authorized all
2: Authorized only friends

Default: 0
Effective from LI PASS V1.17.00
RESET_GAME_UI_FOCUSReset game UI focusEffective from LI PASS V1.17.00, limited to console platforms
GENERATE_OPEN_ID_SUCCESSSuccessfully generated LI PASS OpenIDEffective from LI PASS V1.17.00
note

DELETE_ACCOUNT_SUCCESS indicates that the game account and the association between LI PASS and the game have been deleted. Deleting an account within the game does not delete the player's 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​

ParametersTypeDescription
panelNameFStringLI PASS interface name
extraJsonFStringExtension parameter, such as popup name in generic popup

LIP_PANEL_CLOSE​

ParametersTypeDescription
panelNameFStringLI PASS page name
isClosedManuallyboolIs it manually closed
extraJsonFStringExtension parameter, such as popup name in generic popup
cooling off period popup returns whether player canceled account deletion

SOCIAL_FEATURE_APPROVE_STATUS​

FieldDescriptionNote
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