nn::nex::DataStoreRatingLockInitParam::SetDaysAfterLock Member Function

Syntax

void SetDaysAfterLock(
     qInt16 days,
     qInt8 hour
);

Parameters

Name Description
in days The number of days after which to make re-rating possible.
in hour The time of day at which to remove the re-rating lock after the number of days specified by days. You can specify a value from 0 to 23.

Return Values

None.

Description

Locks ratings such that re-rating is not possible until the specified time of day after the specified number of days has passed.

Keeps re-rating locked until the time of day specified by hour after the number of days specified by days has passed. All times are taken to be UTC. For example, if 0 was specified for days and 2 was specified for hour, a rating made at 1:00 AM could be changed at 2:00 AM on the same day. However, a rating made at 3:00 AM could not be changed until 2:00 AM on the next day. In other words, all users would be able to change ratings they made as soon as it becomes 2:00 AM. Increasing the value of the days argument makes the re-rating lock last for a longer number of days.

Revision History

2013/04/03
A negative value can no longer be specified for hour.
2012/07/26
Initial version.

CONFIDENTIAL