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

// Token: 0x02000184 RID: 388
public class AreaCheck : SceneEvent
{
	// Token: 0x06004629 RID: 17961 RVA: 0x00117E08 File Offset: 0x00116008
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 541887, XrefRangeEnd = 541889, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), AreaCheck.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600462A RID: 17962 RVA: 0x00117E58 File Offset: 0x00116058
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 541889, XrefRangeEnd = 541892, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnTriggerEnter(Collider other)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(other);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), AreaCheck.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600462B RID: 17963 RVA: 0x00117EBC File Offset: 0x001160BC
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe AreaCheck()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AreaCheck.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600462C RID: 17964 RVA: 0x00117F08 File Offset: 0x00116108
	// Note: this type is marked as 'beforefieldinit'.
	static AreaCheck()
	{
		Il2CppClassPointerStore<AreaCheck>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "AreaCheck");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr);
		AreaCheck.NativeFieldInfoPtr_ShowArea = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr, "ShowArea");
		AreaCheck.NativeFieldInfoPtr_ShowTerrain = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr, "ShowTerrain");
		AreaCheck.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr, 100667959);
		AreaCheck.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr, 100667960);
		AreaCheck.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr, 100667961);
	}

	// Token: 0x0600462D RID: 17965 RVA: 0x00117370 File Offset: 0x00115570
	public AreaCheck(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001978 RID: 6520
	// (get) Token: 0x0600462E RID: 17966 RVA: 0x00117F9C File Offset: 0x0011619C
	// (set) Token: 0x0600462F RID: 17967 RVA: 0x00117FD0 File Offset: 0x001161D0
	public unsafe Il2CppReferenceArray<GameObject> ShowArea
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AreaCheck.NativeFieldInfoPtr_ShowArea);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<GameObject>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(AreaCheck.NativeFieldInfoPtr_ShowArea), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001979 RID: 6521
	// (get) Token: 0x06004630 RID: 17968 RVA: 0x00117FF8 File Offset: 0x001161F8
	// (set) Token: 0x06004631 RID: 17969 RVA: 0x0011802C File Offset: 0x0011622C
	public unsafe Il2CppReferenceArray<Terrain> ShowTerrain
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AreaCheck.NativeFieldInfoPtr_ShowTerrain);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Terrain>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(AreaCheck.NativeFieldInfoPtr_ShowTerrain), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04002E6B RID: 11883
	private static readonly IntPtr NativeFieldInfoPtr_ShowArea;

	// Token: 0x04002E6C RID: 11884
	private static readonly IntPtr NativeFieldInfoPtr_ShowTerrain;

	// Token: 0x04002E6D RID: 11885
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04002E6E RID: 11886
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0;

	// Token: 0x04002E6F RID: 11887
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
