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

// Token: 0x020001A8 RID: 424
public class GameObjectEnable : SceneEvent
{
	// Token: 0x06004839 RID: 18489 RVA: 0x0011FC74 File Offset: 0x0011DE74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543756, XrefRangeEnd = 543761, 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), GameObjectEnable.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600483A RID: 18490 RVA: 0x0011FCC4 File Offset: 0x0011DEC4
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameObjectEnable()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameObjectEnable.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600483B RID: 18491 RVA: 0x0011FD10 File Offset: 0x0011DF10
	// Note: this type is marked as 'beforefieldinit'.
	static GameObjectEnable()
	{
		Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameObjectEnable");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr);
		GameObjectEnable.NativeFieldInfoPtr_Event = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr, "Event");
		GameObjectEnable.NativeFieldInfoPtr_Enable = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr, "Enable");
		GameObjectEnable.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr, 100668091);
		GameObjectEnable.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr, 100668092);
	}

	// Token: 0x0600483C RID: 18492 RVA: 0x00117370 File Offset: 0x00115570
	public GameObjectEnable(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001A23 RID: 6691
	// (get) Token: 0x0600483D RID: 18493 RVA: 0x0011FD90 File Offset: 0x0011DF90
	// (set) Token: 0x0600483E RID: 18494 RVA: 0x0011FDC4 File Offset: 0x0011DFC4
	public unsafe Il2CppReferenceArray<GameObject> Event
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameObjectEnable.NativeFieldInfoPtr_Event);
			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(GameObjectEnable.NativeFieldInfoPtr_Event), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001A24 RID: 6692
	// (get) Token: 0x0600483F RID: 18495 RVA: 0x0011FDEC File Offset: 0x0011DFEC
	// (set) Token: 0x06004840 RID: 18496 RVA: 0x0011FE14 File Offset: 0x0011E014
	public unsafe bool Enable
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameObjectEnable.NativeFieldInfoPtr_Enable);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameObjectEnable.NativeFieldInfoPtr_Enable)) = value;
		}
	}

	// Token: 0x04002FCD RID: 12237
	private static readonly IntPtr NativeFieldInfoPtr_Event;

	// Token: 0x04002FCE RID: 12238
	private static readonly IntPtr NativeFieldInfoPtr_Enable;

	// Token: 0x04002FCF RID: 12239
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04002FD0 RID: 12240
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
