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

// Token: 0x0200020E RID: 526
public class ScriptSceneEventEnable : MonoBehaviour
{
	// Token: 0x17001C94 RID: 7316
	// (get) Token: 0x06005024 RID: 20516 RVA: 0x0013F840 File Offset: 0x0013DA40
	public unsafe GameSave GameSave
	{
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573809, XrefRangeEnd = 573813, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScriptSceneEventEnable.NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new GameSave(intPtr3) : null;
		}
	}

	// Token: 0x17001C95 RID: 7317
	// (get) Token: 0x06005025 RID: 20517 RVA: 0x0013F898 File Offset: 0x0013DA98
	public unsafe StageFlagData Flags
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 573817, RefRangeEnd = 573827, XrefRangeStart = 573813, XrefRangeEnd = 573817, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScriptSceneEventEnable.NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new StageFlagData(intPtr3) : null;
		}
	}

	// Token: 0x06005026 RID: 20518 RVA: 0x0013F8F0 File Offset: 0x0013DAF0
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 573866, RefRangeEnd = 573868, XrefRangeStart = 573827, XrefRangeEnd = 573866, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void CloseScriptEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScriptSceneEventEnable.NativeMethodInfoPtr_CloseScriptEvent_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005027 RID: 20519 RVA: 0x0013F934 File Offset: 0x0013DB34
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 573876, RefRangeEnd = 573877, XrefRangeStart = 573868, XrefRangeEnd = 573876, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Close()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScriptSceneEventEnable.NativeMethodInfoPtr_Close_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005028 RID: 20520 RVA: 0x0013F978 File Offset: 0x0013DB78
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ScriptSceneEventEnable()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScriptSceneEventEnable.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005029 RID: 20521 RVA: 0x0013F9C4 File Offset: 0x0013DBC4
	// Note: this type is marked as 'beforefieldinit'.
	static ScriptSceneEventEnable()
	{
		Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ScriptSceneEventEnable");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr);
		ScriptSceneEventEnable.NativeFieldInfoPtr_EventType = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, "EventType");
		ScriptSceneEventEnable.NativeFieldInfoPtr_Event = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, "Event");
		ScriptSceneEventEnable.NativeFieldInfoPtr_CheckAttackableObject = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, "CheckAttackableObject");
		ScriptSceneEventEnable.NativeFieldInfoPtr_SwitchOn = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, "SwitchOn");
		ScriptSceneEventEnable.NativeFieldInfoPtr_Special = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, "Special");
		ScriptSceneEventEnable.NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668687);
		ScriptSceneEventEnable.NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668688);
		ScriptSceneEventEnable.NativeMethodInfoPtr_CloseScriptEvent_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668689);
		ScriptSceneEventEnable.NativeMethodInfoPtr_Close_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668690);
		ScriptSceneEventEnable.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668691);
	}

	// Token: 0x0600502A RID: 20522 RVA: 0x0000351C File Offset: 0x0000171C
	public ScriptSceneEventEnable(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C8F RID: 7311
	// (get) Token: 0x0600502B RID: 20523 RVA: 0x0013FABC File Offset: 0x0013DCBC
	// (set) Token: 0x0600502C RID: 20524 RVA: 0x0013FAE4 File Offset: 0x0013DCE4
	public unsafe SaveSystem.ScriptType EventType
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_EventType);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_EventType)) = value;
		}
	}

	// Token: 0x17001C90 RID: 7312
	// (get) Token: 0x0600502D RID: 20525 RVA: 0x0013FB08 File Offset: 0x0013DD08
	// (set) Token: 0x0600502E RID: 20526 RVA: 0x0013FB3C File Offset: 0x0013DD3C
	public unsafe Il2CppReferenceArray<SceneEvent> Event
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_Event);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<SceneEvent>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_Event), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C91 RID: 7313
	// (get) Token: 0x0600502F RID: 20527 RVA: 0x0013FB64 File Offset: 0x0013DD64
	// (set) Token: 0x06005030 RID: 20528 RVA: 0x0013FB98 File Offset: 0x0013DD98
	public unsafe Il2CppReferenceArray<AttackableObject> CheckAttackableObject
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_CheckAttackableObject);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<AttackableObject>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_CheckAttackableObject), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C92 RID: 7314
	// (get) Token: 0x06005031 RID: 20529 RVA: 0x0013FBC0 File Offset: 0x0013DDC0
	// (set) Token: 0x06005032 RID: 20530 RVA: 0x0013FBF4 File Offset: 0x0013DDF4
	public unsafe Il2CppReferenceArray<DoorSwitch> SwitchOn
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_SwitchOn);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<DoorSwitch>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_SwitchOn), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C93 RID: 7315
	// (get) Token: 0x06005033 RID: 20531 RVA: 0x0013FC1C File Offset: 0x0013DE1C
	// (set) Token: 0x06005034 RID: 20532 RVA: 0x0013FC50 File Offset: 0x0013DE50
	public unsafe Il2CppReferenceArray<GameObject> Special
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScriptSceneEventEnable.NativeFieldInfoPtr_Special);
			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(ScriptSceneEventEnable.NativeFieldInfoPtr_Special), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003505 RID: 13573
	private static readonly IntPtr NativeFieldInfoPtr_EventType;

	// Token: 0x04003506 RID: 13574
	private static readonly IntPtr NativeFieldInfoPtr_Event;

	// Token: 0x04003507 RID: 13575
	private static readonly IntPtr NativeFieldInfoPtr_CheckAttackableObject;

	// Token: 0x04003508 RID: 13576
	private static readonly IntPtr NativeFieldInfoPtr_SwitchOn;

	// Token: 0x04003509 RID: 13577
	private static readonly IntPtr NativeFieldInfoPtr_Special;

	// Token: 0x0400350A RID: 13578
	private static readonly IntPtr NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0;

	// Token: 0x0400350B RID: 13579
	private static readonly IntPtr NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0;

	// Token: 0x0400350C RID: 13580
	private static readonly IntPtr NativeMethodInfoPtr_CloseScriptEvent_Public_Void_0;

	// Token: 0x0400350D RID: 13581
	private static readonly IntPtr NativeMethodInfoPtr_Close_Private_Void_0;

	// Token: 0x0400350E RID: 13582
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
