LIBaseEvent
LIBaseEvent
| Name | Type | Explanation |
|---|---|---|
| EventType | LIEventType | Event ID, see LIEventType for details |
| ExtraJson | Extension Field | Optional |
LIEventType
| Name | Explanation | |
|---|---|---|
| GN_READY | LI PASS resource is ready | |
| GN_REPEAT | Repeat SDK initialization | |
| GN_DISABLED | GameNative SDK is disabled | |
| OPEN_LOGIN | Open LI PASS login interface | |
| CLOSE_LOGIN | Close LI PASS login interface | |
| OPEN_ACCOUNT_CENTER | Open Account Center | |
| CLOSE_ACCOUNT_CENTER | Close Account Center | |
| DELETE_ACCOUNT_SUCCESS | LI PASS Account Center delete account successful | Effective from LI PASS V1.13.00 |
| DELETE_ACCOUNT_FAIL | LI PASS Account Center delete account failed | Effective from LI PASS V1.13.00 |
| LIP_PANEL_OPEN | Open LI PASS interface | Effective from LI PASS V1.17.00 |
| LIP_PANEL_CLOSE | Close LI PASS interface | Effective from LI PASS V1.17.00 |
| SOCIAL_FEATURE_APPROVE_STATUS | Minor chat approval status, see returned JSON string in SOCIAL_FEATURE_APPROVE_STATUS | Effective from LI PASS V1.17.00 |
| SOCIAL_FEATURE_APPROVE_RESULT | Minor 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_FOCUS | Reset Game UI focus | Effective from LI PASS V1.17.00, console platform only |
| GENERATE_OPEN_ID_SUCCESS | Successfully generated LI PASS OpenID | Effective 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
| Parameters | Type | Explanation |
|---|---|---|
| panelName | string | LI PASS interface name |
| extraJson | string | Extension parameter, such as popup name in generic popup |
LIP_PANEL_CLOSE
| Parameters | Type | Explanation |
|---|---|---|
| panelName | string | LI PASS page name |
| isClosedManually | bool | Is it manually closed |
| extraJson | string | Extension parameter, such as popup name in generic popup cooling off period popup returns whether player canceled account deletion |
SOCIAL_FEATURE_APPROVE_STATUS
| Field | Explanation | Note |
|---|---|---|
| VoiceControlStatus | Social 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 |
| NeedVoiceControlIngame | Is in-game social feature control needed 0: Not required 1: Required | Key Point |
| NeedVoiceControl | Is social feature control needed? 0: Not required 1: Required | |
| NeedVoiceControlParentCert | Is parent certification needed for social feature control? 0: Not required 1: Required |