Skip to main content

LIBaseEvent

LIBaseEvent

NameTypeExplanation
EventTypeLIEventTypeEvent ID, see LIEventType for details
ExtraJsonExtension FieldOptional

LIEventType

NameDescriptionRemarks
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 代表游戏账号以及 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
panelNameFStringLI PASS interface name
extraJsonFStringExtension parameter, such as popup name in generic popup

LIP_PANEL_CLOSE

ParametersTypeExplanation
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

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