AutoSharp.Utils.Positioning.GetAllyPosList C# (CSharp) Method

GetAllyPosList() public static method

returns a list of all ally positions
public static GetAllyPosList ( ) : List
return List
        public static List<Vector2> GetAllyPosList()
        {
            var allies = Heroes.AllyHeroes.Where(h => !h.IsMe && !h.IsDead && !h.InFountain()).ToList();
            return allies.Select(ally => ally.ServerPosition.To2D()).ToList();
        }