// Token: 0x06000736 RID: 1846 RVA: 0x0006D500 File Offset: 0x0006B900 public static void WriteToGlobals(MissionModeSaveData data) { foreach (KeyValuePair <int, int> keyValuePair in data.missionCondition) { MissionModeGlobals.SetMissionCondition(keyValuePair.Key, keyValuePair.Value); } MissionModeGlobals.MissionDifficulty = data.missionDifficulty; MissionModeGlobals.MissionMode = data.missionMode; MissionModeGlobals.MissionRequiredClothing = data.missionRequiredClothing; MissionModeGlobals.MissionRequiredDisposal = data.missionRequiredDisposal; MissionModeGlobals.MissionRequiredWeapon = data.missionRequiredWeapon; MissionModeGlobals.MissionTarget = data.missionTarget; MissionModeGlobals.MissionTargetName = data.missionTargetName; MissionModeGlobals.NemesisDifficulty = data.nemesisDifficulty; }
// Token: 0x06000735 RID: 1845 RVA: 0x0006D464 File Offset: 0x0006B864 public static MissionModeSaveData ReadFromGlobals() { MissionModeSaveData missionModeSaveData = new MissionModeSaveData(); foreach (int num in MissionModeGlobals.KeysOfMissionCondition()) { missionModeSaveData.missionCondition.Add(num, MissionModeGlobals.GetMissionCondition(num)); } missionModeSaveData.missionDifficulty = MissionModeGlobals.MissionDifficulty; missionModeSaveData.missionMode = MissionModeGlobals.MissionMode; missionModeSaveData.missionRequiredClothing = MissionModeGlobals.MissionRequiredClothing; missionModeSaveData.missionRequiredDisposal = MissionModeGlobals.MissionRequiredDisposal; missionModeSaveData.missionRequiredWeapon = MissionModeGlobals.MissionRequiredWeapon; missionModeSaveData.missionTarget = MissionModeGlobals.MissionTarget; missionModeSaveData.missionTargetName = MissionModeGlobals.MissionTargetName; missionModeSaveData.nemesisDifficulty = MissionModeGlobals.NemesisDifficulty; return(missionModeSaveData); }
// 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); }
// 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(); }