* @return int[]
*/
public static synchronized int[] getWeekGameCounts(int objId)
{
int[] ar = new int[3];
StatsSet noble = _nobles.get(objId);
if (noble == null)
{
return ar;
}
ar[0] = Config.GAME_MAX_LIMIT - noble.getInteger(GAME_CLASSES_COUNT) - noble.getInteger(GAME_NOCLASSES_COUNT);
ar[1] = Config.GAME_CLASSES_COUNT_LIMIT - noble.getInteger(GAME_CLASSES_COUNT);
ar[2] = Config.GAME_NOCLASSES_COUNT_LIMIT - noble.getInteger(GAME_NOCLASSES_COUNT);
return ar;
}