Ejemplo n.º 1
0
 // Token: 0x06000A03 RID: 2563 RVA: 0x0004F080 File Offset: 0x0004D280
 private void Start()
 {
     this.Window.localScale = Vector3.zero;
     for (int i = 1; i < 10; i++)
     {
         this.Checks[i].SetActive(DatingGlobals.GetSuitorCheck(i));
     }
 }
Ejemplo n.º 2
0
    // 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);
    }