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

// Token: 0x02000320 RID: 800
public class CollisionTester : MonoBehaviour
{
	// Token: 0x06006D34 RID: 27956 RVA: 0x001BB730 File Offset: 0x001B9930
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 582970, XrefRangeEnd = 582985, 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: 0x06006D35 RID: 27957 RVA: 0x001BB774 File Offset: 0x001B9974
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 582985, XrefRangeEnd = 582991, 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: 0x06006D36 RID: 27958 RVA: 0x001BB7B8 File Offset: 0x001B99B8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 582991, XrefRangeEnd = 582994, 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: 0x06006D37 RID: 27959 RVA: 0x001BB7FC File Offset: 0x001B99FC
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06006D38 RID: 27960 RVA: 0x001BB848 File Offset: 0x001B9A48
	// 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, 100671384);
		CollisionTester.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, 100671385);
		CollisionTester.NativeMethodInfoPtr_OnDrawGizmos_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, 100671386);
		CollisionTester.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTester>.NativeClassPtr, 100671387);
	}

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

	// Token: 0x170025D8 RID: 9688
	// (get) Token: 0x06006D3A RID: 27962 RVA: 0x001BB904 File Offset: 0x001B9B04
	// (set) Token: 0x06006D3B RID: 27963 RVA: 0x001BB938 File Offset: 0x001B9B38
	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: 0x170025D9 RID: 9689
	// (get) Token: 0x06006D3C RID: 27964 RVA: 0x001BB960 File Offset: 0x001B9B60
	// (set) Token: 0x06006D3D RID: 27965 RVA: 0x001BB988 File Offset: 0x001B9B88
	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: 0x170025DA RID: 9690
	// (get) Token: 0x06006D3E RID: 27966 RVA: 0x001BB9AC File Offset: 0x001B9BAC
	// (set) Token: 0x06006D3F RID: 27967 RVA: 0x001BB9D4 File Offset: 0x001B9BD4
	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: 0x040048A3 RID: 18595
	private static readonly IntPtr NativeFieldInfoPtr_controller;

	// Token: 0x040048A4 RID: 18596
	private static readonly IntPtr NativeFieldInfoPtr_hitResult;

	// Token: 0x040048A5 RID: 18597
	private static readonly IntPtr NativeFieldInfoPtr_mask;

	// Token: 0x040048A6 RID: 18598
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x040048A7 RID: 18599
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040048A8 RID: 18600
	private static readonly IntPtr NativeMethodInfoPtr_OnDrawGizmos_Private_Void_0;

	// Token: 0x040048A9 RID: 18601
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
