// Token: 0x060014FA RID: 5370 RVA: 0x000B7A24 File Offset: 0x000B5C24 public static void DeleteAll() { Globals.Delete("Profile_" + GameGlobals.Profile + "_Affection"); Globals.Delete("Profile_" + GameGlobals.Profile + "_AffectionLevel"); Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_ComplimentGiven_", DatingGlobals.KeysOfComplimentGiven()); Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_SuitorCheck_", DatingGlobals.KeysOfSuitorCheck()); Globals.Delete("Profile_" + GameGlobals.Profile + "_SuitorProgress"); Globals.Delete("Profile_" + GameGlobals.Profile + "_RivalSabotaged"); Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_SuitorTrait_", DatingGlobals.KeysOfSuitorTrait()); Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_TopicDiscussed_", DatingGlobals.KeysOfTopicDiscussed()); Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_TraitDemonstrated_", DatingGlobals.KeysOfTraitDemonstrated()); }
// Token: 0x060019F5 RID: 6645 RVA: 0x000FD56C File Offset: 0x000FB76C public static DatingSaveData ReadFromGlobals() { DatingSaveData datingSaveData = new DatingSaveData(); datingSaveData.affection = DatingGlobals.Affection; datingSaveData.affectionLevel = DatingGlobals.AffectionLevel; foreach (int num in DatingGlobals.KeysOfComplimentGiven()) { if (DatingGlobals.GetComplimentGiven(num)) { datingSaveData.complimentGiven.Add(num); } } foreach (int num2 in DatingGlobals.KeysOfSuitorCheck()) { if (DatingGlobals.GetSuitorCheck(num2)) { datingSaveData.suitorCheck.Add(num2); } } datingSaveData.suitorProgress = DatingGlobals.SuitorProgress; foreach (int num3 in DatingGlobals.KeysOfSuitorTrait()) { datingSaveData.suitorTrait.Add(num3, DatingGlobals.GetSuitorTrait(num3)); } foreach (int num4 in DatingGlobals.KeysOfTopicDiscussed()) { if (DatingGlobals.GetTopicDiscussed(num4)) { datingSaveData.topicDiscussed.Add(num4); } } foreach (int num5 in DatingGlobals.KeysOfTraitDemonstrated()) { datingSaveData.traitDemonstrated.Add(num5, DatingGlobals.GetTraitDemonstrated(num5)); } return(datingSaveData); }