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

// Token: 0x020001C0 RID: 448
public class OpenDoor : SceneEvent
{
	// Token: 0x06004A0B RID: 18955 RVA: 0x0012683C File Offset: 0x00124A3C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544726, XrefRangeEnd = 544732, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override 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), OpenDoor.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004A0C RID: 18956 RVA: 0x001268A0 File Offset: 0x00124AA0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544732, XrefRangeEnd = 544744, 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), OpenDoor.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004A0D RID: 18957 RVA: 0x001268F0 File Offset: 0x00124AF0
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 40244, RefRangeEnd = 40246, XrefRangeStart = 40244, XrefRangeEnd = 40246, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SwitchOnDoor()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OpenDoor.NativeMethodInfoPtr_SwitchOnDoor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004A0E RID: 18958 RVA: 0x00126934 File Offset: 0x00124B34
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 544752, RefRangeEnd = 544753, XrefRangeStart = 544744, XrefRangeEnd = 544752, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SaveSwitchOnDoor()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OpenDoor.NativeMethodInfoPtr_SaveSwitchOnDoor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004A0F RID: 18959 RVA: 0x00126978 File Offset: 0x00124B78
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544753, XrefRangeEnd = 544759, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void AniEventCameraShake()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OpenDoor.NativeMethodInfoPtr_AniEventCameraShake_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06004A11 RID: 18961 RVA: 0x00126A08 File Offset: 0x00124C08
	// Note: this type is marked as 'beforefieldinit'.
	static OpenDoor()
	{
		Il2CppClassPointerStore<OpenDoor>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "OpenDoor");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr);
		OpenDoor.NativeFieldInfoPtr_Anim = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, "Anim");
		OpenDoor.NativeFieldInfoPtr_SE = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, "SE");
		OpenDoor.NativeFieldInfoPtr_g_bSaveStartUp = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, "g_bSaveStartUp");
		OpenDoor.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668186);
		OpenDoor.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668187);
		OpenDoor.NativeMethodInfoPtr_SwitchOnDoor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668188);
		OpenDoor.NativeMethodInfoPtr_SaveSwitchOnDoor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668189);
		OpenDoor.NativeMethodInfoPtr_AniEventCameraShake_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668190);
		OpenDoor.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668191);
	}

	// Token: 0x06004A12 RID: 18962 RVA: 0x00117370 File Offset: 0x00115570
	public OpenDoor(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AC6 RID: 6854
	// (get) Token: 0x06004A13 RID: 18963 RVA: 0x00126AEC File Offset: 0x00124CEC
	// (set) Token: 0x06004A14 RID: 18964 RVA: 0x00126B20 File Offset: 0x00124D20
	public unsafe Animator Anim
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenDoor.NativeFieldInfoPtr_Anim);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Animator(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenDoor.NativeFieldInfoPtr_Anim), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001AC7 RID: 6855
	// (get) Token: 0x06004A15 RID: 18965 RVA: 0x00126B48 File Offset: 0x00124D48
	// (set) Token: 0x06004A16 RID: 18966 RVA: 0x00126B7C File Offset: 0x00124D7C
	public unsafe SoundEffect SE
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenDoor.NativeFieldInfoPtr_SE);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SoundEffect(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenDoor.NativeFieldInfoPtr_SE), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001AC8 RID: 6856
	// (get) Token: 0x06004A17 RID: 18967 RVA: 0x00126BA4 File Offset: 0x00124DA4
	// (set) Token: 0x06004A18 RID: 18968 RVA: 0x00126BCC File Offset: 0x00124DCC
	public unsafe bool g_bSaveStartUp
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenDoor.NativeFieldInfoPtr_g_bSaveStartUp);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenDoor.NativeFieldInfoPtr_g_bSaveStartUp)) = value;
		}
	}

	// Token: 0x040030E7 RID: 12519
	private static readonly IntPtr NativeFieldInfoPtr_Anim;

	// Token: 0x040030E8 RID: 12520
	private static readonly IntPtr NativeFieldInfoPtr_SE;

	// Token: 0x040030E9 RID: 12521
	private static readonly IntPtr NativeFieldInfoPtr_g_bSaveStartUp;

	// Token: 0x040030EA RID: 12522
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x040030EB RID: 12523
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040030EC RID: 12524
	private static readonly IntPtr NativeMethodInfoPtr_SwitchOnDoor_Public_Void_0;

	// Token: 0x040030ED RID: 12525
	private static readonly IntPtr NativeMethodInfoPtr_SaveSwitchOnDoor_Public_Void_0;

	// Token: 0x040030EE RID: 12526
	private static readonly IntPtr NativeMethodInfoPtr_AniEventCameraShake_Public_Void_0;

	// Token: 0x040030EF RID: 12527
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
