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

namespace RootMotion
{
	// Token: 0x0200039D RID: 925
	public class CameraControllerFPS : MonoBehaviour
	{
		// Token: 0x060074AD RID: 29869 RVA: 0x001DB5E8 File Offset: 0x001D97E8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 588490, XrefRangeEnd = 588492, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Awake()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CameraControllerFPS.NativeMethodInfoPtr_Awake_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060074AE RID: 29870 RVA: 0x001DB62C File Offset: 0x001D982C
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 588507, RefRangeEnd = 588508, XrefRangeStart = 588492, XrefRangeEnd = 588507, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CameraControllerFPS.NativeMethodInfoPtr_LateUpdate_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060074AF RID: 29871 RVA: 0x001DB670 File Offset: 0x001D9870
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe float ClampAngle(float angle, float min, float max)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref angle;
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref min;
			ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref max;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CameraControllerFPS.NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x060074B0 RID: 29872 RVA: 0x001DB6F8 File Offset: 0x001D98F8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 588508, XrefRangeEnd = 588509, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe CameraControllerFPS()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CameraControllerFPS.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060074B1 RID: 29873 RVA: 0x001DB744 File Offset: 0x001D9944
		// Note: this type is marked as 'beforefieldinit'.
		static CameraControllerFPS()
		{
			Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion", "CameraControllerFPS");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr);
			CameraControllerFPS.NativeFieldInfoPtr_rotationSensitivity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, "rotationSensitivity");
			CameraControllerFPS.NativeFieldInfoPtr_yMinLimit = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, "yMinLimit");
			CameraControllerFPS.NativeFieldInfoPtr_yMaxLimit = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, "yMaxLimit");
			CameraControllerFPS.NativeFieldInfoPtr_x = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, "x");
			CameraControllerFPS.NativeFieldInfoPtr_y = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, "y");
			CameraControllerFPS.NativeMethodInfoPtr_Awake_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, 100672075);
			CameraControllerFPS.NativeMethodInfoPtr_LateUpdate_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, 100672076);
			CameraControllerFPS.NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, 100672077);
			CameraControllerFPS.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CameraControllerFPS>.NativeClassPtr, 100672078);
		}

		// Token: 0x060074B2 RID: 29874 RVA: 0x0000351C File Offset: 0x0000171C
		public CameraControllerFPS(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170027FF RID: 10239
		// (get) Token: 0x060074B3 RID: 29875 RVA: 0x001DB828 File Offset: 0x001D9A28
		// (set) Token: 0x060074B4 RID: 29876 RVA: 0x001DB850 File Offset: 0x001D9A50
		public unsafe float rotationSensitivity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_rotationSensitivity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_rotationSensitivity)) = value;
			}
		}

		// Token: 0x17002800 RID: 10240
		// (get) Token: 0x060074B5 RID: 29877 RVA: 0x001DB874 File Offset: 0x001D9A74
		// (set) Token: 0x060074B6 RID: 29878 RVA: 0x001DB89C File Offset: 0x001D9A9C
		public unsafe float yMinLimit
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_yMinLimit);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_yMinLimit)) = value;
			}
		}

		// Token: 0x17002801 RID: 10241
		// (get) Token: 0x060074B7 RID: 29879 RVA: 0x001DB8C0 File Offset: 0x001D9AC0
		// (set) Token: 0x060074B8 RID: 29880 RVA: 0x001DB8E8 File Offset: 0x001D9AE8
		public unsafe float yMaxLimit
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_yMaxLimit);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_yMaxLimit)) = value;
			}
		}

		// Token: 0x17002802 RID: 10242
		// (get) Token: 0x060074B9 RID: 29881 RVA: 0x001DB90C File Offset: 0x001D9B0C
		// (set) Token: 0x060074BA RID: 29882 RVA: 0x001DB934 File Offset: 0x001D9B34
		public unsafe float x
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_x);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_x)) = value;
			}
		}

		// Token: 0x17002803 RID: 10243
		// (get) Token: 0x060074BB RID: 29883 RVA: 0x001DB958 File Offset: 0x001D9B58
		// (set) Token: 0x060074BC RID: 29884 RVA: 0x001DB980 File Offset: 0x001D9B80
		public unsafe float y
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_y);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CameraControllerFPS.NativeFieldInfoPtr_y)) = value;
			}
		}

		// Token: 0x04004E42 RID: 20034
		private static readonly IntPtr NativeFieldInfoPtr_rotationSensitivity;

		// Token: 0x04004E43 RID: 20035
		private static readonly IntPtr NativeFieldInfoPtr_yMinLimit;

		// Token: 0x04004E44 RID: 20036
		private static readonly IntPtr NativeFieldInfoPtr_yMaxLimit;

		// Token: 0x04004E45 RID: 20037
		private static readonly IntPtr NativeFieldInfoPtr_x;

		// Token: 0x04004E46 RID: 20038
		private static readonly IntPtr NativeFieldInfoPtr_y;

		// Token: 0x04004E47 RID: 20039
		private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

		// Token: 0x04004E48 RID: 20040
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Public_Void_0;

		// Token: 0x04004E49 RID: 20041
		private static readonly IntPtr NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0;

		// Token: 0x04004E4A RID: 20042
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
