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

// Token: 0x0200022A RID: 554
public class CursorHide : MonoBehaviour
{
	// Token: 0x06005215 RID: 21013 RVA: 0x00146D70 File Offset: 0x00144F70
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 575535, XrefRangeEnd = 575537, 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: 0x06005216 RID: 21014 RVA: 0x00146DB4 File Offset: 0x00144FB4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 575537, XrefRangeEnd = 575588, 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: 0x06005217 RID: 21015 RVA: 0x00146DF8 File Offset: 0x00144FF8
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06005218 RID: 21016 RVA: 0x00146E44 File Offset: 0x00145044
	// 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, 100668802);
		CursorHide.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CursorHide>.NativeClassPtr, 100668803);
		CursorHide.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CursorHide>.NativeClassPtr, 100668804);
	}

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

	// Token: 0x17001D34 RID: 7476
	// (get) Token: 0x0600521A RID: 21018 RVA: 0x00146EC4 File Offset: 0x001450C4
	// (set) Token: 0x0600521B RID: 21019 RVA: 0x00146EEC File Offset: 0x001450EC
	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: 0x0400361B RID: 13851
	private static readonly IntPtr NativeFieldInfoPtr_wantedMode;

	// Token: 0x0400361C RID: 13852
	private static readonly IntPtr NativeMethodInfoPtr_SetCursorState_Private_Void_0;

	// Token: 0x0400361D RID: 13853
	private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

	// Token: 0x0400361E RID: 13854
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
