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

// Token: 0x020003AE RID: 942
public class FreeCamera : MonoBehaviour
{
	// Token: 0x06007924 RID: 31012 RVA: 0x001EC7B4 File Offset: 0x001EA9B4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617414, XrefRangeEnd = 617415, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Awake()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FreeCamera.NativeMethodInfoPtr_Awake_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007925 RID: 31013 RVA: 0x001EC7F8 File Offset: 0x001EA9F8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617415, XrefRangeEnd = 617417, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnValidate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FreeCamera.NativeMethodInfoPtr_OnValidate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007926 RID: 31014 RVA: 0x001EC83C File Offset: 0x001EAA3C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 617423, RefRangeEnd = 617424, XrefRangeStart = 617417, XrefRangeEnd = 617423, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void CaptureInput()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FreeCamera.NativeMethodInfoPtr_CaptureInput_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007927 RID: 31015 RVA: 0x001EC880 File Offset: 0x001EAA80
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617424, XrefRangeEnd = 617426, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void ReleaseInput()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FreeCamera.NativeMethodInfoPtr_ReleaseInput_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007928 RID: 31016 RVA: 0x001EC8C4 File Offset: 0x001EAAC4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617426, XrefRangeEnd = 617428, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnApplicationFocus(bool focus)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref focus;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FreeCamera.NativeMethodInfoPtr_OnApplicationFocus_Private_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06007929 RID: 31017 RVA: 0x001EC918 File Offset: 0x001EAB18
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617428, XrefRangeEnd = 617470, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FreeCamera.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600792A RID: 31018 RVA: 0x001EC95C File Offset: 0x001EAB5C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617470, XrefRangeEnd = 617471, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe FreeCamera()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FreeCamera.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600792B RID: 31019 RVA: 0x001EC9A8 File Offset: 0x001EABA8
	// Note: this type is marked as 'beforefieldinit'.
	static FreeCamera()
	{
		Il2CppClassPointerStore<FreeCamera>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "FreeCamera");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr);
		FreeCamera.NativeFieldInfoPtr_enableInputCapture = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "enableInputCapture");
		FreeCamera.NativeFieldInfoPtr_holdRightMouseCapture = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "holdRightMouseCapture");
		FreeCamera.NativeFieldInfoPtr_lookSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "lookSpeed");
		FreeCamera.NativeFieldInfoPtr_moveSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "moveSpeed");
		FreeCamera.NativeFieldInfoPtr_sprintSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "sprintSpeed");
		FreeCamera.NativeFieldInfoPtr_m_inputCaptured = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "m_inputCaptured");
		FreeCamera.NativeFieldInfoPtr_m_yaw = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "m_yaw");
		FreeCamera.NativeFieldInfoPtr_m_pitch = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, "m_pitch");
		FreeCamera.NativeMethodInfoPtr_Awake_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100672397);
		FreeCamera.NativeMethodInfoPtr_OnValidate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100672398);
		FreeCamera.NativeMethodInfoPtr_CaptureInput_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100672399);
		FreeCamera.NativeMethodInfoPtr_ReleaseInput_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100672400);
		FreeCamera.NativeMethodInfoPtr_OnApplicationFocus_Private_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100672401);
		FreeCamera.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100672402);
		FreeCamera.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100672403);
	}

	// Token: 0x0600792C RID: 31020 RVA: 0x0000351C File Offset: 0x0000171C
	public FreeCamera(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002988 RID: 10632
	// (get) Token: 0x0600792D RID: 31021 RVA: 0x001ECB04 File Offset: 0x001EAD04
	// (set) Token: 0x0600792E RID: 31022 RVA: 0x001ECB2C File Offset: 0x001EAD2C
	public unsafe bool enableInputCapture
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_enableInputCapture);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_enableInputCapture)) = value;
		}
	}

	// Token: 0x17002989 RID: 10633
	// (get) Token: 0x0600792F RID: 31023 RVA: 0x001ECB50 File Offset: 0x001EAD50
	// (set) Token: 0x06007930 RID: 31024 RVA: 0x001ECB78 File Offset: 0x001EAD78
	public unsafe bool holdRightMouseCapture
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_holdRightMouseCapture);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_holdRightMouseCapture)) = value;
		}
	}

	// Token: 0x1700298A RID: 10634
	// (get) Token: 0x06007931 RID: 31025 RVA: 0x001ECB9C File Offset: 0x001EAD9C
	// (set) Token: 0x06007932 RID: 31026 RVA: 0x001ECBC4 File Offset: 0x001EADC4
	public unsafe float lookSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_lookSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_lookSpeed)) = value;
		}
	}

	// Token: 0x1700298B RID: 10635
	// (get) Token: 0x06007933 RID: 31027 RVA: 0x001ECBE8 File Offset: 0x001EADE8
	// (set) Token: 0x06007934 RID: 31028 RVA: 0x001ECC10 File Offset: 0x001EAE10
	public unsafe float moveSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_moveSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_moveSpeed)) = value;
		}
	}

	// Token: 0x1700298C RID: 10636
	// (get) Token: 0x06007935 RID: 31029 RVA: 0x001ECC34 File Offset: 0x001EAE34
	// (set) Token: 0x06007936 RID: 31030 RVA: 0x001ECC5C File Offset: 0x001EAE5C
	public unsafe float sprintSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_sprintSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_sprintSpeed)) = value;
		}
	}

	// Token: 0x1700298D RID: 10637
	// (get) Token: 0x06007937 RID: 31031 RVA: 0x001ECC80 File Offset: 0x001EAE80
	// (set) Token: 0x06007938 RID: 31032 RVA: 0x001ECCA8 File Offset: 0x001EAEA8
	public unsafe bool m_inputCaptured
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_m_inputCaptured);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_m_inputCaptured)) = value;
		}
	}

	// Token: 0x1700298E RID: 10638
	// (get) Token: 0x06007939 RID: 31033 RVA: 0x001ECCCC File Offset: 0x001EAECC
	// (set) Token: 0x0600793A RID: 31034 RVA: 0x001ECCF4 File Offset: 0x001EAEF4
	public unsafe float m_yaw
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_m_yaw);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_m_yaw)) = value;
		}
	}

	// Token: 0x1700298F RID: 10639
	// (get) Token: 0x0600793B RID: 31035 RVA: 0x001ECD18 File Offset: 0x001EAF18
	// (set) Token: 0x0600793C RID: 31036 RVA: 0x001ECD40 File Offset: 0x001EAF40
	public unsafe float m_pitch
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_m_pitch);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FreeCamera.NativeFieldInfoPtr_m_pitch)) = value;
		}
	}

	// Token: 0x0400507E RID: 20606
	private static readonly IntPtr NativeFieldInfoPtr_enableInputCapture;

	// Token: 0x0400507F RID: 20607
	private static readonly IntPtr NativeFieldInfoPtr_holdRightMouseCapture;

	// Token: 0x04005080 RID: 20608
	private static readonly IntPtr NativeFieldInfoPtr_lookSpeed;

	// Token: 0x04005081 RID: 20609
	private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;

	// Token: 0x04005082 RID: 20610
	private static readonly IntPtr NativeFieldInfoPtr_sprintSpeed;

	// Token: 0x04005083 RID: 20611
	private static readonly IntPtr NativeFieldInfoPtr_m_inputCaptured;

	// Token: 0x04005084 RID: 20612
	private static readonly IntPtr NativeFieldInfoPtr_m_yaw;

	// Token: 0x04005085 RID: 20613
	private static readonly IntPtr NativeFieldInfoPtr_m_pitch;

	// Token: 0x04005086 RID: 20614
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

	// Token: 0x04005087 RID: 20615
	private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Private_Void_0;

	// Token: 0x04005088 RID: 20616
	private static readonly IntPtr NativeMethodInfoPtr_CaptureInput_Private_Void_0;

	// Token: 0x04005089 RID: 20617
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseInput_Private_Void_0;

	// Token: 0x0400508A RID: 20618
	private static readonly IntPtr NativeMethodInfoPtr_OnApplicationFocus_Private_Void_Boolean_0;

	// Token: 0x0400508B RID: 20619
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400508C RID: 20620
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
