Compliance Callback Information (ComplianceResult)
Data Structure
FINTLComplianceResult: Inherits from FINTLBaseResult, containing information about whether the user is a minor, verification status, and configuration details for their country or region.
| Member Variables | Type | Explanation |
|---|---|---|
| Adult Status | int | Determine if the user is an adult -2: Below game grade age, cannot enter the game -1: Underage 0: Not set 1: Adult |
| Parent Certificate Status | int | Has 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 Expiration | string | Time for the next possible certification after parental refusal Unix timestamp Returns timestamp for email and credit card certification. |
| AdultAge | int | Standard for adulthood in the input country/region |
| AdultAgeMap | FString | Age standard for segments in Korea |
| GameGrade | int | Game rating standard for the input country/region Default: 0 |
| GameGradeMap | FString | Game rating standard for segments in Korea Default: 0 |
| CertificateType | int | Certification method for input country/region, defaults if unable to query -1: Unknown 0: No certification required 1: Self-certification 2: Certification via credit card payment 3: Email certification |
| AdultStatusExpiration | FString | Next required certification time after successful certification Calculated from the date of birth submission, not from successful certification |
| EuUserAgreeStatus | int | Whether EU player agrees to data transfer outside EU -1: Refused 0: Not set 1: Agreed |
| TS | FString | Current timestamp (Not game-related) |
| CountryCode | FString | Mapping three-digit country code to two-letter country code (Not game-related) |
| Is EEA | bool | Is it currently an EEA country |
| Region | FString | Numeric codes of countries or regions as per ISO 3166-1 For example, 156 represents China, and 040 represents Austria. |
| Need Real Name Authentication | int | 0: Real name identification not required 1: Real name identification required |
| Real Name Auth Status | int | 0: Real name certification failed 1: Real name certification passed |
| Need Voice Control Parent Certification | int | Parental certification needed for social features control 0: Not needed 1: Needed |
| Need Voice Control In Game | int | Is social features control needed 0: Not needed 1: Needed |
| Need Voice Control | int | Is social features control needed in-game 0: Not needed 1: Needed |
| Voice Control Status | int | Authorization 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 Type | int | Compliance age verification method (Supported as of: LI PASS V1.28.00) 0: Default 1: Checkbox 2: Age Range 3: Birthday 4: Age |
| Age Range | int[] | If UI Type is 2, the value of the age range |
| Age Min | int | If UI Type is 4, minimum age value |
| Age Max | int | If 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
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.
| OS | Platform |
|---|---|
| 1 | Android |
| 2 | iOS |
| 5 | PC |
| 6 | Switch |
| 10 | PS5 |
| 11 | Xbox |
| 12 | WinGDK |
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]