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

// Token: 0x0200020C RID: 524
public class SceneEvent : MonoBehaviour
{
	// Token: 0x06004FE4 RID: 20452 RVA: 0x0013E73C File Offset: 0x0013C93C
	[CallerCount(22)]
	[CachedScanResults(RefRangeStart = 573419, RefRangeEnd = 573441, XrefRangeStart = 573402, XrefRangeEnd = 573419, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void InitData(SceneEventManager SEM)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(SEM);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SceneEvent.NativeMethodInfoPtr_InitData_Public_Virtual_New_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004FE5 RID: 20453 RVA: 0x0013E7A0 File Offset: 0x0013C9A0
	[CallerCount(64)]
	[CachedScanResults(RefRangeStart = 573441, RefRangeEnd = 573505, XrefRangeStart = 573441, XrefRangeEnd = 573441, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual 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), SceneEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FE6 RID: 20454 RVA: 0x0013E7F0 File Offset: 0x0013C9F0
	[CallerCount(64)]
	[CachedScanResults(RefRangeStart = 573441, RefRangeEnd = 573505, XrefRangeStart = 573441, XrefRangeEnd = 573505, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void OpenEvent(Transform OpenEventPos)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(OpenEventPos);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SceneEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_New_Void_Transform_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004FE7 RID: 20455 RVA: 0x0013E854 File Offset: 0x0013CA54
	[CallerCount(0)]
	public unsafe virtual bool GetIsOpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SceneEvent.NativeMethodInfoPtr_GetIsOpenEvent_Public_Virtual_New_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06004FE8 RID: 20456 RVA: 0x0013E8B0 File Offset: 0x0013CAB0
	[CallerCount(10)]
	[CachedScanResults(RefRangeStart = 573505, RefRangeEnd = 573515, XrefRangeStart = 573505, XrefRangeEnd = 573505, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void ReleaseEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SceneEvent.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FE9 RID: 20457 RVA: 0x0013E900 File Offset: 0x0013CB00
	[CallerCount(0)]
	public unsafe virtual bool GetIsReleaseEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SceneEvent.NativeMethodInfoPtr_GetIsReleaseEvent_Public_Virtual_New_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06004FEA RID: 20458 RVA: 0x0013E95C File Offset: 0x0013CB5C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 573518, RefRangeEnd = 573519, XrefRangeStart = 573515, XrefRangeEnd = 573518, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual 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), SceneEvent.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_New_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004FEB RID: 20459 RVA: 0x0013E9C0 File Offset: 0x0013CBC0
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void OnTriggerExit(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), SceneEvent.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_New_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004FEC RID: 20460 RVA: 0x0013EA24 File Offset: 0x0013CC24
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 232501, RefRangeEnd = 232504, XrefRangeStart = 232501, XrefRangeEnd = 232504, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void ResetEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SceneEvent.NativeMethodInfoPtr_ResetEvent_Public_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FED RID: 20461 RVA: 0x0013EA74 File Offset: 0x0013CC74
	[CallerCount(20)]
	[CachedScanResults(RefRangeStart = 573523, RefRangeEnd = 573543, XrefRangeStart = 573519, XrefRangeEnd = 573523, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float GetWorldDeltaTime()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SceneEvent.NativeMethodInfoPtr_GetWorldDeltaTime_Protected_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06004FEE RID: 20462 RVA: 0x0013EAC4 File Offset: 0x0013CCC4
	[CallerCount(77)]
	[CachedScanResults(RefRangeStart = 573278, RefRangeEnd = 573355, XrefRangeStart = 573278, XrefRangeEnd = 573355, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SceneEvent()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SceneEvent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FEF RID: 20463 RVA: 0x0013EB10 File Offset: 0x0013CD10
	// Note: this type is marked as 'beforefieldinit'.
	static SceneEvent()
	{
		Il2CppClassPointerStore<SceneEvent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SceneEvent");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr);
		SceneEvent.NativeFieldInfoPtr_g_SEM = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, "g_SEM");
		SceneEvent.NativeFieldInfoPtr_CheckPlayerEnter = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, "CheckPlayerEnter");
		SceneEvent.NativeFieldInfoPtr_g_BC = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, "g_BC");
		SceneEvent.NativeFieldInfoPtr_g_bOpenEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, "g_bOpenEvent");
		SceneEvent.NativeFieldInfoPtr_g_bReleaseEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, "g_bReleaseEvent");
		SceneEvent.NativeMethodInfoPtr_InitData_Public_Virtual_New_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668667);
		SceneEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668668);
		SceneEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_New_Void_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668669);
		SceneEvent.NativeMethodInfoPtr_GetIsOpenEvent_Public_Virtual_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668670);
		SceneEvent.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668671);
		SceneEvent.NativeMethodInfoPtr_GetIsReleaseEvent_Public_Virtual_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668672);
		SceneEvent.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_New_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668673);
		SceneEvent.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_New_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668674);
		SceneEvent.NativeMethodInfoPtr_ResetEvent_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668675);
		SceneEvent.NativeMethodInfoPtr_GetWorldDeltaTime_Protected_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668676);
		SceneEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneEvent>.NativeClassPtr, 100668677);
	}

	// Token: 0x06004FF0 RID: 20464 RVA: 0x0000351C File Offset: 0x0000171C
	public SceneEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C7B RID: 7291
	// (get) Token: 0x06004FF1 RID: 20465 RVA: 0x0013EC80 File Offset: 0x0013CE80
	// (set) Token: 0x06004FF2 RID: 20466 RVA: 0x0013ECB4 File Offset: 0x0013CEB4
	public unsafe SceneEventManager g_SEM
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_SEM);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SceneEventManager(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_SEM), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C7C RID: 7292
	// (get) Token: 0x06004FF3 RID: 20467 RVA: 0x0013ECDC File Offset: 0x0013CEDC
	// (set) Token: 0x06004FF4 RID: 20468 RVA: 0x0013ED04 File Offset: 0x0013CF04
	public unsafe bool CheckPlayerEnter
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_CheckPlayerEnter);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_CheckPlayerEnter)) = value;
		}
	}

	// Token: 0x17001C7D RID: 7293
	// (get) Token: 0x06004FF5 RID: 20469 RVA: 0x0013ED28 File Offset: 0x0013CF28
	// (set) Token: 0x06004FF6 RID: 20470 RVA: 0x0013ED5C File Offset: 0x0013CF5C
	public unsafe BoxCollider g_BC
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_BC);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new BoxCollider(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_BC), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C7E RID: 7294
	// (get) Token: 0x06004FF7 RID: 20471 RVA: 0x0013ED84 File Offset: 0x0013CF84
	// (set) Token: 0x06004FF8 RID: 20472 RVA: 0x0013EDAC File Offset: 0x0013CFAC
	public unsafe bool g_bOpenEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_bOpenEvent);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_bOpenEvent)) = value;
		}
	}

	// Token: 0x17001C7F RID: 7295
	// (get) Token: 0x06004FF9 RID: 20473 RVA: 0x0013EDD0 File Offset: 0x0013CFD0
	// (set) Token: 0x06004FFA RID: 20474 RVA: 0x0013EDF8 File Offset: 0x0013CFF8
	public unsafe bool g_bReleaseEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_bReleaseEvent);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneEvent.NativeFieldInfoPtr_g_bReleaseEvent)) = value;
		}
	}

	// Token: 0x040034DD RID: 13533
	private static readonly IntPtr NativeFieldInfoPtr_g_SEM;

	// Token: 0x040034DE RID: 13534
	private static readonly IntPtr NativeFieldInfoPtr_CheckPlayerEnter;

	// Token: 0x040034DF RID: 13535
	private static readonly IntPtr NativeFieldInfoPtr_g_BC;

	// Token: 0x040034E0 RID: 13536
	private static readonly IntPtr NativeFieldInfoPtr_g_bOpenEvent;

	// Token: 0x040034E1 RID: 13537
	private static readonly IntPtr NativeFieldInfoPtr_g_bReleaseEvent;

	// Token: 0x040034E2 RID: 13538
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_New_Void_SceneEventManager_0;

	// Token: 0x040034E3 RID: 13539
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_New_Void_0;

	// Token: 0x040034E4 RID: 13540
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_New_Void_Transform_0;

	// Token: 0x040034E5 RID: 13541
	private static readonly IntPtr NativeMethodInfoPtr_GetIsOpenEvent_Public_Virtual_New_Boolean_0;

	// Token: 0x040034E6 RID: 13542
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_New_Void_0;

	// Token: 0x040034E7 RID: 13543
	private static readonly IntPtr NativeMethodInfoPtr_GetIsReleaseEvent_Public_Virtual_New_Boolean_0;

	// Token: 0x040034E8 RID: 13544
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_New_Void_Collider_0;

	// Token: 0x040034E9 RID: 13545
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_New_Void_Collider_0;

	// Token: 0x040034EA RID: 13546
	private static readonly IntPtr NativeMethodInfoPtr_ResetEvent_Public_Virtual_New_Void_0;

	// Token: 0x040034EB RID: 13547
	private static readonly IntPtr NativeMethodInfoPtr_GetWorldDeltaTime_Protected_Single_0;

	// Token: 0x040034EC RID: 13548
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
