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

// Token: 0x020001ED RID: 493
public class CursorHide : MonoBehaviour
{
	// Token: 0x06004CE4 RID: 19684 RVA: 0x00131550 File Offset: 0x0012F750
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 547452, XrefRangeEnd = 547454, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetCursorState()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CursorHide.NativeMethodInfoPtr_SetCursorState_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004CE5 RID: 19685 RVA: 0x00131594 File Offset: 0x0012F794
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 547454, XrefRangeEnd = 547505, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnGUI()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CursorHide.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004CE6 RID: 19686 RVA: 0x001315D8 File Offset: 0x0012F7D8
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CursorHide()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CursorHide>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CursorHide.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004CE7 RID: 19687 RVA: 0x00131624 File Offset: 0x0012F824
	// Note: this type is marked as 'beforefieldinit'.
	static CursorHide()
	{
		Il2CppClassPointerStore<CursorHide>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CursorHide");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CursorHide>.NativeClassPtr);
		CursorHide.NativeFieldInfoPtr_wantedMode = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CursorHide>.NativeClassPtr, "wantedMode");
		CursorHide.NativeMethodInfoPtr_SetCursorState_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CursorHide>.NativeClassPtr, 100668365);
		CursorHide.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CursorHide>.NativeClassPtr, 100668366);
		CursorHide.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CursorHide>.NativeClassPtr, 100668367);
	}

	// Token: 0x06004CE8 RID: 19688 RVA: 0x0000351C File Offset: 0x0000171C
	public CursorHide(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001BB1 RID: 7089
	// (get) Token: 0x06004CE9 RID: 19689 RVA: 0x001316A4 File Offset: 0x0012F8A4
	// (set) Token: 0x06004CEA RID: 19690 RVA: 0x001316CC File Offset: 0x0012F8CC
	public unsafe CursorLockMode wantedMode
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CursorHide.NativeFieldInfoPtr_wantedMode);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CursorHide.NativeFieldInfoPtr_wantedMode)) = value;
		}
	}

	// Token: 0x0400329A RID: 12954
	private static readonly IntPtr NativeFieldInfoPtr_wantedMode;

	// Token: 0x0400329B RID: 12955
	private static readonly IntPtr NativeMethodInfoPtr_SetCursorState_Private_Void_0;

	// Token: 0x0400329C RID: 12956
	private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

	// Token: 0x0400329D RID: 12957
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
