public static void SetLessonBestScore(QuestionType Category, int lessonNumber, int value) { P2DSecurety.SecureLocalSave(lessonOfLevelKey + Category.ToString() + lessonNumber.ToString(), value); if (onScoreChangeEvent != null) { onScoreChangeEvent(Category); } }
public static void SetLastOpenLesson(QuestionType category, int value) { P2DSecurety.SecureLocalSave(lessonOfLevelKey + category.ToString(), value); if (onScoreChangeEvent != null) { onScoreChangeEvent(category); } }
public static void SetExamBestScore(string examName, int value) { P2DSecurety.SecureLocalSave(lessonOfLevelKey + examName, value); if (onScoreChangeEvent != null) { onScoreChangeEvent((QuestionType)lastCategoryIndex); } Instance.CheckAchivmentExcelentExam(); }
private void SetReady2Collect() { P2DSecurety.SecureLocalSave(achivmentType.ToString() + Ready2CollectKey + requestedAmount, true); }
private void SetCollected() { P2DSecurety.SecureLocalSave(achivmentType.ToString() + requestedAmount, true); ChangeButton(); }
public static void SetMaxCorrectInRow(int value) { P2DSecurety.SecureLocalSave(correctInRowKey, value); Instance.CheckAchivmentCorrectInRow(); }
public static void SetDiamondNumber(int value) { P2DSecurety.SecureLocalSave(diamondKey, value); }
private void SetNextDate() { DateTime newDate = DateTime.Now.AddHours((int)prizeTime); P2DSecurety.SecureLocalSave(timerKey + prizeTime, Convert.ToString(newDate)); }