using System;
using ch.sycoforge.Decal;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem.Collections.Generic;
using UnityEngine;

// Token: 0x02000383 RID: 899
public class CandidateFilter : MonoBehaviour
{
	// Token: 0x060076FC RID: 30460 RVA: 0x001E46DC File Offset: 0x001E28DC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615953, XrefRangeEnd = 615967, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CandidateFilter.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060076FD RID: 30461 RVA: 0x001E4720 File Offset: 0x001E2920
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615967, XrefRangeEnd = 616004, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void bp_OnCandidatesProcessed(List<Collider> colliders)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(colliders);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CandidateFilter.NativeMethodInfoPtr_bp_OnCandidatesProcessed_Private_Void_List_1_Collider_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060076FE RID: 30462 RVA: 0x001E477C File Offset: 0x001E297C
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CandidateFilter()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CandidateFilter.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060076FF RID: 30463 RVA: 0x001E47C8 File Offset: 0x001E29C8
	// Note: this type is marked as 'beforefieldinit'.
	static CandidateFilter()
	{
		Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CandidateFilter");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr);
		CandidateFilter.NativeFieldInfoPtr_ExclusiveReceiver = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr, "ExclusiveReceiver");
		CandidateFilter.NativeFieldInfoPtr_decal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr, "decal");
		CandidateFilter.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr, 100672237);
		CandidateFilter.NativeMethodInfoPtr_bp_OnCandidatesProcessed_Private_Void_List_1_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr, 100672238);
		CandidateFilter.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr, 100672239);
	}

	// Token: 0x06007700 RID: 30464 RVA: 0x0000351C File Offset: 0x0000171C
	public CandidateFilter(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170028E2 RID: 10466
	// (get) Token: 0x06007701 RID: 30465 RVA: 0x001E485C File Offset: 0x001E2A5C
	// (set) Token: 0x06007702 RID: 30466 RVA: 0x001E4890 File Offset: 0x001E2A90
	public unsafe GameObject ExclusiveReceiver
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CandidateFilter.NativeFieldInfoPtr_ExclusiveReceiver);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CandidateFilter.NativeFieldInfoPtr_ExclusiveReceiver), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170028E3 RID: 10467
	// (get) Token: 0x06007703 RID: 30467 RVA: 0x001E48B8 File Offset: 0x001E2AB8
	// (set) Token: 0x06007704 RID: 30468 RVA: 0x001E48EC File Offset: 0x001E2AEC
	public unsafe EasyDecal decal
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CandidateFilter.NativeFieldInfoPtr_decal);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new EasyDecal(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CandidateFilter.NativeFieldInfoPtr_decal), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004F41 RID: 20289
	private static readonly IntPtr NativeFieldInfoPtr_ExclusiveReceiver;

	// Token: 0x04004F42 RID: 20290
	private static readonly IntPtr NativeFieldInfoPtr_decal;

	// Token: 0x04004F43 RID: 20291
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004F44 RID: 20292
	private static readonly IntPtr NativeMethodInfoPtr_bp_OnCandidatesProcessed_Private_Void_List_1_Collider_0;

	// Token: 0x04004F45 RID: 20293
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
