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

// Token: 0x020001B2 RID: 434
public class AreaCheck : SceneEvent
{
	// Token: 0x06004ABD RID: 19133 RVA: 0x0012AF80 File Offset: 0x00129180
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569320, XrefRangeEnd = 569322, 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: 0x06004ABE RID: 19134 RVA: 0x0012AFD0 File Offset: 0x001291D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569322, XrefRangeEnd = 569325, 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: 0x06004ABF RID: 19135 RVA: 0x0012B034 File Offset: 0x00129234
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, 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: 0x06004AC0 RID: 19136 RVA: 0x0012B080 File Offset: 0x00129280
	// 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, 100668347);
		AreaCheck.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr, 100668348);
		AreaCheck.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AreaCheck>.NativeClassPtr, 100668349);
	}

	// Token: 0x06004AC1 RID: 19137 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public AreaCheck(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001ACF RID: 6863
	// (get) Token: 0x06004AC2 RID: 19138 RVA: 0x0012B114 File Offset: 0x00129314
	// (set) Token: 0x06004AC3 RID: 19139 RVA: 0x0012B148 File Offset: 0x00129348
	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: 0x17001AD0 RID: 6864
	// (get) Token: 0x06004AC4 RID: 19140 RVA: 0x0012B170 File Offset: 0x00129370
	// (set) Token: 0x06004AC5 RID: 19141 RVA: 0x0012B1A4 File Offset: 0x001293A4
	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: 0x04003183 RID: 12675
	private static readonly IntPtr NativeFieldInfoPtr_ShowArea;

	// Token: 0x04003184 RID: 12676
	private static readonly IntPtr NativeFieldInfoPtr_ShowTerrain;

	// Token: 0x04003185 RID: 12677
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003186 RID: 12678
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0;

	// Token: 0x04003187 RID: 12679
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
