public void ClickToMove(Vector3 pos, ulong guid, WowClickToMoveType clickToMoveType = WowClickToMoveType.Move, float turnSpeed = 20.9f, float distance = WowClickToMoveDistance.Move) { if (float.IsInfinity(pos.X) || float.IsNaN(pos.X) || MathF.Abs(pos.X) > 17066.6656 || float.IsInfinity(pos.Y) || float.IsNaN(pos.Y) || MathF.Abs(pos.Y) > 17066.6656 || float.IsInfinity(pos.Z) || float.IsNaN(pos.Z) || MathF.Abs(pos.Z) > 17066.6656) { return; } Memory.Write(Memory.Offsets.ClickToMoveTurnSpeed, turnSpeed); Memory.Write(Memory.Offsets.ClickToMoveDistance, distance); if (guid > 0) { Memory.Write(Memory.Offsets.ClickToMoveGuid, guid); } Memory.Write(Memory.Offsets.ClickToMoveAction, clickToMoveType); Memory.Write(Memory.Offsets.ClickToMoveX, pos); }
public static void ClickToMove(Location desLocation, WowClickToMoveType clickType) { ClickToMove(desLocation, 0, clickType, 2f); }
public static void ClickToMove(Location desLocation, ulong interactionGuid, WowClickToMoveType clickType, float presision) { WoWFunctions._TrackingStart(ObjectManager.LocalPlayer.Pointer, (int)clickType, ref interactionGuid, ref desLocation, presision); }