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

// Token: 0x02000356 RID: 854
public class FreeCamera : MonoBehaviour
{
	// Token: 0x060070D1 RID: 28881 RVA: 0x001C9A6C File Offset: 0x001C7C6C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585113, XrefRangeEnd = 585114, 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: 0x060070D2 RID: 28882 RVA: 0x001C9AB0 File Offset: 0x001C7CB0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585114, XrefRangeEnd = 585116, 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: 0x060070D3 RID: 28883 RVA: 0x001C9AF4 File Offset: 0x001C7CF4
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 585122, RefRangeEnd = 585123, XrefRangeStart = 585116, XrefRangeEnd = 585122, 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: 0x060070D4 RID: 28884 RVA: 0x001C9B38 File Offset: 0x001C7D38
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585123, XrefRangeEnd = 585125, 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: 0x060070D5 RID: 28885 RVA: 0x001C9B7C File Offset: 0x001C7D7C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585125, XrefRangeEnd = 585127, 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: 0x060070D6 RID: 28886 RVA: 0x001C9BD0 File Offset: 0x001C7DD0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585127, XrefRangeEnd = 585169, 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: 0x060070D7 RID: 28887 RVA: 0x001C9C14 File Offset: 0x001C7E14
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585169, XrefRangeEnd = 585170, 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: 0x060070D8 RID: 28888 RVA: 0x001C9C60 File Offset: 0x001C7E60
	// 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, 100671684);
		FreeCamera.NativeMethodInfoPtr_OnValidate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100671685);
		FreeCamera.NativeMethodInfoPtr_CaptureInput_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100671686);
		FreeCamera.NativeMethodInfoPtr_ReleaseInput_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100671687);
		FreeCamera.NativeMethodInfoPtr_OnApplicationFocus_Private_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100671688);
		FreeCamera.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100671689);
		FreeCamera.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FreeCamera>.NativeClassPtr, 100671690);
	}

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

	// Token: 0x170026ED RID: 9965
	// (get) Token: 0x060070DA RID: 28890 RVA: 0x001C9DBC File Offset: 0x001C7FBC
	// (set) Token: 0x060070DB RID: 28891 RVA: 0x001C9DE4 File Offset: 0x001C7FE4
	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: 0x170026EE RID: 9966
	// (get) Token: 0x060070DC RID: 28892 RVA: 0x001C9E08 File Offset: 0x001C8008
	// (set) Token: 0x060070DD RID: 28893 RVA: 0x001C9E30 File Offset: 0x001C8030
	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: 0x170026EF RID: 9967
	// (get) Token: 0x060070DE RID: 28894 RVA: 0x001C9E54 File Offset: 0x001C8054
	// (set) Token: 0x060070DF RID: 28895 RVA: 0x001C9E7C File Offset: 0x001C807C
	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: 0x170026F0 RID: 9968
	// (get) Token: 0x060070E0 RID: 28896 RVA: 0x001C9EA0 File Offset: 0x001C80A0
	// (set) Token: 0x060070E1 RID: 28897 RVA: 0x001C9EC8 File Offset: 0x001C80C8
	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: 0x170026F1 RID: 9969
	// (get) Token: 0x060070E2 RID: 28898 RVA: 0x001C9EEC File Offset: 0x001C80EC
	// (set) Token: 0x060070E3 RID: 28899 RVA: 0x001C9F14 File Offset: 0x001C8114
	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: 0x170026F2 RID: 9970
	// (get) Token: 0x060070E4 RID: 28900 RVA: 0x001C9F38 File Offset: 0x001C8138
	// (set) Token: 0x060070E5 RID: 28901 RVA: 0x001C9F60 File Offset: 0x001C8160
	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: 0x170026F3 RID: 9971
	// (get) Token: 0x060070E6 RID: 28902 RVA: 0x001C9F84 File Offset: 0x001C8184
	// (set) Token: 0x060070E7 RID: 28903 RVA: 0x001C9FAC File Offset: 0x001C81AC
	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: 0x170026F4 RID: 9972
	// (get) Token: 0x060070E8 RID: 28904 RVA: 0x001C9FD0 File Offset: 0x001C81D0
	// (set) Token: 0x060070E9 RID: 28905 RVA: 0x001C9FF8 File Offset: 0x001C81F8
	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: 0x04004AD5 RID: 19157
	private static readonly IntPtr NativeFieldInfoPtr_enableInputCapture;

	// Token: 0x04004AD6 RID: 19158
	private static readonly IntPtr NativeFieldInfoPtr_holdRightMouseCapture;

	// Token: 0x04004AD7 RID: 19159
	private static readonly IntPtr NativeFieldInfoPtr_lookSpeed;

	// Token: 0x04004AD8 RID: 19160
	private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;

	// Token: 0x04004AD9 RID: 19161
	private static readonly IntPtr NativeFieldInfoPtr_sprintSpeed;

	// Token: 0x04004ADA RID: 19162
	private static readonly IntPtr NativeFieldInfoPtr_m_inputCaptured;

	// Token: 0x04004ADB RID: 19163
	private static readonly IntPtr NativeFieldInfoPtr_m_yaw;

	// Token: 0x04004ADC RID: 19164
	private static readonly IntPtr NativeFieldInfoPtr_m_pitch;

	// Token: 0x04004ADD RID: 19165
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

	// Token: 0x04004ADE RID: 19166
	private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Private_Void_0;

	// Token: 0x04004ADF RID: 19167
	private static readonly IntPtr NativeMethodInfoPtr_CaptureInput_Private_Void_0;

	// Token: 0x04004AE0 RID: 19168
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseInput_Private_Void_0;

	// Token: 0x04004AE1 RID: 19169
	private static readonly IntPtr NativeMethodInfoPtr_OnApplicationFocus_Private_Void_Boolean_0;

	// Token: 0x04004AE2 RID: 19170
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004AE3 RID: 19171
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
