Example #1
0
        public void Setup()
        {
            lbupgrades.Items.Clear();

            foreach (var itm in Shiftorium.GetAvailable())
            {
                lbupgrades.Items.Add(itm.Name);
            }
        }
Example #2
0
        private void apps_Click(object sender, EventArgs e)
        {
            if (Shiftorium.UpgradeInstalled("advanced_app_launcher"))
            {
                lbalstatus.Text = $@"{SaveSystem.CurrentUser.Username}@{SaveSystem.CurrentSave.SystemName}
{SaveSystem.CurrentSave.Codepoints} Codepoints
{Shiftorium.GetAvailable().Length} available, {SaveSystem.CurrentSave.CountUpgrades()} installed.";

                flapps.Controls.Clear();
                apps.DropDown.Hide();
                pnladvancedal.Location = new Point(0, (LoadedSkin.DesktopPanelPosition == 0) ? desktoppanel.Height : this.Height - pnladvancedal.Height - desktoppanel.Height);
                pnladvancedal.Visible  = !pnladvancedal.Visible;
                pnladvancedal.BringToFront();
            }
        }
Example #3
0
 public dynamic[] getAvailable()
 {
     return(Shiftorium.GetAvailable());
 }