Esempio n. 1
0
		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;
		}
Esempio n. 2
0
        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);
        }
Esempio n. 3
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;
		}
Esempio n. 4
0
 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);
     }
 }
Esempio n. 5
0
        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);
        }
Esempio n. 6
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);
        }
Esempio n. 7
0
        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);
        }
Esempio n. 8
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));
        }
Esempio n. 9
0
        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);
        }
Esempio n. 10
0
 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);
     }
 }
Esempio n. 11
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);
        }
Esempio n. 12
0
		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;
		}
Esempio n. 13
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);
		}
Esempio n. 14
0
        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));
        }