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

// Token: 0x020001DF RID: 479
public class GameObjectEnable : SceneEvent
{
	// Token: 0x06004D34 RID: 19764 RVA: 0x001346D8 File Offset: 0x001328D8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571661, XrefRangeEnd = 571666, 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: 0x06004D35 RID: 19765 RVA: 0x00134728 File Offset: 0x00132928
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, 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: 0x06004D36 RID: 19766 RVA: 0x00134774 File Offset: 0x00132974
	// 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, 100668506);
		GameObjectEnable.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameObjectEnable>.NativeClassPtr, 100668507);
	}

	// Token: 0x06004D37 RID: 19767 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public GameObjectEnable(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B9A RID: 7066
	// (get) Token: 0x06004D38 RID: 19768 RVA: 0x001347F4 File Offset: 0x001329F4
	// (set) Token: 0x06004D39 RID: 19769 RVA: 0x00134828 File Offset: 0x00132A28
	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: 0x17001B9B RID: 7067
	// (get) Token: 0x06004D3A RID: 19770 RVA: 0x00134850 File Offset: 0x00132A50
	// (set) Token: 0x06004D3B RID: 19771 RVA: 0x00134878 File Offset: 0x00132A78
	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: 0x0400332A RID: 13098
	private static readonly IntPtr NativeFieldInfoPtr_Event;

	// Token: 0x0400332B RID: 13099
	private static readonly IntPtr NativeFieldInfoPtr_Enable;

	// Token: 0x0400332C RID: 13100
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400332D RID: 13101
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
