예제 #1
0
        public static ulong GetTargetGuid()
        {
            PlayerScan scan = new PlayerScan();

            scan.Ping();

            WowObject obj = scan.GetLocalTarget();

            return(obj.Guid);
        }
예제 #2
0
        public static bool IsTargetDead()
        {
            PlayerScan scan = new PlayerScan();

            scan.Ping();

            WowObject obj = scan.GetLocalTarget();

            return(obj.isDead);
        }
예제 #3
0
        public static Point GetTargetPos()
        {
            PlayerScan scan = new PlayerScan();

            scan.Ping();

            WowObject obj = scan.GetLocalTarget();

            return(new Point(obj.XPos, obj.YPos));
        }