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

// Token: 0x020001C3 RID: 451
public class OpenScriptEvent : SceneEvent
{
	// Token: 0x17001ACE RID: 6862
	// (get) Token: 0x06004A27 RID: 18983 RVA: 0x00126F28 File Offset: 0x00125128
	public unsafe StageFlagData Flags
	{
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 544784, RefRangeEnd = 544785, XrefRangeStart = 544780, XrefRangeEnd = 544784, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OpenScriptEvent.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: 0x06004A28 RID: 18984 RVA: 0x00126F80 File Offset: 0x00125180
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544785, XrefRangeEnd = 544788, 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), OpenScriptEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004A29 RID: 18985 RVA: 0x00126FD0 File Offset: 0x001251D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544788, XrefRangeEnd = 544789, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe OpenScriptEvent()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OpenScriptEvent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004A2A RID: 18986 RVA: 0x0012701C File Offset: 0x0012521C
	// Note: this type is marked as 'beforefieldinit'.
	static OpenScriptEvent()
	{
		Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "OpenScriptEvent");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr);
		OpenScriptEvent.NativeFieldInfoPtr_ScriptEventType = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr, "ScriptEventType");
		OpenScriptEvent.NativeFieldInfoPtr_SwitchOn = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr, "SwitchOn");
		OpenScriptEvent.NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr, 100668196);
		OpenScriptEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr, 100668197);
		OpenScriptEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr, 100668198);
	}

	// Token: 0x06004A2B RID: 18987 RVA: 0x00117370 File Offset: 0x00115570
	public OpenScriptEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001ACC RID: 6860
	// (get) Token: 0x06004A2C RID: 18988 RVA: 0x001270B0 File Offset: 0x001252B0
	// (set) Token: 0x06004A2D RID: 18989 RVA: 0x001270D8 File Offset: 0x001252D8
	public unsafe SaveSystem.ScriptType ScriptEventType
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenScriptEvent.NativeFieldInfoPtr_ScriptEventType);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenScriptEvent.NativeFieldInfoPtr_ScriptEventType)) = value;
		}
	}

	// Token: 0x17001ACD RID: 6861
	// (get) Token: 0x06004A2E RID: 18990 RVA: 0x001270FC File Offset: 0x001252FC
	// (set) Token: 0x06004A2F RID: 18991 RVA: 0x00127124 File Offset: 0x00125324
	public unsafe bool SwitchOn
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenScriptEvent.NativeFieldInfoPtr_SwitchOn);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OpenScriptEvent.NativeFieldInfoPtr_SwitchOn)) = value;
		}
	}

	// Token: 0x040030F7 RID: 12535
	private static readonly IntPtr NativeFieldInfoPtr_ScriptEventType;

	// Token: 0x040030F8 RID: 12536
	private static readonly IntPtr NativeFieldInfoPtr_SwitchOn;

	// Token: 0x040030F9 RID: 12537
	private static readonly IntPtr NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0;

	// Token: 0x040030FA RID: 12538
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040030FB RID: 12539
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
