﻿// Decompiled with JetBrains decompiler
// Type: JungleDecorationFinder
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 19851F1B-4780-4223-BA01-2C20F2CD781E
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe Stuff\LOCO Server\Unity Web Player Extractor\Saved Files\LOCO Server.unity3d_unpacked\Assembly-CSharp.dll

using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;

public class JungleDecorationFinder : DecorationFinder
{
  public override IEnumerable<Transform> GetDecorations()
  {
    return Enumerable.Where<Transform>((IEnumerable<Transform>) Object.FindObjectsOfType(typeof (Transform)), (Func<Transform, bool>) (trn =>
    {
      if (((Object) trn).get_name().StartsWith("PF_") && (((Object) trn.get_parent()).get_name().StartsWith("All_") || ((Object) trn.get_parent()).get_name().StartsWith("AdventureZone") || ((Object) trn.get_parent()).get_name().StartsWith("AZ_")))
        return !((Object) trn.get_parent()).get_name().StartsWith("All_Water");
      return false;
    }));
  }
}
