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 GH3Songlist(zzGenericNode1 class308_0, GH3Songlist gh3Songlist_0) { this.findEditableSongs(class308_0, gh3Songlist_0); }