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

// Token: 0x020001FA RID: 506
public class OpenDoor : SceneEvent
{
	// Token: 0x06004F1A RID: 20250 RVA: 0x0013B728 File Offset: 0x00139928
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572658, XrefRangeEnd = 572664, 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: 0x06004F1B RID: 20251 RVA: 0x0013B78C File Offset: 0x0013998C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572664, XrefRangeEnd = 572676, 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: 0x06004F1C RID: 20252 RVA: 0x0013B7DC File Offset: 0x001399DC
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 40210, RefRangeEnd = 40212, XrefRangeStart = 40210, XrefRangeEnd = 40212, 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: 0x06004F1D RID: 20253 RVA: 0x0013B820 File Offset: 0x00139A20
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 572684, RefRangeEnd = 572685, XrefRangeStart = 572676, XrefRangeEnd = 572684, 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: 0x06004F1E RID: 20254 RVA: 0x0013B864 File Offset: 0x00139A64
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572685, XrefRangeEnd = 572691, 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: 0x06004F1F RID: 20255 RVA: 0x0013B8A8 File Offset: 0x00139AA8
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, 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: 0x06004F20 RID: 20256 RVA: 0x0013B8F4 File Offset: 0x00139AF4
	// 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, 100668607);
		OpenDoor.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668608);
		OpenDoor.NativeMethodInfoPtr_SwitchOnDoor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668609);
		OpenDoor.NativeMethodInfoPtr_SaveSwitchOnDoor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668610);
		OpenDoor.NativeMethodInfoPtr_AniEventCameraShake_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668611);
		OpenDoor.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenDoor>.NativeClassPtr, 100668612);
	}

	// Token: 0x06004F21 RID: 20257 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public OpenDoor(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C41 RID: 7233
	// (get) Token: 0x06004F22 RID: 20258 RVA: 0x0013B9D8 File Offset: 0x00139BD8
	// (set) Token: 0x06004F23 RID: 20259 RVA: 0x0013BA0C File Offset: 0x00139C0C
	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: 0x17001C42 RID: 7234
	// (get) Token: 0x06004F24 RID: 20260 RVA: 0x0013BA34 File Offset: 0x00139C34
	// (set) Token: 0x06004F25 RID: 20261 RVA: 0x0013BA68 File Offset: 0x00139C68
	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: 0x17001C43 RID: 7235
	// (get) Token: 0x06004F26 RID: 20262 RVA: 0x0013BA90 File Offset: 0x00139C90
	// (set) Token: 0x06004F27 RID: 20263 RVA: 0x0013BAB8 File Offset: 0x00139CB8
	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: 0x04003450 RID: 13392
	private static readonly IntPtr NativeFieldInfoPtr_Anim;

	// Token: 0x04003451 RID: 13393
	private static readonly IntPtr NativeFieldInfoPtr_SE;

	// Token: 0x04003452 RID: 13394
	private static readonly IntPtr NativeFieldInfoPtr_g_bSaveStartUp;

	// Token: 0x04003453 RID: 13395
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x04003454 RID: 13396
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003455 RID: 13397
	private static readonly IntPtr NativeMethodInfoPtr_SwitchOnDoor_Public_Void_0;

	// Token: 0x04003456 RID: 13398
	private static readonly IntPtr NativeMethodInfoPtr_SaveSwitchOnDoor_Public_Void_0;

	// Token: 0x04003457 RID: 13399
	private static readonly IntPtr NativeMethodInfoPtr_AniEventCameraShake_Public_Void_0;

	// Token: 0x04003458 RID: 13400
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
