ArcAnnihilation.Objects.Necronomicon.GetNecronomicons C# (CSharp) Метод

GetNecronomicons() публичный статический Метод

public static GetNecronomicons ( Unit me ) : IEnumerable
me Unit
Результат IEnumerable
            public static IEnumerable<Unit> GetNecronomicons(Unit me)
            {
                if (!Utils.SleepCheck("Necronomicon.refresh")) return _necronomicon;
                _necronomicon =
                    ObjectManager.GetEntities<Unit>()
                        .Where(x => x.IsAlive && x.IsControllable && x.Team == me.Team && x.IsSummoned)
                        .ToList();
                if (_necronomicon.Any())
                    Utils.Sleep(100, "Necronomicon.refresh");
                return _necronomicon;
            }