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

// Token: 0x0200032B RID: 811
public class CandidateFilter : MonoBehaviour
{
	// Token: 0x06006EA9 RID: 28329 RVA: 0x001C1994 File Offset: 0x001BFB94
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 583769, XrefRangeEnd = 583783, 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: 0x06006EAA RID: 28330 RVA: 0x001C19D8 File Offset: 0x001BFBD8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 583783, XrefRangeEnd = 583820, 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: 0x06006EAB RID: 28331 RVA: 0x001C1A34 File Offset: 0x001BFC34
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06006EAC RID: 28332 RVA: 0x001C1A80 File Offset: 0x001BFC80
	// 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, 100671524);
		CandidateFilter.NativeMethodInfoPtr_bp_OnCandidatesProcessed_Private_Void_List_1_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr, 100671525);
		CandidateFilter.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CandidateFilter>.NativeClassPtr, 100671526);
	}

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

	// Token: 0x17002647 RID: 9799
	// (get) Token: 0x06006EAE RID: 28334 RVA: 0x001C1B14 File Offset: 0x001BFD14
	// (set) Token: 0x06006EAF RID: 28335 RVA: 0x001C1B48 File Offset: 0x001BFD48
	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: 0x17002648 RID: 9800
	// (get) Token: 0x06006EB0 RID: 28336 RVA: 0x001C1B70 File Offset: 0x001BFD70
	// (set) Token: 0x06006EB1 RID: 28337 RVA: 0x001C1BA4 File Offset: 0x001BFDA4
	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: 0x04004998 RID: 18840
	private static readonly IntPtr NativeFieldInfoPtr_ExclusiveReceiver;

	// Token: 0x04004999 RID: 18841
	private static readonly IntPtr NativeFieldInfoPtr_decal;

	// Token: 0x0400499A RID: 18842
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x0400499B RID: 18843
	private static readonly IntPtr NativeMethodInfoPtr_bp_OnCandidatesProcessed_Private_Void_List_1_Collider_0;

	// Token: 0x0400499C RID: 18844
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
