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

// Token: 0x020001FE RID: 510
public class OpenScriptEvent : SceneEvent
{
	// Token: 0x17001C4B RID: 7243
	// (get) Token: 0x06004F3F RID: 20287 RVA: 0x0013C040 File Offset: 0x0013A240
	public unsafe StageFlagData Flags
	{
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 572737, RefRangeEnd = 572738, XrefRangeStart = 572733, XrefRangeEnd = 572737, 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: 0x06004F40 RID: 20288 RVA: 0x0013C098 File Offset: 0x0013A298
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572738, XrefRangeEnd = 572741, 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: 0x06004F41 RID: 20289 RVA: 0x0013C0E8 File Offset: 0x0013A2E8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572741, XrefRangeEnd = 572742, 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: 0x06004F42 RID: 20290 RVA: 0x0013C134 File Offset: 0x0013A334
	// 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, 100668620);
		OpenScriptEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr, 100668621);
		OpenScriptEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OpenScriptEvent>.NativeClassPtr, 100668622);
	}

	// Token: 0x06004F43 RID: 20291 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public OpenScriptEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C49 RID: 7241
	// (get) Token: 0x06004F44 RID: 20292 RVA: 0x0013C1C8 File Offset: 0x0013A3C8
	// (set) Token: 0x06004F45 RID: 20293 RVA: 0x0013C1F0 File Offset: 0x0013A3F0
	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: 0x17001C4A RID: 7242
	// (get) Token: 0x06004F46 RID: 20294 RVA: 0x0013C214 File Offset: 0x0013A414
	// (set) Token: 0x06004F47 RID: 20295 RVA: 0x0013C23C File Offset: 0x0013A43C
	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: 0x04003465 RID: 13413
	private static readonly IntPtr NativeFieldInfoPtr_ScriptEventType;

	// Token: 0x04003466 RID: 13414
	private static readonly IntPtr NativeFieldInfoPtr_SwitchOn;

	// Token: 0x04003467 RID: 13415
	private static readonly IntPtr NativeMethodInfoPtr_get_Flags_Private_get_StageFlagData_0;

	// Token: 0x04003468 RID: 13416
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003469 RID: 13417
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
