using System;
using Cpp2IlInjected;
using Unity.Collections;
using Unity.Jobs;
using UnityEngine;

// Token: 0x02000171 RID: 369
[Token(Token = "0x2000171")]
public class RaycastJob
{
	// Token: 0x170000B6 RID: 182
	// (get) Token: 0x06001219 RID: 4633 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x170000B6")]
	public NativeArray<RaycastHit> Results
	{
		[Token(Token = "0x6001219")]
		[Address(RVA = "0x4179C0", Offset = "0x4167C0", VA = "0x1804179C0")]
		get
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}
	}

	// Token: 0x170000B7 RID: 183
	// (get) Token: 0x0600121A RID: 4634 RVA: 0x000297C0 File Offset: 0x000279C0
	[Token(Token = "0x170000B7")]
	public bool IsFirstFrame
	{
		[Token(Token = "0x600121A")]
		[Address(RVA = "0x4C04C0", Offset = "0x4BF2C0", VA = "0x1804C04C0")]
		get
		{
			return this.isFirstFrame;
		}
	}

	// Token: 0x0600121B RID: 4635 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600121B")]
	[Address(RVA = "0xBE5A80", Offset = "0xBE4880", VA = "0x180BE5A80")]
	public RaycastJob(int size)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600121C RID: 4636 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600121C")]
	[Address(RVA = "0xBE5870", Offset = "0xBE4670", VA = "0x180BE5870")]
	public void Dispose()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600121D RID: 4637 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600121D")]
	[Address(RVA = "0xBE5920", Offset = "0xBE4720", VA = "0x180BE5920")]
	public void ScheduleJobs(Vector3 from, Vector3 direction, float distance, int layerMask)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600121E RID: 4638 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600121E")]
	[Address(RVA = "0xBE5860", Offset = "0xBE4660", VA = "0x180BE5860")]
	public void Complete()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x04001C0A RID: 7178
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4001C0A")]
	private NativeArray<RaycastCommand> raycastCommands;

	// Token: 0x04001C0B RID: 7179
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001C0B")]
	private NativeArray<RaycastHit> raycastHits;

	// Token: 0x04001C0C RID: 7180
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001C0C")]
	private JobHandle jobHandle;

	// Token: 0x04001C0D RID: 7181
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001C0D")]
	private bool isFirstFrame;

	// Token: 0x02000172 RID: 370
	[Token(Token = "0x2000172")]
	private struct RaycastSetupJob : IJobParallelFor
	{
		// Token: 0x0600121F RID: 4639 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600121F")]
		[Address(RVA = "0x69F9E0", Offset = "0x69E7E0", VA = "0x18069F9E0", Slot = "4")]
		public void Execute(int index)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04001C0E RID: 7182
		[FieldOffset(Offset = "0x0")]
		[Token(Token = "0x4001C0E")]
		public Vector3 From;

		// Token: 0x04001C0F RID: 7183
		[FieldOffset(Offset = "0xC")]
		[Token(Token = "0x4001C0F")]
		public Vector3 Direction;

		// Token: 0x04001C10 RID: 7184
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4001C10")]
		public float Distance;

		// Token: 0x04001C11 RID: 7185
		[FieldOffset(Offset = "0x1C")]
		[Token(Token = "0x4001C11")]
		public int LayerMask;

		// Token: 0x04001C12 RID: 7186
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4001C12")]
		[WriteOnly]
		public NativeArray<RaycastCommand> Commands;
	}
}
