using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200034D RID: 845
[Token(Token = "0x200034D")]
public class PassiveEventDetector
{
	// Token: 0x06001FF0 RID: 8176 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001FF0")]
	[Address(RVA = "0x32FF20", Offset = "0x32EF20", VA = "0x18032FF20")]
	public void Init(Transform source)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001FF1 RID: 8177 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001FF1")]
	[Address(RVA = "0x32FDC0", Offset = "0x32EDC0", VA = "0x18032FDC0")]
	public void Detect()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001FF2 RID: 8178 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001FF2")]
	[Address(RVA = "0x32FF90", Offset = "0x32EF90", VA = "0x18032FF90")]
	private void UpdateNearestEventTarget(int hitAmount)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001FF3 RID: 8179 RVA: 0x0004BEE4 File Offset: 0x0004A0E4
	[Token(Token = "0x6001FF3")]
	[Address(RVA = "0x32FD90", Offset = "0x32ED90", VA = "0x18032FD90")]
	public void Clear()
	{
		if (this.eventTargetID != -1)
		{
			this.eventTargetID = (int)((ulong)4294967295L);
		}
	}

	// Token: 0x06001FF4 RID: 8180 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001FF4")]
	[Address(RVA = "0x32FE90", Offset = "0x32EE90", VA = "0x18032FE90")]
	public PassiveEvent.PassiveEventType GetEventType()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001FF5 RID: 8181 RVA: 0x0004BF0C File Offset: 0x0004A10C
	[Token(Token = "0x6001FF5")]
	[Address(RVA = "0x2990A0", Offset = "0x2980A0", VA = "0x1802990A0")]
	public PassiveEvent GetEventTarget()
	{
		return this.eventTarget;
	}

	// Token: 0x06001FF6 RID: 8182 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001FF6")]
	[Address(RVA = "0x588380", Offset = "0x587380", VA = "0x180588380")]
	public T GetEventScript<T>() where T : MonoBehaviour
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001FF7 RID: 8183 RVA: 0x0004BF20 File Offset: 0x0004A120
	[Token(Token = "0x6001FF7")]
	[Address(RVA = "0x29D0F0", Offset = "0x29C0F0", VA = "0x18029D0F0")]
	public int GetEventTargetID()
	{
		return this.eventTargetID;
	}

	// Token: 0x06001FF8 RID: 8184 RVA: 0x0004BF34 File Offset: 0x0004A134
	[Token(Token = "0x6001FF8")]
	[Address(RVA = "0x330170", Offset = "0x32F170", VA = "0x180330170")]
	public PassiveEventDetector()
	{
		Collider[] array = new Collider[10];
		this.hitColliders = array;
		base..ctor();
	}

	// Token: 0x0400291A RID: 10522
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x400291A")]
	private Transform source;

	// Token: 0x0400291B RID: 10523
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400291B")]
	private int eventTargetID = (int)((ulong)4294967295L);

	// Token: 0x0400291C RID: 10524
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x400291C")]
	private PassiveEvent eventTarget;

	// Token: 0x0400291D RID: 10525
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x400291D")]
	private LayerMask layerMask;

	// Token: 0x0400291E RID: 10526
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400291E")]
	private Collider[] hitColliders;

	// Token: 0x0400291F RID: 10527
	[Token(Token = "0x400291F")]
	private const float SEARCH_RADIUS = 0.8f;
}
