// Token: 0x06001A1C RID: 6684 RVA: 0x000FF190 File Offset: 0x000FD390
    public static TaskSaveData ReadFromGlobals()
    {
        TaskSaveData taskSaveData = new TaskSaveData();

        foreach (int num in TaskGlobals.KeysOfGuitarPhoto())
        {
            if (TaskGlobals.GetGuitarPhoto(num))
            {
                taskSaveData.guitarPhoto.Add(num);
            }
        }
        foreach (int num2 in TaskGlobals.KeysOfKittenPhoto())
        {
            if (TaskGlobals.GetKittenPhoto(num2))
            {
                taskSaveData.kittenPhoto.Add(num2);
            }
        }
        foreach (int num3 in TaskGlobals.KeysOfHorudaPhoto())
        {
            if (TaskGlobals.GetHorudaPhoto(num3))
            {
                taskSaveData.horudaPhoto.Add(num3);
            }
        }
        foreach (int num4 in TaskGlobals.KeysOfTaskStatus())
        {
            taskSaveData.taskStatus.Add(num4, TaskGlobals.GetTaskStatus(num4));
        }
        return(taskSaveData);
    }
 // Token: 0x06000751 RID: 1873 RVA: 0x0006F17C File Offset: 0x0006D57C
 public static void WriteToGlobals(TaskSaveData data)
 {
     foreach (int photoID in data.kittenPhoto)
     {
         TaskGlobals.SetKittenPhoto(photoID, true);
     }
     foreach (KeyValuePair <int, int> keyValuePair in data.taskStatus)
     {
         TaskGlobals.SetTaskStatus(keyValuePair.Key, keyValuePair.Value);
     }
 }
    // Token: 0x06000750 RID: 1872 RVA: 0x0006F0F4 File Offset: 0x0006D4F4
    public static TaskSaveData ReadFromGlobals()
    {
        TaskSaveData taskSaveData = new TaskSaveData();

        foreach (int num in TaskGlobals.KeysOfKittenPhoto())
        {
            if (TaskGlobals.GetKittenPhoto(num))
            {
                taskSaveData.kittenPhoto.Add(num);
            }
        }
        foreach (int num2 in TaskGlobals.KeysOfTaskStatus())
        {
            taskSaveData.taskStatus.Add(num2, TaskGlobals.GetTaskStatus(num2));
        }
        return(taskSaveData);
    }
Example #4
0
 // Token: 0x06000762 RID: 1890 RVA: 0x0006F7C8 File Offset: 0x0006DBC8
 public void WriteToGlobals()
 {
     ApplicationSaveData.WriteToGlobals(this.data.applicationData);
     ClassSaveData.WriteToGlobals(this.data.classData);
     ClubSaveData.WriteToGlobals(this.data.clubData);
     CollectibleSaveData.WriteToGlobals(this.data.collectibleData);
     ConversationSaveData.WriteToGlobals(this.data.conversationData);
     DateSaveData.WriteToGlobals(this.data.dateData);
     DatingSaveData.WriteToGlobals(this.data.datingData);
     EventSaveData.WriteToGlobals(this.data.eventData);
     GameSaveData.WriteToGlobals(this.data.gameData);
     HomeSaveData.WriteToGlobals(this.data.homeData);
     MissionModeSaveData.WriteToGlobals(this.data.missionModeData);
     OptionSaveData.WriteToGlobals(this.data.optionData);
     PlayerSaveData.WriteToGlobals(this.data.playerData);
     PoseModeSaveData.WriteToGlobals(this.data.poseModeData);
     SaveFileSaveData.WriteToGlobals(this.data.saveFileData);
     SchemeSaveData.WriteToGlobals(this.data.schemeData);
     SchoolSaveData.WriteToGlobals(this.data.schoolData);
     SenpaiSaveData.WriteToGlobals(this.data.senpaiData);
     StudentSaveData.WriteToGlobals(this.data.studentData);
     TaskSaveData.WriteToGlobals(this.data.taskData);
     YanvaniaSaveData.WriteToGlobals(this.data.yanvaniaData);
 }
Example #5
0
 // Token: 0x06000761 RID: 1889 RVA: 0x0006F668 File Offset: 0x0006DA68
 public void ReadFromGlobals()
 {
     this.data.applicationData  = ApplicationSaveData.ReadFromGlobals();
     this.data.classData        = ClassSaveData.ReadFromGlobals();
     this.data.clubData         = ClubSaveData.ReadFromGlobals();
     this.data.collectibleData  = CollectibleSaveData.ReadFromGlobals();
     this.data.conversationData = ConversationSaveData.ReadFromGlobals();
     this.data.dateData         = DateSaveData.ReadFromGlobals();
     this.data.datingData       = DatingSaveData.ReadFromGlobals();
     this.data.eventData        = EventSaveData.ReadFromGlobals();
     this.data.gameData         = GameSaveData.ReadFromGlobals();
     this.data.homeData         = HomeSaveData.ReadFromGlobals();
     this.data.missionModeData  = MissionModeSaveData.ReadFromGlobals();
     this.data.optionData       = OptionSaveData.ReadFromGlobals();
     this.data.playerData       = PlayerSaveData.ReadFromGlobals();
     this.data.poseModeData     = PoseModeSaveData.ReadFromGlobals();
     this.data.saveFileData     = SaveFileSaveData.ReadFromGlobals();
     this.data.schemeData       = SchemeSaveData.ReadFromGlobals();
     this.data.schoolData       = SchoolSaveData.ReadFromGlobals();
     this.data.senpaiData       = SenpaiSaveData.ReadFromGlobals();
     this.data.studentData      = StudentSaveData.ReadFromGlobals();
     this.data.taskData         = TaskSaveData.ReadFromGlobals();
     this.data.yanvaniaData     = YanvaniaSaveData.ReadFromGlobals();
 }