예제 #1
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);
        }
예제 #2
0
        public override void vmethod_4(StructurePointerNode class3020)
        {
            base.vmethod_4(class3020);
            UnicodeStructureNode @class;

            CoveredBy = (((@class = class3020.method_5(new UnicodeStructureNode("covered_by"))) != null)
                ? @class.method_8()
                : "");
            TagStructureNode class2;

            Band = (((class2 = class3020.method_5(new TagStructureNode("band"))) != null)
                ? class2.method_8()
                : "default_band");
            GuitaristChecksum = ((class2 = class3020.method_5(new TagStructureNode("guitarist_checksum"))) != null &&
                                 class2.method_8() == "aerosmith");
            AsciiStructureNode class3;

            SingerAnimPak = (((class3 = class3020.method_5(new AsciiStructureNode("singer_anim_pak"))) != null)
                ? class3.method_8()
                : "");
            IntegerStructureNode class4;

            ThinFretbar_8NoteParamsHighBpm =
                (((class4 = class3020.method_5(new IntegerStructureNode("thin_fretbar_8note_params_high_bpm"))) != null)
                ? class4.method_8()
                : 0);
            PerryMicStand = ((class4 = class3020.method_5(new IntegerStructureNode("perry_mic_stand"))) != null &&
                             class4.method_8() == 1);
        }
예제 #3
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);
        }
예제 #4
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");
 }
예제 #5
0
 public GH3Song(StructurePointerNode class302_0)
 {
     this.vmethod_4(class302_0);
 }
예제 #6
0
 public GhaSong(StructurePointerNode class3020)
 {
     vmethod_4(class3020);
 }
예제 #7
0
 public virtual void vmethod_4(StructurePointerNode class3020)
 {
     Name = class3020.method_5(new AsciiStructureNode("name")).method_8().ToLower();
     if (Name != null && !Name.Equals(""))
     {
         UnicodeStructureNode @class;
         Title = (((@class = class3020.method_5(new UnicodeStructureNode("title"))) != null)
             ? @class.method_8()
             : "");
         Artist = (((@class = class3020.method_5(new UnicodeStructureNode("artist"))) != null)
             ? @class.method_8()
             : "");
         Year = (((@class = class3020.method_5(new UnicodeStructureNode("year"))) != null)
             ? @class.method_8()
             : "");
         Bassist = (((@class = class3020.method_5(new UnicodeStructureNode("bassist"))) != null)
             ? CultureInfo.CurrentCulture.TextInfo.ToTitleCase(@class.method_8())
             : "Generic Bassist");
         AsciiStructureNode class2;
         Countoff = (((class2 = class3020.method_5(new AsciiStructureNode("countoff"))) != null)
             ? class2.method_8()
             : "");
         FloatStructureNode class3;
         BandVol = (((class3 = class3020.method_5(new FloatStructureNode("band_playback_volume"))) != null)
             ? class3.method_8()
             : 0f);
         GuitarVol = (((class3 = class3020.method_5(new FloatStructureNode("guitar_playback_volume"))) != null)
             ? class3.method_8()
             : 0f);
         HammerOn = (((class3 = class3020.method_5(new FloatStructureNode("hammer_on_measure_scale"))) != null)
             ? class3.method_8()
             : 0f);
         IntegerStructureNode class4;
         GemOffset = (((class4 = class3020.method_5(new IntegerStructureNode("gem_offset"))) != null)
             ? class4.method_8()
             : 0);
         FretbarOffset = (((class4 = class3020.method_5(new IntegerStructureNode("fretbar_offset"))) != null)
             ? class4.method_8()
             : 0);
         InputOffset = (((class4 = class3020.method_5(new IntegerStructureNode("input_offset"))) != null)
             ? class4.method_8()
             : 0);
         OriginalArtist = ((class4 = class3020.method_5(new IntegerStructureNode("original_artist"))) != null &&
                           class4.method_8() == 1);
         Leaderboard = ((class4 = class3020.method_5(new IntegerStructureNode("leaderboard"))) != null &&
                        class4.method_8() == 1);
         NotBass = ((class4 = class3020.method_5(new IntegerStructureNode("rhythm_track"))) != null &&
                    class4.method_8() == 1);
         TagStructureNode class5;
         Keyboard = ((class5 = class3020.method_5(new TagStructureNode("keyboard"))) != null &&
                     class5.method_8() == "true");
         Singer = (((class5 = class3020.method_5(new TagStructureNode("singer"))) != null)
             ? class5.method_8()
             : "");
         Boss    = (((class5 = class3020.method_5(new TagStructureNode("boss"))) != null) ? class5.method_8() : "");
         Version = (((class5 = class3020.method_5(new TagStructureNode("version"))) != null)
             ? Convert.ToInt32(string.Concat(class5.method_8()[2]))
             : 3);
         UseCoopNotetracks = (class3020.method_5(new TagStructureNode(0, "use_coop_notetracks")) != null);
         NoRhythmTrack     = (class3020.method_5(new TagStructureNode(0, "no_rhythm_track")) != null);
         try
         {
             ArtistText = class3020.method_5(new FileTagStructureNode("artist_text"))
                          .method_8()
                          .Equals("artist_text_by");
             return;
         }
         catch
         {
             ArtistText = (((@class = class3020.method_5(new UnicodeStructureNode("artist_text"))) != null)
                 ? @class.method_8()
                 : "by");
             return;
         }
     }
     throw new Exception("songlist.qb");
 }