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 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. |
| EU User Agree Status | int | Whether EU players agree to transfer data in non-EU regions -1: Refuse 0: Not set 1: Agree |
| Country Code | string | Three-digit country code mapped to two-letter country code (game does not need to focus on this) |
| Adult Age | int | Adult standard for the input country's/region's |
| Adult Age Map | string | Korea's segmented adult standards |
| Game Grade | int | Game grade standard for the input country/region Default: 0 |
| Game Grade Map | string | Korea's segmented game grade standard Default: 0 |
| Certificate Type | int | Input 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 Expiration | string | Time for the next required certification after passing The time returned starts counting not from certification completion but from the submission of birthdate |
| TS | String | Current timestamp (game does not need to focus on this) |
| Is EEA | bool | Is it currently an EEA country |
| Region | String | The 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 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]