コード例 #1
0
ファイル: PhoenixExtension.cs プロジェクト: caleb-dp/Phoenix
        //---------------------------------------------------------------------------------------------

        public static double GetRealDistance(this UOObject obj, UOObject distanceFrom)
        {
            return(GetRealDistance(obj, distanceFrom.GetPosition()));
        }
コード例 #2
0
ファイル: PhoenixExtension.cs プロジェクト: caleb-dp/Phoenix
        //---------------------------------------------------------------------------------------------

        public static double GetRealDistance(this UOObject obj, IUOPosition positionFrom)
        {
            return(Robot.GetRealDistance(positionFrom, obj.GetPosition()));
        }
コード例 #3
0
ファイル: PhoenixExtension.cs プロジェクト: caleb-dp/Phoenix
        //---------------------------------------------------------------------------------------------

        public static double GetDistance(this UOObject obj, IUOPosition positionFrom)
        {
            return(Robot.GetRelativeVectorLength(positionFrom, obj.GetPosition()));
        }