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

// Token: 0x020001D1 RID: 465
public class ScriptSceneEventEnable : MonoBehaviour
{
	// Token: 0x17001B11 RID: 6929
	// (get) Token: 0x06004AF4 RID: 19188 RVA: 0x0012A094 File Offset: 0x00128294
	public unsafe GameSave GameSave
	{
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545694, XrefRangeEnd = 545698, 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: 0x17001B12 RID: 6930
	// (get) Token: 0x06004AF5 RID: 19189 RVA: 0x0012A0EC File Offset: 0x001282EC
	public unsafe StageFlagData Flags
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 545702, RefRangeEnd = 545712, XrefRangeStart = 545698, XrefRangeEnd = 545702, 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: 0x06004AF6 RID: 19190 RVA: 0x0012A144 File Offset: 0x00128344
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 545759, RefRangeEnd = 545761, XrefRangeStart = 545712, XrefRangeEnd = 545759, 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: 0x06004AF7 RID: 19191 RVA: 0x0012A188 File Offset: 0x00128388
	[CallerCount(9)]
	[CachedScanResults(RefRangeStart = 545769, RefRangeEnd = 545778, XrefRangeStart = 545761, XrefRangeEnd = 545769, 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: 0x06004AF8 RID: 19192 RVA: 0x0012A1CC File Offset: 0x001283CC
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06004AF9 RID: 19193 RVA: 0x0012A218 File Offset: 0x00128418
	// 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, 100668251);
		ScriptSceneEventEnable.NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668252);
		ScriptSceneEventEnable.NativeMethodInfoPtr_CloseScriptEvent_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668253);
		ScriptSceneEventEnable.NativeMethodInfoPtr_Close_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668254);
		ScriptSceneEventEnable.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScriptSceneEventEnable>.NativeClassPtr, 100668255);
	}

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

	// Token: 0x17001B0C RID: 6924
	// (get) Token: 0x06004AFB RID: 19195 RVA: 0x0012A310 File Offset: 0x00128510
	// (set) Token: 0x06004AFC RID: 19196 RVA: 0x0012A338 File Offset: 0x00128538
	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: 0x17001B0D RID: 6925
	// (get) Token: 0x06004AFD RID: 19197 RVA: 0x0012A35C File Offset: 0x0012855C
	// (set) Token: 0x06004AFE RID: 19198 RVA: 0x0012A390 File Offset: 0x00128590
	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: 0x17001B0E RID: 6926
	// (get) Token: 0x06004AFF RID: 19199 RVA: 0x0012A3B8 File Offset: 0x001285B8
	// (set) Token: 0x06004B00 RID: 19200 RVA: 0x0012A3EC File Offset: 0x001285EC
	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: 0x17001B0F RID: 6927
	// (get) Token: 0x06004B01 RID: 19201 RVA: 0x0012A414 File Offset: 0x00128614
	// (set) Token: 0x06004B02 RID: 19202 RVA: 0x0012A448 File Offset: 0x00128648
	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: 0x17001B10 RID: 6928
	// (get) Token: 0x06004B03 RID: 19203 RVA: 0x0012A470 File Offset: 0x00128670
	// (set) Token: 0x06004B04 RID: 19204 RVA: 0x0012A4A4 File Offset: 0x001286A4
	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: 0x04003185 RID: 12677
	private static readonly IntPtr NativeFieldInfoPtr_EventType;

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

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

	// Token: 0x04003188 RID: 12680
	private static readonly IntPtr NativeFieldInfoPtr_SwitchOn;

	// Token: 0x04003189 RID: 12681
	private static readonly IntPtr NativeFieldInfoPtr_Special;

	// Token: 0x0400318A RID: 12682
	private static readonly IntPtr NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0;

	// Token: 0x0400318B RID: 12683
	private static readonly IntPtr NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0;

	// Token: 0x0400318C RID: 12684
	private static readonly IntPtr NativeMethodInfoPtr_CloseScriptEvent_Public_Void_0;

	// Token: 0x0400318D RID: 12685
	private static readonly IntPtr NativeMethodInfoPtr_Close_Private_Void_0;

	// Token: 0x0400318E RID: 12686
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
