public void Setup() { lbupgrades.Items.Clear(); foreach (var itm in Shiftorium.GetAvailable()) { lbupgrades.Items.Add(itm.Name); } }
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(); } }
public dynamic[] getAvailable() { return(Shiftorium.GetAvailable()); }