Пример #1
0
    // Token: 0x06000720 RID: 1824 RVA: 0x0006CAF0 File Offset: 0x0006AEF0
    public static CollectibleSaveData ReadFromGlobals()
    {
        CollectibleSaveData collectibleSaveData = new CollectibleSaveData();

        foreach (int num in CollectibleGlobals.KeysOfBasementTapeCollected())
        {
            if (CollectibleGlobals.GetBasementTapeCollected(num))
            {
                collectibleSaveData.basementTapeCollected.Add(num);
            }
        }
        foreach (int num2 in CollectibleGlobals.KeysOfBasementTapeListened())
        {
            if (CollectibleGlobals.GetBasementTapeListened(num2))
            {
                collectibleSaveData.basementTapeListened.Add(num2);
            }
        }
        foreach (int num3 in CollectibleGlobals.KeysOfMangaCollected())
        {
            if (CollectibleGlobals.GetMangaCollected(num3))
            {
                collectibleSaveData.mangaCollected.Add(num3);
            }
        }
        foreach (int num4 in CollectibleGlobals.KeysOfTapeCollected())
        {
            if (CollectibleGlobals.GetTapeCollected(num4))
            {
                collectibleSaveData.tapeCollected.Add(num4);
            }
        }
        foreach (int num5 in CollectibleGlobals.KeysOfTapeListened())
        {
            if (CollectibleGlobals.GetTapeListened(num5))
            {
                collectibleSaveData.tapeListened.Add(num5);
            }
        }
        return(collectibleSaveData);
    }
Пример #2
0
 // Token: 0x06000721 RID: 1825 RVA: 0x0006CC40 File Offset: 0x0006B040
 public static void WriteToGlobals(CollectibleSaveData data)
 {
     foreach (int tapeID in data.basementTapeCollected)
     {
         CollectibleGlobals.SetBasementTapeCollected(tapeID, true);
     }
     foreach (int tapeID2 in data.basementTapeListened)
     {
         CollectibleGlobals.SetBasementTapeListened(tapeID2, true);
     }
     foreach (int mangaID in data.mangaCollected)
     {
         CollectibleGlobals.SetMangaCollected(mangaID, true);
     }
     foreach (int tapeID3 in data.tapeCollected)
     {
         CollectibleGlobals.SetTapeCollected(tapeID3, true);
     }
     foreach (int tapeID4 in data.tapeListened)
     {
         CollectibleGlobals.SetTapeListened(tapeID4, true);
     }
 }
Пример #3
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);
 }
Пример #4
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();
 }