public TGHManager(GH3Songlist gh3Songlist_1, GH3Tier gh3Tier_1, string string_2, string string_3) { this.gh3Songlist_0 = gh3Songlist_1; this.gh3Tier_0 = gh3Tier_1; this.string_0 = string_3; this.string_1 = string_2; }
public void method_1(GH3Tier gh3Tier_0) { this.title = gh3Tier_0.title; this.completion_movie = gh3Tier_0.completion_movie; this.level = gh3Tier_0.level; this.setlist_icon = gh3Tier_0.setlist_icon; this.songs = gh3Tier_0.songs; this.defaultunlocked = gh3Tier_0.defaultunlocked; this.encorep1 = gh3Tier_0.encorep1; this.encorep2 = gh3Tier_0.encorep2; this.aerosmith_encore_p1 = gh3Tier_0.aerosmith_encore_p1; this.boss = gh3Tier_0.boss; this.nocash = gh3Tier_0.nocash; this.unlockall = gh3Tier_0.unlockall; }
public TGHManager(GH3Songlist gh3Songlist_1, GH3Tier gh3Tier_1, string string_2) : this(gh3Songlist_1, gh3Tier_1, string_2, null) { }
private void TGHSwitch_MenuItem_Click(object sender, EventArgs e) { if (this.TierBox.SelectedIndex >= 0) { string text = KeyGenerator.OpenFile("Select the tier to switch too.", "GH3CP Tier File|*.tgh"); if (text.Equals("")) { return; } GH3Tier gH3Tier = new GH3Tier(); try { TGHManager tghManager; if (DialogResult.Yes == MessageBox.Show("Do you wish to import all contained song data (Music & Game Tracks)? Data and properties will be overwritten!", "Tier Switching", MessageBoxButtons.YesNo)) { tghManager = new TGHManager(this.gh3Songlist_0, gH3Tier, text, this.dataFolder); } else { tghManager = new TGHManager(this.gh3Songlist_0, gH3Tier, text); } tghManager.method_0(); this.TierBox.Items[this.TierBox.SelectedIndex] = gH3Tier; this.TierBox.SelectedIndex = this.TierBox.SelectedIndex; this.SetlistApply_Btn.Enabled = true; this.method_4(new Class247(this.class319_0, this.gh3Songlist_0)); this.method_0(); } catch { MessageBox.Show("File not compatible! Tier Switch failed.", "Tier Switching"); } } }
private void method_22(GH3Tier gh3Tier_0) { this.Tier_TLPanel.Enabled = true; this.TierTitle_TxtBox.Text = gh3Tier_0.title; this.TierUnlocked_NumBox.Value = gh3Tier_0.defaultunlocked; this.TierCompMovie_TxtBox.Text = gh3Tier_0.completion_movie; this.TierIcon_DropBox.SelectedItem = gh3Tier_0.setlist_icon; this.TierStage_DropBox.SelectedItem = gh3Tier_0.level; this.TierEncorep1_CheckBox.Checked = gh3Tier_0.encorep1; this.TierEncorep2_CheckBox.Checked = (gh3Tier_0.encorep2 || gh3Tier_0.aerosmith_encore_p1); this.TierBoss_CheckBox.Checked = gh3Tier_0.boss; this.NoCash_CheckBox.Checked = gh3Tier_0.nocash; this.UnlockAll_CheckBox.Checked = gh3Tier_0.unlockall; this.TierSongs_ListBox.Items.Clear(); this.TierSongs_ListBox.Items.AddRange(gh3Tier_0.songs.ToArray()); this.TierApply_Btn.Enabled = false; }
public TierManagement(string string_0, GH3Tier[] gh3Tier_0) { this.InitializeComponent(); this.TierList.Items.AddRange(gh3Tier_0); this.Text = this.Text + " (" + string_0 + ")"; }