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

namespace RootMotion.Demos
{
	// Token: 0x02000415 RID: 1045
	[Token(Token = "0x2000415")]
	public class FPSAiming : MonoBehaviour
	{
		// Token: 0x06002617 RID: 9751 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002617")]
		[Address(RVA = "0xD1A630", Offset = "0xD19630", VA = "0x180D1A630")]
		private void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002618 RID: 9752 RVA: 0x0005820C File Offset: 0x0005640C
		[Token(Token = "0x6002618")]
		[Address(RVA = "0xD195E0", Offset = "0xD185E0", VA = "0x180D195E0")]
		private void FixedUpdate()
		{
			this.updateFrame = true;
		}

		// Token: 0x06002619 RID: 9753 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002619")]
		[Address(RVA = "0xD195F0", Offset = "0xD185F0", VA = "0x180D195F0")]
		private void LateUpdate()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600261A RID: 9754 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600261A")]
		[Address(RVA = "0xD19420", Offset = "0xD18420", VA = "0x180D19420")]
		private void Aiming()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600261B RID: 9755 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600261B")]
		[Address(RVA = "0xD19710", Offset = "0xD18710", VA = "0x180D19710")]
		private void LookDownTheSight()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600261C RID: 9756 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600261C")]
		[Address(RVA = "0xD1A3B0", Offset = "0xD193B0", VA = "0x180D1A3B0")]
		private void RotateCharacter()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600261D RID: 9757 RVA: 0x00058220 File Offset: 0x00056420
		[Token(Token = "0x600261D")]
		[Address(RVA = "0xD1A7D0", Offset = "0xD197D0", VA = "0x180D1A7D0")]
		public FPSAiming()
		{
		}

		// Token: 0x04002FA0 RID: 12192
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002FA0")]
		[Range(0f, 1f)]
		public float aimWeight = 1f;

		// Token: 0x04002FA1 RID: 12193
		[FieldOffset(Offset = "0x1C")]
		[Token(Token = "0x4002FA1")]
		[Range(0f, 1f)]
		public float sightWeight = 1f;

		// Token: 0x04002FA2 RID: 12194
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002FA2")]
		[Range(0f, 180f)]
		public float maxAngle = 80f;

		// Token: 0x04002FA3 RID: 12195
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4002FA3")]
		[SerializeField]
		private bool animatePhysics;

		// Token: 0x04002FA4 RID: 12196
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4002FA4")]
		[SerializeField]
		private Transform gun;

		// Token: 0x04002FA5 RID: 12197
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002FA5")]
		[SerializeField]
		private Transform gunTarget;

		// Token: 0x04002FA6 RID: 12198
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002FA6")]
		[SerializeField]
		private FullBodyBipedIK ik;

		// Token: 0x04002FA7 RID: 12199
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x4002FA7")]
		[SerializeField]
		private AimIK gunAim;

		// Token: 0x04002FA8 RID: 12200
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x4002FA8")]
		[SerializeField]
		private CameraControllerFPS cam;

		// Token: 0x04002FA9 RID: 12201
		[FieldOffset(Offset = "0x50")]
		[Token(Token = "0x4002FA9")]
		[SerializeField]
		private Recoil recoil;

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

		// Token: 0x04002FAB RID: 12203
		[FieldOffset(Offset = "0x5C")]
		[Token(Token = "0x4002FAB")]
		private Vector3 gunTargetDefaultLocalPosition;

		// Token: 0x04002FAC RID: 12204
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x4002FAC")]
		private Quaternion gunTargetDefaultLocalRotation;

		// Token: 0x04002FAD RID: 12205
		[FieldOffset(Offset = "0x78")]
		[Token(Token = "0x4002FAD")]
		private Vector3 camDefaultLocalPosition;

		// Token: 0x04002FAE RID: 12206
		[FieldOffset(Offset = "0x84")]
		[Token(Token = "0x4002FAE")]
		private Vector3 camRelativeToGunTarget;

		// Token: 0x04002FAF RID: 12207
		[FieldOffset(Offset = "0x90")]
		[Token(Token = "0x4002FAF")]
		private bool updateFrame;
	}
}
