public override StructurePointerNode vmethod_5() { StructurePointerNode @class = base.vmethod_5(); StructureHeaderNode class2 = @class.method_8(); if (!this.covered_by.Equals("")) { class2.method_3(new UnicodeStructureNode("covered_by", this.covered_by)); } class2.method_3(new TagStructureNode("band", this.band)); if (this.guitarist_checksum) { class2.method_3(new TagStructureNode("guitarist_checksum", "aerosmith")); } if (!this.singer_anim_pak.Equals("")) { class2.method_3(new AsciiStructureNode("singer_anim_pak", this.singer_anim_pak)); } if (this.thin_fretbar_8note_params_high_bpm != 0) { class2.method_3(new IntegerStructureNode("band_playback_volume", this.thin_fretbar_8note_params_high_bpm)); } if (this.perry_mic_stand) { class2.method_3(new IntegerStructureNode("band_playback_volume", 1)); } return(@class); }
public StructurePointerRootNode(int int_2, int int_3, StructureHeaderNode class286_0) { this.int_0 = int_2; this.int_1 = int_3; base.Nodes.Add(class286_0); this.vmethod_0(); }
public StructurePointerRootNode(int int2, int int3, StructureHeaderNode class2860) { Int0 = int2; Int1 = int3; Nodes.Add(class2860); vmethod_0(); }
public StructureHeaderNode method_3() { var @class = new StructureHeaderNode(); @class.method_3(new UnicodeStructureNode("title", Title)); if (Songs.Count == 0) { @class.method_3(new ArrayPointerNode("songs", new FloatListNode(true))); } else { var list = new List <int>(); foreach (var current in Songs) { list.Add(QbSongClass1.AddKeyToDictionary(current.Name)); } @class.method_3(new ArrayPointerNode("songs", new TagArray(list))); } if (Boss) { @class.method_3(new TagStructureNode(0, "boss")); } if (Encorep1) { @class.method_3(new TagStructureNode(0, "encorep1")); } if (Encorep2) { @class.method_3(new TagStructureNode(0, "encorep2")); } if (AerosmithEncoreP1) { @class.method_3(new TagStructureNode(0, "aerosmith_encore_p1")); } if (Level != null && Level != "No Preset Stage") { @class.method_3(new TagStructureNode("level", Level)); } if (Defaultunlocked != 0) { @class.method_3(new IntegerStructureNode("defaultunlocked", Defaultunlocked)); } if (!CompletionMovie.Equals("")) { @class.method_3(new AsciiStructureNode("completion_movie", CompletionMovie)); } if (!SetlistIcon.Equals("No Icon")) { @class.method_3(new TagStructureNode("setlist_icon", SetlistIcon)); } if (Nocash) { @class.method_3(new TagStructureNode(0, "nocash")); } if (Unlockall) { @class.method_3(new TagStructureNode(0, "unlockall")); } return(@class); }
public StructureHeaderNode method_3() { StructureHeaderNode @class = new StructureHeaderNode(); @class.method_3(new UnicodeStructureNode("title", this.title)); if (this.songs.Count == 0) { @class.method_3(new ArrayPointerNode("songs", new FloatListNode(true))); } else { List <int> list = new List <int>(); foreach (GH3Song current in this.songs) { list.Add(QbSongClass1.smethod_9(current.name)); } @class.method_3(new ArrayPointerNode("songs", new TagArray(list))); } if (this.boss) { @class.method_3(new TagStructureNode(0, "boss")); } if (this.encorep1) { @class.method_3(new TagStructureNode(0, "encorep1")); } if (this.encorep2) { @class.method_3(new TagStructureNode(0, "encorep2")); } if (this.aerosmith_encore_p1) { @class.method_3(new TagStructureNode(0, "aerosmith_encore_p1")); } if (this.level != null && this.level != "No Preset Stage") { @class.method_3(new TagStructureNode("level", this.level)); } if (this.defaultunlocked != 0) { @class.method_3(new IntegerStructureNode("defaultunlocked", this.defaultunlocked)); } if (!this.completion_movie.Equals("")) { @class.method_3(new AsciiStructureNode("completion_movie", this.completion_movie)); } if (!this.setlist_icon.Equals("No Icon")) { @class.method_3(new TagStructureNode("setlist_icon", this.setlist_icon)); } if (this.nocash) { @class.method_3(new TagStructureNode(0, "nocash")); } if (this.unlockall) { @class.method_3(new TagStructureNode(0, "unlockall")); } return(@class); }
public StructureHeaderNode method_1() { StructureHeaderNode @class = new StructureHeaderNode(); @class.method_3(new TagStructureNode("tier_global", this.setlist)); @class.method_3(new TagStructureNode("progression_global", this.progression)); return @class; }
public void method_2(StructureHeaderNode class286_0, GH3Songlist gh3Songlist_0) { UnicodeStructureNode @class; this.title = (((@class = class286_0.method_5<UnicodeStructureNode>(new UnicodeStructureNode("title"))) != null) ? @class.method_8() : ""); AsciiStructureNode class2; this.completion_movie = (((class2 = class286_0.method_5<AsciiStructureNode>(new AsciiStructureNode("completion_movie"))) != null) ? class2.method_8() : ""); IntegerStructureNode class3; this.defaultunlocked = (((class3 = class286_0.method_5<IntegerStructureNode>(new IntegerStructureNode("defaultunlocked"))) != null) ? class3.method_8() : 0); TagStructureNode class4; this.level = (((class4 = class286_0.method_5<TagStructureNode>(new TagStructureNode("level"))) != null) ? class4.method_8() : "No Preset Stage"); this.setlist_icon = (((class4 = class286_0.method_5<TagStructureNode>(new TagStructureNode("setlist_icon"))) != null) ? class4.method_8() : "No Icon"); this.encorep1 = (class286_0.method_5<TagStructureNode>(new TagStructureNode(0, "encorep1")) != null); this.encorep2 = (class286_0.method_5<TagStructureNode>(new TagStructureNode(0, "encorep2")) != null); this.aerosmith_encore_p1 = (class286_0.method_5<TagStructureNode>(new TagStructureNode(0, "aerosmith_encore_p1")) != null); this.boss = (class286_0.method_5<TagStructureNode>(new TagStructureNode(0, "boss")) != null); this.nocash = (class286_0.method_5<TagStructureNode>(new TagStructureNode(0, "nocash")) != null); this.unlockall = (class286_0.method_5<TagStructureNode>(new TagStructureNode(0, "unlockall")) != null); ArrayPointerNode class5 = new ArrayPointerNode("songs"); if (class286_0.method_6<ArrayPointerNode>(ref class5) && !(class5.method_8() is FloatListNode)) { foreach (string current in class5.method_8().method_8<string>()) { if (gh3Songlist_0.ContainsKey(current)) { this.songs.Add(gh3Songlist_0[current]); } else { Console.WriteLine("Song (" + current + ") skipped: does not exist in the songlist."); } } } }
public void method_5(StructureHeaderNode class2860, Gh3Songlist gh3Songlist0) { AsciiStructureNode @class; Prefix = (((@class = class2860.method_5(new AsciiStructureNode("prefix"))) != null) ? @class.method_8() : "general"); InitialMovie = (((@class = class2860.method_5(new AsciiStructureNode("initial_movie"))) != null) ? @class.method_8() : ""); IntegerStructureNode class2; var num = ((class2 = class2860.method_5(new IntegerStructureNode("num_tiers"))) != null) ? class2.method_8() : 0; try { for (var i = 1; i <= num; i++) { Tiers.Add(new Gh3Tier(class2860.method_5(new StructurePointerNode("tier" + i)).method_8(), gh3Songlist0)); } } catch { throw new Exception(Path + " setlist is corrupt: Tier/s missing."); } }
public StructureHeaderNode method_1() { var @class = new StructureHeaderNode(); @class.method_3(new TagStructureNode("tier_global", Setlist)); @class.method_3(new TagStructureNode("progression_global", Progression)); return(@class); }
public void method_8(StructureHeaderNode class2860) { if (Nodes.Count != 0) { Nodes[0] = class2860; return; } Nodes.Add(class2860); }
public void method_8(StructureHeaderNode class286_0) { if (base.Nodes.Count != 0) { base.Nodes[0] = class286_0; return; } base.Nodes.Add(class286_0); }
public StructureHeaderNode method_6() { StructureHeaderNode @class = new StructureHeaderNode(); @class.method_3(new AsciiStructureNode("prefix", this.prefix)); @class.method_3(new IntegerStructureNode("num_tiers", this.tiers.Count)); @class.method_3(new AsciiStructureNode("initial_movie", this.initial_movie)); for (int i = 0; i < this.tiers.Count; i++) { @class.method_3(new StructurePointerNode("tier" + (i + 1), this.tiers[i].method_3())); } return @class; }
public override void vmethod_0() { Console.WriteLine("-=- " + this.ToString() + " -=-"); if (!this.bool_0) { this.bool_0 = this.class318_0.method_6("scripts\\guitar\\custom_menu\\guitar_custom_menu.qb"); } if (!this.bool_0) { Console.WriteLine("Creating Custom Menu."); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_gem_scale.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_gem_scale")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_credits.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_credits")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_cutoff_viewer.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_cutoff_viewer")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_gfx_options.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_gfx_options")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_setlist_switcher.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_setlist_switcher")); zzGenericNode1 @class = this.class318_0.zzGetNode1(this.bool_1 ? "scripts\\guitar\\menu\\menu_main.qb" : "scripts\\guitar\\guitar_menu.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("create_main_menu"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_progression.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("get_progression_globals"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_gems.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("load_venue"))); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("start_gem_scroller"))); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("kill_gem_scroller"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_events.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_songwon_spawned"))); @class = this.class318_0.zzGetNode1("scripts\\game\\net\\guitar_net.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("net_write_single_player_stats"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_globaltags.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("setup_globaltags"))); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("setup_songtags"))); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("push_bandtags"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\menu\\menu_credits.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("scrolling_list_add_item"))); if (!this.bool_1) { zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("start_team_photos"))); } if (this.bool_1) { @class = this.class318_0.zzGetNode1("scripts\\guitar\\custom_menu\\guitar_custom_menu_cutoff_viewer.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("custom_menu_cutoff_viewer_create_paper"))); zzQbScriptZipperClass.smethod_1(@class.method_5 <ScriptRootNode>(new ScriptRootNode("custom_menu_cutoff_viewer_create_poster"))); } @class = this.class318_0.zzGetNode1("scripts\\guitar\\menu\\main_menu_flow.qb"); StructureHeaderNode class2 = new StructureHeaderNode(); class2.method_3(new TagStructureNode("action", "select_custom_menu")); class2.method_3(new TagStructureNode("flow_state", "custom_menu_fs")); class2.method_3(new TagStructureNode(0, "transition_right")); @class.method_5 <StructurePointerRootNode>(new StructurePointerRootNode("main_menu_fs")).method_5 <ArrayPointerNode>(new ArrayPointerNode("actions")).method_8().method_3(class2); } }
public StructureHeaderNode method_6() { StructureHeaderNode @class = new StructureHeaderNode(); @class.method_3(new AsciiStructureNode("prefix", this.prefix)); @class.method_3(new IntegerStructureNode("num_tiers", this.tiers.Count)); @class.method_3(new AsciiStructureNode("initial_movie", this.initial_movie)); for (int i = 0; i < this.tiers.Count; i++) { @class.method_3(new StructurePointerNode("tier" + (i + 1), this.tiers[i].method_3())); } return(@class); }
public StructureHeaderNode method_6() { var @class = new StructureHeaderNode(); @class.method_3(new AsciiStructureNode("prefix", Prefix)); @class.method_3(new IntegerStructureNode("num_tiers", Tiers.Count)); @class.method_3(new AsciiStructureNode("initial_movie", InitialMovie)); for (var i = 0; i < Tiers.Count; i++) { @class.method_3(new StructurePointerNode("tier" + (i + 1), Tiers[i].method_3())); } return(@class); }
public void method_2(StructureHeaderNode class2860, Gh3Songlist gh3Songlist0) { UnicodeStructureNode @class; Title = (((@class = class2860.method_5(new UnicodeStructureNode("title"))) != null) ? @class.method_8() : ""); AsciiStructureNode class2; CompletionMovie = (((class2 = class2860.method_5(new AsciiStructureNode("completion_movie"))) != null) ? class2.method_8() : ""); IntegerStructureNode class3; Defaultunlocked = (((class3 = class2860.method_5(new IntegerStructureNode("defaultunlocked"))) != null) ? class3.method_8() : 0); TagStructureNode class4; Level = (((class4 = class2860.method_5(new TagStructureNode("level"))) != null) ? class4.method_8() : "No Preset Stage"); SetlistIcon = (((class4 = class2860.method_5(new TagStructureNode("setlist_icon"))) != null) ? class4.method_8() : "No Icon"); Encorep1 = (class2860.method_5(new TagStructureNode(0, "encorep1")) != null); Encorep2 = (class2860.method_5(new TagStructureNode(0, "encorep2")) != null); AerosmithEncoreP1 = (class2860.method_5(new TagStructureNode(0, "aerosmith_encore_p1")) != null); Boss = (class2860.method_5(new TagStructureNode(0, "boss")) != null); Nocash = (class2860.method_5(new TagStructureNode(0, "nocash")) != null); Unlockall = (class2860.method_5(new TagStructureNode(0, "unlockall")) != null); var class5 = new ArrayPointerNode("songs"); if (class2860.method_6(ref class5) && !(class5.method_8() is FloatListNode)) { foreach (var current in class5.method_8().method_8 <string>()) { if (gh3Songlist0.ContainsKey(current)) { Songs.Add(gh3Songlist0[current]); } else { Console.WriteLine("Song (" + current + ") skipped: does not exist in the songlist."); } } } }
public void findEditableSongs(zzGenericNode1 class308_0, GH3Songlist gh3Songlist_0) { StructureHeaderNode @class = class308_0.method_5 <StructurePointerRootNode>(new StructurePointerRootNode("permanent_songlist_props")).method_7(); bool flag = class308_0.method_5 <TagStructureNode>(new TagStructureNode("band")) != null; base.Clear(); foreach (StructurePointerNode class2 in @class.Nodes) { GH3Song gH3Song = flag ? new GHASong(class2) : new GH3Song(class2); if (gh3Songlist_0 != null) { gH3Song.setEditable(!gh3Songlist_0.method_3(gH3Song.getSongName())); } gH3Song.setVisible(!GH3Songlist.IgnoreSongs.Contains(class2.int_0)); this.Add(gH3Song); } }
public void method_5(StructureHeaderNode class286_0, GH3Songlist gh3Songlist_0) { AsciiStructureNode @class; this.prefix = (((@class = class286_0.method_5<AsciiStructureNode>(new AsciiStructureNode("prefix"))) != null) ? @class.method_8() : "general"); this.initial_movie = (((@class = class286_0.method_5<AsciiStructureNode>(new AsciiStructureNode("initial_movie"))) != null) ? @class.method_8() : ""); IntegerStructureNode class2; int num = ((class2 = class286_0.method_5<IntegerStructureNode>(new IntegerStructureNode("num_tiers"))) != null) ? class2.method_8() : 0; try { for (int i = 1; i <= num; i++) { this.tiers.Add(new GH3Tier(class286_0.method_5<StructurePointerNode>(new StructurePointerNode("tier" + i)).method_8(), gh3Songlist_0)); } } catch { throw new Exception(this.path + " setlist is corrupt: Tier/s missing."); } }
public void method_5(StructureHeaderNode class286_0, GH3Songlist gh3Songlist_0) { AsciiStructureNode @class; this.prefix = (((@class = class286_0.method_5 <AsciiStructureNode>(new AsciiStructureNode("prefix"))) != null) ? @class.method_8() : "general"); this.initial_movie = (((@class = class286_0.method_5 <AsciiStructureNode>(new AsciiStructureNode("initial_movie"))) != null) ? @class.method_8() : ""); IntegerStructureNode class2; int num = ((class2 = class286_0.method_5 <IntegerStructureNode>(new IntegerStructureNode("num_tiers"))) != null) ? class2.method_8() : 0; try { for (int i = 1; i <= num; i++) { this.tiers.Add(new GH3Tier(class286_0.method_5 <StructurePointerNode>(new StructurePointerNode("tier" + i)).method_8(), gh3Songlist_0)); } } catch { throw new Exception(this.path + " setlist is corrupt: Tier/s missing."); } }
public void method_2(StructureHeaderNode class286_0, GH3Songlist gh3Songlist_0) { UnicodeStructureNode @class; this.title = (((@class = class286_0.method_5 <UnicodeStructureNode>(new UnicodeStructureNode("title"))) != null) ? @class.method_8() : ""); AsciiStructureNode class2; this.completion_movie = (((class2 = class286_0.method_5 <AsciiStructureNode>(new AsciiStructureNode("completion_movie"))) != null) ? class2.method_8() : ""); IntegerStructureNode class3; this.defaultunlocked = (((class3 = class286_0.method_5 <IntegerStructureNode>(new IntegerStructureNode("defaultunlocked"))) != null) ? class3.method_8() : 0); TagStructureNode class4; this.level = (((class4 = class286_0.method_5 <TagStructureNode>(new TagStructureNode("level"))) != null) ? class4.method_8() : "No Preset Stage"); this.setlist_icon = (((class4 = class286_0.method_5 <TagStructureNode>(new TagStructureNode("setlist_icon"))) != null) ? class4.method_8() : "No Icon"); this.encorep1 = (class286_0.method_5 <TagStructureNode>(new TagStructureNode(0, "encorep1")) != null); this.encorep2 = (class286_0.method_5 <TagStructureNode>(new TagStructureNode(0, "encorep2")) != null); this.aerosmith_encore_p1 = (class286_0.method_5 <TagStructureNode>(new TagStructureNode(0, "aerosmith_encore_p1")) != null); this.boss = (class286_0.method_5 <TagStructureNode>(new TagStructureNode(0, "boss")) != null); this.nocash = (class286_0.method_5 <TagStructureNode>(new TagStructureNode(0, "nocash")) != null); this.unlockall = (class286_0.method_5 <TagStructureNode>(new TagStructureNode(0, "unlockall")) != null); ArrayPointerNode class5 = new ArrayPointerNode("songs"); if (class286_0.method_6 <ArrayPointerNode>(ref class5) && !(class5.method_8() is FloatListNode)) { foreach (string current in class5.method_8().method_8 <string>()) { if (gh3Songlist_0.ContainsKey(current)) { this.songs.Add(gh3Songlist_0[current]); } else { Console.WriteLine("Song (" + current + ") skipped: does not exist in the songlist."); } } } }
public StructurePointerRootNode(int int_2, string string_0, StructureHeaderNode class286_0) : this(int_2, QbSongClass1.smethod_9(string_0), class286_0) { }
public StructurePointerNode(int int_1, StructureHeaderNode class286_0) { this.int_0 = int_1; base.Nodes.Add(class286_0); this.vmethod_0(); }
public void method_0(StructureHeaderNode class286_0) { this.setlist = class286_0.method_5<TagStructureNode>(new TagStructureNode("tier_global")).method_10(); this.progression = class286_0.method_5<TagStructureNode>(new TagStructureNode("progression_global")).method_10(); }
public GHLink(string string_0, StructureHeaderNode class286_0) { this.path = string_0; this.method_0(class286_0); }
public virtual StructurePointerNode vmethod_5() { StructureHeaderNode @class = new StructureHeaderNode(); @class.method_3(new TagStructureNode("checksum", this.name)); @class.method_3(new AsciiStructureNode("name", this.name)); @class.method_3(new UnicodeStructureNode("title", this.title)); @class.method_3(new UnicodeStructureNode("artist", this.artist.Equals("") ? " " : this.artist)); @class.method_3(new UnicodeStructureNode("year", this.year.Equals("") ? " " : this.year)); if (this.artist_text is bool) { @class.method_3(new FileTagStructureNode("artist_text", ((bool)this.artist_text) ? "artist_text_by" : "artist_text_as_made_famous_by")); } else if (this.artist_text is string) { @class.method_3(new UnicodeStructureNode("artist_text", (string)this.artist_text)); } @class.method_3(new IntegerStructureNode("original_artist", this.original_artist ? 1 : 0)); if (this.version == 0) { this.version = 3; } @class.method_3(new TagStructureNode("version", "gh" + this.version)); @class.method_3(new IntegerStructureNode("leaderboard", this.leaderboard ? 1 : 0)); if (this.gem_offset != 0) { @class.method_3(new IntegerStructureNode("gem_offset", this.gem_offset)); } if (this.fretbar_offset != 0) { @class.method_3(new IntegerStructureNode("fretbar_offset", this.fretbar_offset)); } if (this.input_offset != 0) { @class.method_3(new IntegerStructureNode("input_offset", this.input_offset)); } if (!this.singer.Equals("")) { @class.method_3(new TagStructureNode("singer", this.singer)); } if (!this.boss.Equals("")) { @class.method_3(new TagStructureNode("boss", this.boss)); } if (!this.keyboard) { @class.method_3(new TagStructureNode("keyboard", "false")); } if (!this.bassist.Equals("Generic Bassist")) { @class.method_3(new UnicodeStructureNode("bassist", this.bassist)); } if (!this.countoff.Equals("")) { @class.method_3(new AsciiStructureNode("countoff", this.countoff)); } @class.method_3(new IntegerStructureNode("rhythm_track", this.not_bass ? 1 : 0)); if (this.band_vol != 0f) { @class.method_3(new FloatStructureNode("band_playback_volume", this.band_vol)); } if (this.guitar_vol != 0f) { @class.method_3(new FloatStructureNode("guitar_playback_volume", this.guitar_vol)); } if (this.hammer_on != 0f) { @class.method_3(new FloatStructureNode("hammer_on_measure_scale", this.hammer_on)); } if (this.use_coop_notetracks) { @class.method_3(new TagStructureNode(0, "use_coop_notetracks")); } if (this.no_rhythm_track) { @class.method_3(new TagStructureNode(0, "no_rhythm_track")); } return(new StructurePointerNode(this.name, @class)); }
public virtual StructurePointerNode vmethod_5() { StructureHeaderNode @class = new StructureHeaderNode(); @class.method_3(new TagStructureNode("checksum", this.name)); @class.method_3(new AsciiStructureNode("name", this.name)); @class.method_3(new UnicodeStructureNode("title", this.title)); @class.method_3(new UnicodeStructureNode("artist", this.artist.Equals("") ? " " : this.artist)); @class.method_3(new UnicodeStructureNode("year", this.year.Equals("") ? " " : this.year)); if (this.artist_text is bool) { @class.method_3(new FileTagStructureNode("artist_text", ((bool)this.artist_text) ? "artist_text_by" : "artist_text_as_made_famous_by")); } else if (this.artist_text is string) { @class.method_3(new UnicodeStructureNode("artist_text", (string)this.artist_text)); } @class.method_3(new IntegerStructureNode("original_artist", this.original_artist ? 1 : 0)); if (this.version == 0) { this.version = 3; } @class.method_3(new TagStructureNode("version", "gh" + this.version)); @class.method_3(new IntegerStructureNode("leaderboard", this.leaderboard ? 1 : 0)); if (this.gem_offset != 0) { @class.method_3(new IntegerStructureNode("gem_offset", this.gem_offset)); } if (this.fretbar_offset != 0) { @class.method_3(new IntegerStructureNode("fretbar_offset", this.fretbar_offset)); } if (this.input_offset != 0) { @class.method_3(new IntegerStructureNode("input_offset", this.input_offset)); } if (!this.singer.Equals("")) { @class.method_3(new TagStructureNode("singer", this.singer)); } if (!this.boss.Equals("")) { @class.method_3(new TagStructureNode("boss", this.boss)); } if (!this.keyboard) { @class.method_3(new TagStructureNode("keyboard", "false")); } if (!this.bassist.Equals("Generic Bassist")) { @class.method_3(new UnicodeStructureNode("bassist", this.bassist)); } if (!this.countoff.Equals("")) { @class.method_3(new AsciiStructureNode("countoff", this.countoff)); } @class.method_3(new IntegerStructureNode("rhythm_track", this.not_bass ? 1 : 0)); if (this.band_vol != 0f) { @class.method_3(new FloatStructureNode("band_playback_volume", this.band_vol)); } if (this.guitar_vol != 0f) { @class.method_3(new FloatStructureNode("guitar_playback_volume", this.guitar_vol)); } if (this.hammer_on != 0f) { @class.method_3(new FloatStructureNode("hammer_on_measure_scale", this.hammer_on)); } if (this.use_coop_notetracks) { @class.method_3(new TagStructureNode(0, "use_coop_notetracks")); } if (this.no_rhythm_track) { @class.method_3(new TagStructureNode(0, "no_rhythm_track")); } return new StructurePointerNode(this.name, @class); }
public GH3Setlist(StructureHeaderNode class286_0, GH3Songlist gh3Songlist_0) { this.method_5(class286_0, gh3Songlist_0); }
public GH3Tier(StructureHeaderNode class286_0, GH3Songlist gh3Songlist_0) { this.method_2(class286_0, gh3Songlist_0); }
public Gh3Setlist(StructureHeaderNode class2860, Gh3Songlist gh3Songlist0) { method_5(class2860, gh3Songlist0); }
public StructurePointerNode(string string0, StructureHeaderNode class2860) : this( QbSongClass1.AddKeyToDictionary(string0), class2860) { }
public override void vmethod_0() { Console.WriteLine("-=- " + this.ToString() + " -=-"); if (!this.bool_0) { this.bool_0 = this.class318_0.method_6("scripts\\guitar\\custom_menu\\guitar_custom_menu.qb"); } if (!this.bool_0) { Console.WriteLine("Creating Custom Menu."); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_gem_scale.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_gem_scale")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_credits.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_credits")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_cutoff_viewer.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_cutoff_viewer")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_gfx_options.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_gfx_options")); this.class318_0.method_0("scripts\\guitar\\custom_menu\\guitar_custom_menu_setlist_switcher.qb", zzQbScriptZipperClass.smethod_3("guitar_custom_menu_setlist_switcher")); zzGenericNode1 @class = this.class318_0.zzGetNode1(this.bool_1 ? "scripts\\guitar\\menu\\menu_main.qb" : "scripts\\guitar\\guitar_menu.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("create_main_menu"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_progression.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("get_progression_globals"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_gems.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("load_venue"))); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("start_gem_scroller"))); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("kill_gem_scroller"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_events.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("guitarevent_songwon_spawned"))); @class = this.class318_0.zzGetNode1("scripts\\game\\net\\guitar_net.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("net_write_single_player_stats"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_globaltags.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("setup_globaltags"))); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("setup_songtags"))); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("push_bandtags"))); @class = this.class318_0.zzGetNode1("scripts\\guitar\\menu\\menu_credits.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("scrolling_list_add_item"))); if (!this.bool_1) { zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("start_team_photos"))); } if (this.bool_1) { @class = this.class318_0.zzGetNode1("scripts\\guitar\\custom_menu\\guitar_custom_menu_cutoff_viewer.qb"); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("custom_menu_cutoff_viewer_create_paper"))); zzQbScriptZipperClass.smethod_1(@class.method_5<ScriptRootNode>(new ScriptRootNode("custom_menu_cutoff_viewer_create_poster"))); } @class = this.class318_0.zzGetNode1("scripts\\guitar\\menu\\main_menu_flow.qb"); StructureHeaderNode class2 = new StructureHeaderNode(); class2.method_3(new TagStructureNode("action", "select_custom_menu")); class2.method_3(new TagStructureNode("flow_state", "custom_menu_fs")); class2.method_3(new TagStructureNode(0, "transition_right")); @class.method_5<StructurePointerRootNode>(new StructurePointerRootNode("main_menu_fs")).method_5<ArrayPointerNode>(new ArrayPointerNode("actions")).method_8().method_3(class2); } }
public void method_0(StructureHeaderNode class286_0) { this.setlist = class286_0.method_5 <TagStructureNode>(new TagStructureNode("tier_global")).method_10(); this.progression = class286_0.method_5 <TagStructureNode>(new TagStructureNode("progression_global")).method_10(); }
public StructureHeaderNode method_3() { StructureHeaderNode @class = new StructureHeaderNode(); @class.method_3(new UnicodeStructureNode("title", this.title)); if (this.songs.Count == 0) { @class.method_3(new ArrayPointerNode("songs", new FloatListNode(true))); } else { List<int> list = new List<int>(); foreach (GH3Song current in this.songs) { list.Add(QbSongClass1.smethod_9(current.name)); } @class.method_3(new ArrayPointerNode("songs", new TagArray(list))); } if (this.boss) { @class.method_3(new TagStructureNode(0, "boss")); } if (this.encorep1) { @class.method_3(new TagStructureNode(0, "encorep1")); } if (this.encorep2) { @class.method_3(new TagStructureNode(0, "encorep2")); } if (this.aerosmith_encore_p1) { @class.method_3(new TagStructureNode(0, "aerosmith_encore_p1")); } if (this.level != null && this.level != "No Preset Stage") { @class.method_3(new TagStructureNode("level", this.level)); } if (this.defaultunlocked != 0) { @class.method_3(new IntegerStructureNode("defaultunlocked", this.defaultunlocked)); } if (!this.completion_movie.Equals("")) { @class.method_3(new AsciiStructureNode("completion_movie", this.completion_movie)); } if (!this.setlist_icon.Equals("No Icon")) { @class.method_3(new TagStructureNode("setlist_icon", this.setlist_icon)); } if (this.nocash) { @class.method_3(new TagStructureNode(0, "nocash")); } if (this.unlockall) { @class.method_3(new TagStructureNode(0, "unlockall")); } return @class; }
public StructurePointerNode(int int1, StructureHeaderNode class2860) { Int0 = int1; Nodes.Add(class2860); vmethod_0(); }
public Gh3Tier(StructureHeaderNode class2860, Gh3Songlist gh3Songlist0) { method_2(class2860, gh3Songlist0); }
public GhLink(string string0, StructureHeaderNode class2860) { Path = string0; method_0(class2860); }
public void method_0(StructureHeaderNode class2860) { Setlist = class2860.method_5(new TagStructureNode("tier_global")).method_10(); Progression = class2860.method_5(new TagStructureNode("progression_global")).method_10(); }
public virtual StructurePointerNode vmethod_5() { var @class = new StructureHeaderNode(); @class.method_3(new TagStructureNode("checksum", Name)); @class.method_3(new AsciiStructureNode("name", Name)); @class.method_3(new UnicodeStructureNode("title", Title)); @class.method_3(new UnicodeStructureNode("artist", Artist.Equals("") ? " " : Artist)); @class.method_3(new UnicodeStructureNode("year", Year.Equals("") ? " " : Year)); if (ArtistText is bool) { @class.method_3(new FileTagStructureNode("artist_text", ((bool)ArtistText) ? "artist_text_by" : "artist_text_as_made_famous_by")); } else if (ArtistText is string) { @class.method_3(new UnicodeStructureNode("artist_text", (string)ArtistText)); } @class.method_3(new IntegerStructureNode("original_artist", OriginalArtist ? 1 : 0)); if (Version == 0) { Version = 3; } @class.method_3(new TagStructureNode("version", "gh" + Version)); @class.method_3(new IntegerStructureNode("leaderboard", Leaderboard ? 1 : 0)); if (GemOffset != 0) { @class.method_3(new IntegerStructureNode("gem_offset", GemOffset)); } if (FretbarOffset != 0) { @class.method_3(new IntegerStructureNode("fretbar_offset", FretbarOffset)); } if (InputOffset != 0) { @class.method_3(new IntegerStructureNode("input_offset", InputOffset)); } if (!Singer.Equals("")) { @class.method_3(new TagStructureNode("singer", Singer)); } if (!Boss.Equals("")) { @class.method_3(new TagStructureNode("boss", Boss)); } if (!Keyboard) { @class.method_3(new TagStructureNode("keyboard", "false")); } if (!Bassist.Equals("Generic Bassist")) { @class.method_3(new UnicodeStructureNode("bassist", Bassist)); } if (!Countoff.Equals("")) { @class.method_3(new AsciiStructureNode("countoff", Countoff)); } @class.method_3(new IntegerStructureNode("rhythm_track", NotBass ? 1 : 0)); if (BandVol != 0f) { @class.method_3(new FloatStructureNode("band_playback_volume", BandVol)); } if (GuitarVol != 0f) { @class.method_3(new FloatStructureNode("guitar_playback_volume", GuitarVol)); } if (HammerOn != 0f) { @class.method_3(new FloatStructureNode("hammer_on_measure_scale", HammerOn)); } if (UseCoopNotetracks) { @class.method_3(new TagStructureNode(0, "use_coop_notetracks")); } if (NoRhythmTrack) { @class.method_3(new TagStructureNode(0, "no_rhythm_track")); } return(new StructurePointerNode(Name, @class)); }