CONSOLE_COMPLIANCE_SWITCH
Optional
Supported in: LI PASS V1.12.00 (Unity), LI PASS V1.11.00 (UE)
Format
CONSOLE_COMPLIANCE_SWITCH = 1
0: Disable compliance age verification
1: Enable compliance age verification
Default: 1
Description
This configuration sets whether to enable compliance age verification, and is only supported on console.If set to disabled:
- Players must still check the agreement box and submit consent status when agreeing to the terms.
- Players who have not completed the compliance process will not be prevented from logging in due to incomplete compliance information when re-entering the game, but need to complete compliance information.
CONSOLE_COMPLIANCE_SWITCH = 1
CONSOLE_COMPLIANCE_SWITCH = 0
When CONSOLE_COMPLIANCE_SWITCH is set to 0, the compliance status of the player account will remain unset. This includes the compliance certification region, adult status, minor parent certification status, and real-name authentication status.Query user information using the QueryUserInfo interface for Unity or UE. In the login callback information of the returned AuthResult for Unity or UE, the values of the parameters adult_check_status and parent_certificate_status are both 0.
