Skip to main content

Compliance Callback Information (ComplianceResult)

Data Structure

INTLComplianceResult: Inherits from INTLBaseResult, and contains information about whether the user is a minor, whether verification has been completed, and configuration for the user's country or region.

Member VariablesTypeExplanation
Adult StatusintDetermine if the user is an adult
-2: Below game grade age, cannot enter the game
-1: Underage
0: Not set
1: Adult
Parent Certificate StatusintHas parental certification been passed
-1: Parent refused certification
0: Parent not certified
1: Parent certified
10: In the process of certification, exclusive to email authentication
11: Certification failed, exclusive to credit card certification
Parent Certificate Status ExpirationstringTime for the next possible certification after parental refusal
Unix timestamp
Returns timestamp for email and credit card certification.
EU User Agree StatusintWhether EU players agree to transfer data in non-EU regions
-1: Refuse
0: Not set
1: Agree
Country CodestringThree-digit country code mapped to two-letter country code (game does not need to focus on this)
Adult AgeintAdult standard for the input country's/region's
Adult Age MapstringKorea's segmented adult standards
Game GradeintGame grade standard for the input country/region
Default: 0
Game Grade MapstringKorea's segmented game grade standard
Default: 0
Certificate TypeintInput country/region certification method, if not found, use default certification
-1: Unknown
0: No certification needed
1: Self-certification
2: Credit card payment certification
3: Email certification
Adult Status ExpirationstringTime for the next required certification after passing
The time returned starts counting not from certification completion but from the submission of birthdate
TSStringCurrent timestamp (game does not need to focus on this)
Is EEAboolIs it currently an EEA country
RegionStringThe numeric code of a country or region according to ISO 3166-1
For example, 156 stands for China, 040 stands for Austria
Need Real Name Authenticationint0: Real name identification not required
1: Real name identification required
Real Name Auth Statusint0: Real name certification failed
1: Real name certification passed
Need Voice Control Parent CertificationintParental certification needed for social features control
0: Not needed
1: Needed
Need Voice Control In GameintIs social features control needed
0: Not needed
1: Needed
Need Voice ControlintIs social features control needed in-game
0: Not needed
1: Needed
Voice Control StatusintAuthorization status of social feature control
-1: Parent disables the player's chat feature (chat range set to Nobody)
0: Unauthenticated
1: Authorized everyone
2: Authorized friends only
Default: 0
UI TypeintCompliance age verification method (Supported as of: LI PASS V1.28.00)
0: Default
1: Checkbox
2: Age Range
3: Birthday
4: Age
Age Rangeint[]If UI Type is 2, the value of the age range
Age MinintIf UI Type is 4, minimum age value
Age MaxintIf UI Type is 4, maximum age value

Code Example

{
AdultStatus: 0,
ParentCertificateStatus: 0,
ParentCertificateStatusExpiration: 0,
EUUserAgreeStatus: 0,
NeedRealNameAuth: 1,
RealNameAuthStatus: 0,
CountryCode: "",
AdultAge: 18,
AdultAgeMap: "{\"1\":18,\"10\":18,\"11\":18,\"2\":18,\"3\":14,\"4\":14,\"5\":18,\"6\":18,\"7\":18,\"8\":18,\"9\":18}",
GameGrade: 16,
GameGradeMap: "{\"1\":14,\"2\":14,\"5\":14}",
CertificateType: 0,
AdultStatusExpiration: 0,
VoiceControlStatus = 0,
NeedVoiceControl = 1,
NeedVoiceControlIngame = 1,
NeedVoiceControlParentCert = 1,
UiType = 0,
AgeRange = [],
AgeMin = 0,
AgeMax = 0,
TS: "1599534934",
IsEEA: false,
Region: "410"
MethodId: 924,
RetCode: 0,
RetMsg: "Success",
ThirdCode: 0,
ThirdMsg: success,
ExtraJson: "{}"
}

Korean Age Standards

note

If the player is not from Korea, use AdultAge and GameGrade to read the relevant country's/region's adult or game rating standards.

Since the Korean government requires differentiated age standards for segments, it is necessary to determine if the current player belongs to the Korean region when querying compliance status.Thus, it is necessary to use AdultAgeMap and GameGradeMap to read the age standards of the corresponding segment on the current device.

OSPlatform
1Android
2iOS
5PC
6Switch
10PS5
11Xbox
12WinGDk

For example, the adult standard for the PC is AdultAgeMap[5], and the game rating standard for the PC is GameGradeMap[5].

int adultAgeInPC = AdultAgeMap[5]
int gameGradeInPC = GameGradeMap[5]