AkaCore.Manager.EvadeManager.EvadeSkillshot.IsSafePoint C# (CSharp) Method

IsSafePoint() public static method

public static IsSafePoint ( System.Vector2 point ) : IsSafeResult
point System.Vector2
return IsSafeResult
            public static IsSafeResult IsSafePoint(Vector2 point)
            {
                var result = new IsSafeResult { SkillshotList = new List<Skillshot>() };
                foreach (var skillshot in
                    SkillshotDetector.DetectedSkillshots.Where(i => i.Evade && !i.IsSafePoint(point)))
                {
                    result.SkillshotList.Add(skillshot);
                }
                result.IsSafe = result.SkillshotList.Count == 0;
                return result;
            }