Beispiel #1
0
        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.");
            }
        }
Beispiel #2
0
 public TghManager(Gh3Songlist gh3Songlist1, Gh3Tier gh3Tier1, string string2, string string3)
 {
     _gh3Songlist0 = gh3Songlist1;
     Gh3Tier0      = gh3Tier1;
     _string0      = string3;
     _string1      = string2;
 }
Beispiel #3
0
 public SghManager(Gh3Songlist gh3Songlist1, Gh3Setlist gh3Setlist1, string saveLocation, string string3)
 {
     _gh3SongList    = gh3Songlist1;
     SetlistToExport = gh3Setlist1;
     _string0        = string3;
     _saveLocation   = saveLocation;
 }
Beispiel #4
0
 public ZzSetListUpdater(int int1, ZzPakNode2 class3181, Gh3Songlist gh3Songlist1)
 {
     _string0      = gh3Songlist1.method_8(int1);
     _int0         = int1;
     _class3180    = class3181;
     _gh3Songlist0 = gh3Songlist1;
 }
Beispiel #5
0
 public Class246(int int1, ZzPakNode2 class3181, Gh3Songlist gh3Songlist1, bool bool1)
 {
     _string0      = gh3Songlist1.Class2140.method_0(int1);
     _int0         = int1;
     _class3180    = class3181;
     _gh3Songlist0 = gh3Songlist1;
     _bool0        = bool1;
 }
Beispiel #6
0
        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.");
                    }
                }
            }
        }
Beispiel #7
0
 public Gh3Setlist(StructureHeaderNode class2860, Gh3Songlist gh3Songlist0)
 {
     method_5(class2860, gh3Songlist0);
 }
Beispiel #8
0
 public TghManager(Gh3Songlist gh3Songlist1, Gh3Tier gh3Tier1, string string2) : this(gh3Songlist1, gh3Tier1,
                                                                                      string2, null)
 {
 }
Beispiel #9
0
 public SghManager(Gh3Songlist gh3Songlist1, Gh3Setlist gh3Setlist1, string string2) : this(gh3Songlist1,
                                                                                            gh3Setlist1, string2, null)
 {
 }
Beispiel #10
0
 public Gh3Tier(StructureHeaderNode class2860, Gh3Songlist gh3Songlist0)
 {
     method_2(class2860, gh3Songlist0);
 }
Beispiel #11
0
 public ZzSetListParser(ZzPakNode2 class3181, Gh3Songlist gh3Songlist1, bool bool1)
 {
     _class3180    = class3181;
     _gh3Songlist0 = gh3Songlist1;
     _bool0        = bool1;
 }
Beispiel #12
0
 public Class247(ZzPakNode2 class3181, Gh3Songlist gh3Songlist1)
 {
     _class3180    = class3181;
     _gh3Songlist0 = gh3Songlist1;
 }
Beispiel #13
0
 public UpdateSetlistSwitcher(ZzPakNode2 class3181, Gh3Songlist gh3Songlist1, bool bool1)
 {
     _class3180    = class3181;
     _gh3Songlist0 = gh3Songlist1;
     _bool0        = bool1;
 }