// Token: 0x0600076C RID: 1900 RVA: 0x0006FDB0 File Offset: 0x0006E1B0
 public void UpdateSchemeList()
 {
     for (int i = 1; i < this.SchemeNames.Length; i++)
     {
         if (SchemeGlobals.GetSchemeStage(i) == 100)
         {
             UILabel uilabel = this.SchemeNameLabels[i];
             uilabel.color = new Color(uilabel.color.r, uilabel.color.g, uilabel.color.b, 0.5f);
             this.Exclamations[i].enabled  = false;
             this.SchemeCostLabels[i].text = string.Empty;
         }
         else
         {
             this.SchemeCostLabels[i].text = (SchemeGlobals.GetSchemeUnlocked(i) ? string.Empty : this.SchemeCosts[i].ToString());
             if (SchemeGlobals.GetSchemeStage(i) > SchemeGlobals.GetSchemePreviousStage(i))
             {
                 SchemeGlobals.SetSchemePreviousStage(i, SchemeGlobals.GetSchemeStage(i));
                 this.Exclamations[i].enabled = true;
             }
             else
             {
                 this.Exclamations[i].enabled = false;
             }
         }
     }
 }
 // Token: 0x0600076D RID: 1901 RVA: 0x0006FEC4 File Offset: 0x0006E2C4
 public void UpdateSchemeInfo()
 {
     if (SchemeGlobals.GetSchemeStage(this.ID) != 100)
     {
         if (!SchemeGlobals.GetSchemeUnlocked(this.ID))
         {
             this.Arrow.gameObject.SetActive(false);
             this.PromptBar.Label[0].text = ((PlayerGlobals.PantyShots < this.SchemeCosts[this.ID]) ? string.Empty : "Purchase");
             this.PromptBar.UpdateButtons();
         }
         else if (SchemeGlobals.CurrentScheme == this.ID)
         {
             this.Arrow.gameObject.SetActive(true);
             this.Arrow.localPosition     = new Vector3(this.Arrow.localPosition.x, -17f - 28f * (float)SchemeGlobals.GetSchemeStage(this.ID), this.Arrow.localPosition.z);
             this.PromptBar.Label[0].text = "Stop Tracking";
             this.PromptBar.UpdateButtons();
         }
         else
         {
             this.Arrow.gameObject.SetActive(false);
             this.PromptBar.Label[0].text = "Start Tracking";
             this.PromptBar.UpdateButtons();
         }
     }
     else
     {
         this.PromptBar.Label[0].text = string.Empty;
         this.PromptBar.UpdateButtons();
     }
     this.Highlight.localPosition = new Vector3(this.Highlight.localPosition.x, 200f - 25f * (float)this.ID, this.Highlight.localPosition.z);
     this.SchemeIcon.mainTexture  = this.SchemeIcons[this.ID];
     this.SchemeDesc.text         = this.SchemeDescs[this.ID];
     if (SchemeGlobals.GetSchemeStage(this.ID) == 100)
     {
         this.SchemeInstructions.text = "This scheme is no longer available.";
     }
     else
     {
         this.SchemeInstructions.text = (SchemeGlobals.GetSchemeUnlocked(this.ID) ? this.SchemeSteps[this.ID] : ("Skills Required:\n" + this.SchemeSkills[this.ID]));
     }
     this.UpdatePantyCount();
 }
    public static SchemeSaveData ReadFromGlobals()
    {
        SchemeSaveData schemeSaveData = new SchemeSaveData();

        schemeSaveData.currentScheme = SchemeGlobals.CurrentScheme;
        schemeSaveData.darkSecret    = SchemeGlobals.DarkSecret;
        foreach (int num in SchemeGlobals.KeysOfSchemePreviousStage())
        {
            schemeSaveData.schemePreviousStage.Add(num, SchemeGlobals.GetSchemePreviousStage(num));
        }
        foreach (int num2 in SchemeGlobals.KeysOfSchemeStage())
        {
            schemeSaveData.schemeStage.Add(num2, SchemeGlobals.GetSchemeStage(num2));
        }
        foreach (int num3 in SchemeGlobals.KeysOfSchemeStatus())
        {
            if (SchemeGlobals.GetSchemeStatus(num3))
            {
                schemeSaveData.schemeStatus.Add(num3);
            }
        }
        foreach (int num4 in SchemeGlobals.KeysOfSchemeUnlocked())
        {
            if (SchemeGlobals.GetSchemeUnlocked(num4))
            {
                schemeSaveData.schemeUnlocked.Add(num4);
            }
        }
        foreach (int num5 in SchemeGlobals.KeysOfServicePurchased())
        {
            if (SchemeGlobals.GetServicePurchased(num5))
            {
                schemeSaveData.servicePurchased.Add(num5);
            }
        }
        return(schemeSaveData);
    }
 // Token: 0x0600076B RID: 1899 RVA: 0x0006FB5C File Offset: 0x0006DF5C
 private void Update()
 {
     if (this.InputManager.TappedUp)
     {
         this.ID--;
         if (this.ID < 1)
         {
             this.ID = this.SchemeNames.Length - 1;
         }
         this.UpdateSchemeInfo();
     }
     if (this.InputManager.TappedDown)
     {
         this.ID++;
         if (this.ID > this.SchemeNames.Length - 1)
         {
             this.ID = 1;
         }
         this.UpdateSchemeInfo();
     }
     if (Input.GetButtonDown("A"))
     {
         AudioSource component = base.GetComponent <AudioSource>();
         if (this.PromptBar.Label[0].text != string.Empty)
         {
             if (!SchemeGlobals.GetSchemeUnlocked(this.ID))
             {
                 if (PlayerGlobals.PantyShots >= this.SchemeCosts[this.ID])
                 {
                     PlayerGlobals.PantyShots -= this.SchemeCosts[this.ID];
                     SchemeGlobals.SetSchemeUnlocked(this.ID, true);
                     SchemeGlobals.CurrentScheme = this.ID;
                     if (SchemeGlobals.GetSchemeStage(this.ID) == 0)
                     {
                         SchemeGlobals.SetSchemeStage(this.ID, 1);
                     }
                     this.UpdateInstructions();
                     this.UpdateSchemeList();
                     this.UpdateSchemeInfo();
                     component.clip = this.InfoPurchase;
                     component.Play();
                 }
             }
             else
             {
                 if (SchemeGlobals.CurrentScheme == this.ID)
                 {
                     SchemeGlobals.CurrentScheme = 0;
                 }
                 else
                 {
                     SchemeGlobals.CurrentScheme = this.ID;
                 }
                 this.UpdateSchemeInfo();
                 this.UpdateInstructions();
             }
         }
         else if (SchemeGlobals.GetSchemeStage(this.ID) != 100 && PlayerGlobals.PantyShots < this.SchemeCosts[this.ID])
         {
             component.clip = this.InfoAfford;
             component.Play();
         }
     }
     if (Input.GetButtonDown("B"))
     {
         this.PromptBar.ClearButtons();
         this.PromptBar.Label[0].text = "Accept";
         this.PromptBar.Label[1].text = "Exit";
         this.PromptBar.Label[5].text = "Choose";
         this.PromptBar.UpdateButtons();
         this.FavorMenu.SetActive(true);
         base.gameObject.SetActive(false);
     }
 }