Example #1
0
		public override void vmethod_4(StructurePointerNode class302_0)
		{
			base.vmethod_4(class302_0);
			UnicodeStructureNode @class;
			this.covered_by = (((@class = class302_0.method_5<UnicodeStructureNode>(new UnicodeStructureNode("covered_by"))) != null) ? @class.method_8() : "");
			TagStructureNode class2;
			this.band = (((class2 = class302_0.method_5<TagStructureNode>(new TagStructureNode("band"))) != null) ? class2.method_8() : "default_band");
			this.guitarist_checksum = ((class2 = class302_0.method_5<TagStructureNode>(new TagStructureNode("guitarist_checksum"))) != null && class2.method_8() == "aerosmith");
			AsciiStructureNode class3;
			this.singer_anim_pak = (((class3 = class302_0.method_5<AsciiStructureNode>(new AsciiStructureNode("singer_anim_pak"))) != null) ? class3.method_8() : "");
			IntegerStructureNode class4;
			this.thin_fretbar_8note_params_high_bpm = (((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("thin_fretbar_8note_params_high_bpm"))) != null) ? class4.method_8() : 0);
			this.perry_mic_stand = ((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("perry_mic_stand"))) != null && class4.method_8() == 1);
		}
Example #2
0
		public GH3Song(StructurePointerNode class302_0)
		{
			this.vmethod_4(class302_0);
		}
Example #3
0
		public virtual void vmethod_4(StructurePointerNode class302_0)
		{
			this.name = class302_0.method_5<AsciiStructureNode>(new AsciiStructureNode("name")).method_8().ToLower();
			if (this.name != null && !this.name.Equals(""))
			{
				UnicodeStructureNode @class;
				this.title = (((@class = class302_0.method_5<UnicodeStructureNode>(new UnicodeStructureNode("title"))) != null) ? @class.method_8() : "");
				this.artist = (((@class = class302_0.method_5<UnicodeStructureNode>(new UnicodeStructureNode("artist"))) != null) ? @class.method_8() : "");
				this.year = (((@class = class302_0.method_5<UnicodeStructureNode>(new UnicodeStructureNode("year"))) != null) ? @class.method_8() : "");
				this.bassist = (((@class = class302_0.method_5<UnicodeStructureNode>(new UnicodeStructureNode("bassist"))) != null) ? CultureInfo.CurrentCulture.TextInfo.ToTitleCase(@class.method_8()) : "Generic Bassist");
				AsciiStructureNode class2;
				this.countoff = (((class2 = class302_0.method_5<AsciiStructureNode>(new AsciiStructureNode("countoff"))) != null) ? class2.method_8() : "");
				FloatStructureNode class3;
				this.band_vol = (((class3 = class302_0.method_5<FloatStructureNode>(new FloatStructureNode("band_playback_volume"))) != null) ? class3.method_8() : 0f);
				this.guitar_vol = (((class3 = class302_0.method_5<FloatStructureNode>(new FloatStructureNode("guitar_playback_volume"))) != null) ? class3.method_8() : 0f);
				this.hammer_on = (((class3 = class302_0.method_5<FloatStructureNode>(new FloatStructureNode("hammer_on_measure_scale"))) != null) ? class3.method_8() : 0f);
				IntegerStructureNode class4;
				this.gem_offset = (((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("gem_offset"))) != null) ? class4.method_8() : 0);
				this.fretbar_offset = (((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("fretbar_offset"))) != null) ? class4.method_8() : 0);
				this.input_offset = (((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("input_offset"))) != null) ? class4.method_8() : 0);
				this.original_artist = ((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("original_artist"))) != null && class4.method_8() == 1);
				this.leaderboard = ((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("leaderboard"))) != null && class4.method_8() == 1);
				this.not_bass = ((class4 = class302_0.method_5<IntegerStructureNode>(new IntegerStructureNode("rhythm_track"))) != null && class4.method_8() == 1);
				TagStructureNode class5;
				this.keyboard = ((class5 = class302_0.method_5<TagStructureNode>(new TagStructureNode("keyboard"))) != null && class5.method_8() == "true");
				this.singer = (((class5 = class302_0.method_5<TagStructureNode>(new TagStructureNode("singer"))) != null) ? class5.method_8() : "");
				this.boss = (((class5 = class302_0.method_5<TagStructureNode>(new TagStructureNode("boss"))) != null) ? class5.method_8() : "");
				this.version = (((class5 = class302_0.method_5<TagStructureNode>(new TagStructureNode("version"))) != null) ? Convert.ToInt32(string.Concat(class5.method_8()[2])) : 3);
				this.use_coop_notetracks = (class302_0.method_5<TagStructureNode>(new TagStructureNode(0, "use_coop_notetracks")) != null);
				this.no_rhythm_track = (class302_0.method_5<TagStructureNode>(new TagStructureNode(0, "no_rhythm_track")) != null);
				try
				{
					this.artist_text = class302_0.method_5<FileTagStructureNode>(new FileTagStructureNode("artist_text")).method_8().Equals("artist_text_by");
					return;
				}
				catch
				{
					this.artist_text = (((@class = class302_0.method_5<UnicodeStructureNode>(new UnicodeStructureNode("artist_text"))) != null) ? @class.method_8() : "by");
					return;
				}
			}
			throw new Exception("songlist.qb");
		}