public bool CGPlayer_C__ClickToMoveHandler(IntPtr thisActivePlayerObject, ClickToMoveType clickType, [In] ref Int64 interactGUID, [In] ref Vector3 clickPosition, float precision) { Int64 _interactGUID = interactGUID; Vector3 _clickPosition = clickPosition; return(commandQueue.Submit <bool>((() => CGPlayer_C__ClickToMove(thisActivePlayerObject, clickType, ref _interactGUID, ref _clickPosition, precision)))); }
public void MoveToPosition(WowPosition targetPosition, ClickToMoveType clickToMoveType = ClickToMoveType.Move, float distance = 1.5f) { TrashMem.Write(OffsetList.StaticClickToMoveX, targetPosition.x); TrashMem.Write(OffsetList.StaticClickToMoveY, targetPosition.y); TrashMem.Write(OffsetList.StaticClickToMoveZ, targetPosition.z); TrashMem.Write(OffsetList.StaticClickToMoveDistance, distance); TrashMem.Write(OffsetList.StaticClickToMoveAction, (int)clickToMoveType); }
public void ClickToMove(Location target, ClickToMoveType type = ClickToMoveType.Move, ulong guid = 0, float precision = 0.1f) { if (ClickToMoveFunction == null) { ClickToMoveFunction = Manager.Memory.RegisterDelegate <ClickToMoveDelegate>((IntPtr)Pointers.LocalPlayer.ClickToMove); } Helper.ResetHardwareAction(); ClickToMoveFunction(Pointer, (int)type, ref guid, ref target, 0.1f); }
public void ClickToMove(Location target, ClickToMoveType type = ClickToMoveType.Move, ulong guid = 0ul) { if (ClickToMoveFunction == null) ClickToMoveFunction = Manager.Memory.RegisterDelegate<ClickToMoveDelegate>((IntPtr)Pointers.LocalPlayer.ClickToMove); Helper.ResetHardwareAction(); ClickToMoveFunction(Pointer, (int)type, ref guid, ref target, 0.1f); }
public void ClickToMove(Location target, ClickToMoveType type = ClickToMoveType.Move, ulong guid = 0ul) { Helper.ResetHardwareAction(); ClickToMoveFunction(Pointer, (int)type, ref guid, ref target, 0.1f); }
public void InteractWithGuid(ulong guid, ClickToMoveType clickToMoveType = ClickToMoveType.Interact) { TrashMem.Write(OffsetList.StaticClickToMoveGuid, guid); TrashMem.Write(OffsetList.StaticClickToMoveAction, (int)clickToMoveType); }
public bool CGPlayer_C__ClickToMove(IntPtr thisActivePlayerObject, ClickToMoveType clickType, [In] ref Int64 interactGUID, [In] ref Vector3 clickPosition, float precision) => CGPlayer_C__ClickToMoveEvent?.Invoke(thisActivePlayerObject, clickType, ref interactGUID, ref clickPosition, precision) ?? false;
public void MoveToPosition(WowPosition targetPosition, ClickToMoveType clickToMoveType = ClickToMoveType.Move, float distance = 1.5F) { // Empty for tests }
public void InteractWithGuid(ulong guid, ClickToMoveType clickToMoveType = ClickToMoveType.Interact) { // Empty for tests }