CONSOLE_COMPLIANCE_SWITCH
Console
Optional
Available from: LI PASS V1.12.00 (Unity), LI PASS V1.11.00 (UE)
Optional
Available from: LI PASS V1.12.00 (Unity), LI PASS V1.11.00 (UE)
Syntax
CONSOLE_COMPLIANCE_SWITCH = 1
0: Disable age verification
1: Enable age verification
Default: 1
Description
This switch sets whether to enable age verification for logged in players, and only works with the console platform. If disabled:
- Players will still need to check and upload their consent to the Terms of Service.
- Players who have not completed the compliance check will not be prevented from logging in when re-entering the game, but will be required to complete their compliance information.
CONSOLE_COMPLIANCE_SWITCH = 1
CONSOLE_COMPLIANCE_SWITCH = 0
When CONSOLE_COMPLIANCE_SWITCH
is set to 0, the compliance information of the player account will remain in the unset state, including the compliance region, adult status, age verification status, and real-name verification status. When querying the player information with QueryUserInfo
of Unity or UE, the values of adult_check_status
and parent_certificate_status
will be 0 in the returned callback AuthResult
of Unity or UE.