LIBaseEvent
LIBaseEvent
Name | Type | Description |
---|---|---|
EventType | LIEventType | Event ID, see LIEventType for details |
ExtraJson | Extended field | Not required |
LIEventType
Name | Description | Remarks |
---|---|---|
GN_READY | LI PASS resources ready | |
GN_REPEAT | Repeat SDK initialization | |
GN_DISABLED | GameNative SDK disabled | |
LOGIN_PANEL_OPEN | Open LI PASS login interface | |
LOGIN_PANEL_CLOSE | Close LI PASS login interface | |
ACCOUNT_CENTER_OPEN | Open account settings | |
ACCOUNT_CENTER_CLOSE | Close account settings | |
DELETE_ACCOUNT_SUCCESS | Account deletion from LI PASS Account Center successful | For LI PASS V1.13.00 and later |
DELETE_ACCOUNT_FAIL | Account deletion from LI PASS Account Center failed | For LI PASS V1.13.00 and later |
DELETE_PARAMETERS_MISSING | Missing parameters during account deletion from LI PASS Account Center | For LI PASS V1.13.00 and later |
LIP_PANEL_OPEN | Open LI PASS interface | For LI PASS V1.17.00 and later |
LIP_PANEL_CLOSE | Close LI PASS interface | For LI PASS V1.17.00 and later |
SOCIAL_FEATURE_APPROVE_STATUS | Authorization status of messaging for minors, see SOCIAL_FEATURE_APPROVE_STATUS for details on the returned JSON string | |
SOCIAL_FEATURE_APPROVE_RESULT | Authorization result of messaging for minors 0: Unauthorized 1: Authorized for all 2: Authorized for friends only Default: 0 | For LI PASS V1.17.00 and later |
RESET_GAME_UI_FOCUS | Reset focus of game UI | For LI PASS V1.17.00 and later, console only |
GENERATE_OPEN_ID_SUCCESS | LI PASS OpenID generated successfully | For LI PASS V1.17.00 and later |
note
DELETE_ACCOUNT_SUCCESS
shows that the game account as well as the link between LI PASS and the game is deleted. However, the player's LI PASS cannot be deleted from within the game.
LIP_PANEL_OPEN
, LIP_PANEL_CLOSE
is applicable to all LI PASS interfaces, including the login interface, and can be used to listen for the opening and closing of LI PASS pages.
LIP_PANEL_OPEN
Parameter | Type | Description |
---|---|---|
panelName | FString | Name of the LI PASS interface |
extraJson | FString | Extended parameters, such as including the name of the popup interface for general popups |
LIP_PANEL_CLOSE
Parameter | Type | Description |
---|---|---|
Parameter | FString | Name of the LI PASS interface |
isClosedManually | bool | Whether the interface was closed manually |
extraJson | FString | Extended parameters, such as including the name of the popup interface for general popups Will return whether the player has cancelled account deletion for the cooling-off period popup |
SOCIAL_FEATURE_APPROVE_STATUS
Field | Description | Remarks |
---|---|---|
VoiceControlStatus | Authorization status of social feature controls -1: Messaging feature denied by parent (Messaging scope set to Nobody) 0: Unauthorized 1: Authorized for all 2: Authorized for friends only | Important |
NeedVoiceControlIngame | Whether social feature controls is required in-game 0: Not required 1: Required | Important |
NeedVoiceControl | Whether social feature controls is required 0: Not required 1: Required | |
NeedVoiceControlParentCert | Whether parental consent is required for social feature controls 0: Not required 1: Required |