Parental Guidance Callback Information (ParentalGuidanceResult)
Data Structure
ParentalGuidanceResult: Inherits from INTLBaseResult, containing the minor's play-time limit information, including the allowed time window, duration limit, and remaining play time.
| Member Variables | Type | Explanation |
|---|---|---|
| Time Limit Start | string | Time-window start, HH:MM |
| Time Limit End | string | Time-window end, HH:MM |
| Duration Limit | long | Duration limit, in hours (integer only) |
| Time Zone | string | Player time zone, e.g. UTC+08:00 |
| Current Time | string | Local time, HH:MM |
| Duration | long | Duration online today, in seconds |
| Left Mins | double | Remaining play time for the current user, in minutes (decimals allowed) |
Code Example
{
TimeLimitStart: "08:00",
TimeLimitEnd: "22:00",
DurationLimit: 2,
TimeZone: "UTC+08:00",
CurrentTime: "20:30",
Duration: 7200,
LeftMins: 30.5,
MethodId: 925,
RetCode: -1,
RetMsg: "Unkonwn error",
ThirdCode: 70026,
ThirdMsg: "unset adult status",
ExtraJson: "{}"
}