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

// Token: 0x0200033C RID: 828
public class ToggleName : MonoBehaviour
{
	// Token: 0x06006F78 RID: 28536 RVA: 0x001C4A74 File Offset: 0x001C2C74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584338, XrefRangeEnd = 584339, 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: 0x06006F79 RID: 28537 RVA: 0x001C4AB8 File Offset: 0x001C2CB8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584339, XrefRangeEnd = 584340, 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: 0x06006F7A RID: 28538 RVA: 0x001C4B0C File Offset: 0x001C2D0C
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06006F7B RID: 28539 RVA: 0x001C4B58 File Offset: 0x001C2D58
	// 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, 100671585);
		ToggleName.NativeMethodInfoPtr_ToggleChanged_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ToggleName>.NativeClassPtr, 100671586);
		ToggleName.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ToggleName>.NativeClassPtr, 100671587);
	}

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

	// Token: 0x17002683 RID: 9859
	// (get) Token: 0x06006F7D RID: 28541 RVA: 0x001C4BD8 File Offset: 0x001C2DD8
	// (set) Token: 0x06006F7E RID: 28542 RVA: 0x001C4C0C File Offset: 0x001C2E0C
	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: 0x04004A0D RID: 18957
	private static readonly IntPtr NativeFieldInfoPtr_nameEffectText;

	// Token: 0x04004A0E RID: 18958
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004A0F RID: 18959
	private static readonly IntPtr NativeMethodInfoPtr_ToggleChanged_Public_Void_Boolean_0;

	// Token: 0x04004A10 RID: 18960
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
