using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

// Token: 0x02000376 RID: 886
public class CollisionTester : MonoBehaviour
{
	// Token: 0x06007570 RID: 30064 RVA: 0x001DDE50 File Offset: 0x001DC050
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615075, XrefRangeEnd = 615090, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTester.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007571 RID: 30065 RVA: 0x001DDE94 File Offset: 0x001DC094
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615090, XrefRangeEnd = 615096, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTester.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007572 RID: 30066 RVA: 0x001DDED8 File Offset: 0x001DC0D8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615096, XrefRangeEnd = 615099, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnDrawGizmos()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTester.NativeMethodInfoPtr_OnDrawGizmos_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06007574 RID: 30068 RVA: 0x001DDF68 File Offset: 0x001DC168
	// Note: this type is marked as 'beforefieldinit'.
	static CollisionTester()
	{
		Il2CppClassPointerStore<CollisionTester>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CollisionTester");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr);
		CollisionTester.NativeFieldInfoPtr_controller = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, "controller");
		CollisionTester.NativeFieldInfoPtr_hitResult = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, "hitResult");
		CollisionTester.NativeFieldInfoPtr_mask = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, "mask");
		CollisionTester.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, 100672086);
		CollisionTester.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, 100672087);
		CollisionTester.NativeMethodInfoPtr_OnDrawGizmos_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, 100672088);
		CollisionTester.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, 100672089);
	}

	// Token: 0x06007575 RID: 30069 RVA: 0x0000351C File Offset: 0x0000171C
	public CollisionTester(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700286D RID: 10349
	// (get) Token: 0x06007576 RID: 30070 RVA: 0x001DE024 File Offset: 0x001DC224
	// (set) Token: 0x06007577 RID: 30071 RVA: 0x001DE058 File Offset: 0x001DC258
	public unsafe CharacterController controller
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTester.NativeFieldInfoPtr_controller);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new CharacterController(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTester.NativeFieldInfoPtr_controller), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700286E RID: 10350
	// (get) Token: 0x06007578 RID: 30072 RVA: 0x001DE080 File Offset: 0x001DC280
	// (set) Token: 0x06007579 RID: 30073 RVA: 0x001DE0A8 File Offset: 0x001DC2A8
	public unsafe bool hitResult
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTester.NativeFieldInfoPtr_hitResult);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTester.NativeFieldInfoPtr_hitResult)) = value;
		}
	}

	// Token: 0x1700286F RID: 10351
	// (get) Token: 0x0600757A RID: 30074 RVA: 0x001DE0CC File Offset: 0x001DC2CC
	// (set) Token: 0x0600757B RID: 30075 RVA: 0x001DE0F4 File Offset: 0x001DC2F4
	public unsafe LayerMask mask
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTester.NativeFieldInfoPtr_mask);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTester.NativeFieldInfoPtr_mask)) = value;
		}
	}

	// Token: 0x04004E3D RID: 20029
	private static readonly IntPtr NativeFieldInfoPtr_controller;

	// Token: 0x04004E3E RID: 20030
	private static readonly IntPtr NativeFieldInfoPtr_hitResult;

	// Token: 0x04004E3F RID: 20031
	private static readonly IntPtr NativeFieldInfoPtr_mask;

	// Token: 0x04004E40 RID: 20032
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004E41 RID: 20033
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004E42 RID: 20034
	private static readonly IntPtr NativeMethodInfoPtr_OnDrawGizmos_Private_Void_0;

	// Token: 0x04004E43 RID: 20035
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
