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

// Token: 0x02000394 RID: 916
public class ToggleName : MonoBehaviour
{
	// Token: 0x060077CB RID: 30667 RVA: 0x001E77BC File Offset: 0x001E59BC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616639, XrefRangeEnd = 616640, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ToggleName.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060077CC RID: 30668 RVA: 0x001E7800 File Offset: 0x001E5A00
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616640, XrefRangeEnd = 616641, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void ToggleChanged(bool isHide)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref isHide;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ToggleName.NativeMethodInfoPtr_ToggleChanged_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060077CD RID: 30669 RVA: 0x001E7854 File Offset: 0x001E5A54
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ToggleName()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ToggleName>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ToggleName.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060077CE RID: 30670 RVA: 0x001E78A0 File Offset: 0x001E5AA0
	// Note: this type is marked as 'beforefieldinit'.
	static ToggleName()
	{
		Il2CppClassPointerStore<ToggleName>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ToggleName");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ToggleName>.NativeClassPtr);
		ToggleName.NativeFieldInfoPtr_nameEffectText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ToggleName>.NativeClassPtr, "nameEffectText");
		ToggleName.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ToggleName>.NativeClassPtr, 100672298);
		ToggleName.NativeMethodInfoPtr_ToggleChanged_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ToggleName>.NativeClassPtr, 100672299);
		ToggleName.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ToggleName>.NativeClassPtr, 100672300);
	}

	// Token: 0x060077CF RID: 30671 RVA: 0x0000351C File Offset: 0x0000171C
	public ToggleName(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700291E RID: 10526
	// (get) Token: 0x060077D0 RID: 30672 RVA: 0x001E7920 File Offset: 0x001E5B20
	// (set) Token: 0x060077D1 RID: 30673 RVA: 0x001E7954 File Offset: 0x001E5B54
	public unsafe Il2CppReferenceArray<GameObject> nameEffectText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ToggleName.NativeFieldInfoPtr_nameEffectText);
			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(ToggleName.NativeFieldInfoPtr_nameEffectText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004FB6 RID: 20406
	private static readonly IntPtr NativeFieldInfoPtr_nameEffectText;

	// Token: 0x04004FB7 RID: 20407
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004FB8 RID: 20408
	private static readonly IntPtr NativeMethodInfoPtr_ToggleChanged_Public_Void_Boolean_0;

	// Token: 0x04004FB9 RID: 20409
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
