Beispiel #1
0
        public static Point GetPlayerPos()
        {
            PlayerScan scan = new PlayerScan();

            scan.Ping();

            WowObject obj = scan.GetLocalPlayer();

            return(new Point(obj.XPos, obj.YPos));
        }
Beispiel #2
0
        public static int GetMapId()
        {
            PlayerScan scan = new PlayerScan();

            scan.Ping();

            WowObject obj = scan.GetLocalPlayer();

            return(obj.MapId);
        }
Beispiel #3
0
        public static float GetPlayerZ()
        {
            PlayerScan scan = new PlayerScan();

            scan.Ping();

            WowObject obj = scan.GetLocalPlayer();

            return(obj.ZPos);
        }
Beispiel #4
0
        public static bool IsPlayerDead()
        {
            PlayerScan scan = new PlayerScan();

            scan.Ping();

            WowObject obj = scan.GetLocalPlayer();

            return(obj.isDead);
        }