using System;
using Cpp2IlInjected;
using RootMotion.FinalIK;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003BD RID: 957
	[Token(Token = "0x20003BD")]
	public class FPSAiming : MonoBehaviour
	{
		// Token: 0x0600234E RID: 9038 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600234E")]
		[Address(RVA = "0x4BE8F0", Offset = "0x4BD6F0", VA = "0x1804BE8F0")]
		private void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600234F RID: 9039 RVA: 0x00050FB4 File Offset: 0x0004F1B4
		[Token(Token = "0x600234F")]
		[Address(RVA = "0x4BD8A0", Offset = "0x4BC6A0", VA = "0x1804BD8A0")]
		private void FixedUpdate()
		{
			this.updateFrame = true;
		}

		// Token: 0x06002350 RID: 9040 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002350")]
		[Address(RVA = "0x4BD8B0", Offset = "0x4BC6B0", VA = "0x1804BD8B0")]
		private void LateUpdate()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002351 RID: 9041 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002351")]
		[Address(RVA = "0x4BD6E0", Offset = "0x4BC4E0", VA = "0x1804BD6E0")]
		private void Aiming()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002352 RID: 9042 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002352")]
		[Address(RVA = "0x4BD9D0", Offset = "0x4BC7D0", VA = "0x1804BD9D0")]
		private void LookDownTheSight()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002353 RID: 9043 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002353")]
		[Address(RVA = "0x4BE670", Offset = "0x4BD470", VA = "0x1804BE670")]
		private void RotateCharacter()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002354 RID: 9044 RVA: 0x00050FC8 File Offset: 0x0004F1C8
		[Token(Token = "0x6002354")]
		[Address(RVA = "0x4BEA90", Offset = "0x4BD890", VA = "0x1804BEA90")]
		public FPSAiming()
		{
		}

		// Token: 0x04002CB6 RID: 11446
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002CB6")]
		[Range(0f, 1f)]
		public float aimWeight = 1f;

		// Token: 0x04002CB7 RID: 11447
		[FieldOffset(Offset = "0x1C")]
		[Token(Token = "0x4002CB7")]
		[Range(0f, 1f)]
		public float sightWeight = 1f;

		// Token: 0x04002CB8 RID: 11448
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002CB8")]
		[Range(0f, 180f)]
		public float maxAngle = 80f;

		// Token: 0x04002CB9 RID: 11449
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4002CB9")]
		[SerializeField]
		private bool animatePhysics;

		// Token: 0x04002CBA RID: 11450
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4002CBA")]
		[SerializeField]
		private Transform gun;

		// Token: 0x04002CBB RID: 11451
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002CBB")]
		[SerializeField]
		private Transform gunTarget;

		// Token: 0x04002CBC RID: 11452
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002CBC")]
		[SerializeField]
		private FullBodyBipedIK ik;

		// Token: 0x04002CBD RID: 11453
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x4002CBD")]
		[SerializeField]
		private AimIK gunAim;

		// Token: 0x04002CBE RID: 11454
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x4002CBE")]
		[SerializeField]
		private CameraControllerFPS cam;

		// Token: 0x04002CBF RID: 11455
		[FieldOffset(Offset = "0x50")]
		[Token(Token = "0x4002CBF")]
		[SerializeField]
		private Recoil recoil;

		// Token: 0x04002CC0 RID: 11456
		[FieldOffset(Offset = "0x58")]
		[Token(Token = "0x4002CC0")]
		[SerializeField]
		[Range(0f, 1f)]
		private float cameraRecoilWeight = 0.5f;

		// Token: 0x04002CC1 RID: 11457
		[FieldOffset(Offset = "0x5C")]
		[Token(Token = "0x4002CC1")]
		private Vector3 gunTargetDefaultLocalPosition;

		// Token: 0x04002CC2 RID: 11458
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x4002CC2")]
		private Quaternion gunTargetDefaultLocalRotation;

		// Token: 0x04002CC3 RID: 11459
		[FieldOffset(Offset = "0x78")]
		[Token(Token = "0x4002CC3")]
		private Vector3 camDefaultLocalPosition;

		// Token: 0x04002CC4 RID: 11460
		[FieldOffset(Offset = "0x84")]
		[Token(Token = "0x4002CC4")]
		private Vector3 camRelativeToGunTarget;

		// Token: 0x04002CC5 RID: 11461
		[FieldOffset(Offset = "0x90")]
		[Token(Token = "0x4002CC5")]
		private bool updateFrame;
	}
}
