using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.FinalIK
{
	// Token: 0x020004BF RID: 1215
	[Token(Token = "0x20004BF")]
	public class AimPoser : MonoBehaviour
	{
		// Token: 0x06002B51 RID: 11089 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002B51")]
		[Address(RVA = "0xDA6EA0", Offset = "0xDA5EA0", VA = "0x180DA6EA0")]
		public AimPoser.Pose GetPose(Vector3 localDirection)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002B52 RID: 11090 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002B52")]
		[Address(RVA = "0xDA6FB0", Offset = "0xDA5FB0", VA = "0x180DA6FB0")]
		public void SetPoseActive(AimPoser.Pose pose)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002B53 RID: 11091 RVA: 0x00060908 File Offset: 0x0005EB08
		[Token(Token = "0x6002B53")]
		[Address(RVA = "0xDA7040", Offset = "0xDA6040", VA = "0x180DA7040")]
		public AimPoser()
		{
			AimPoser.Pose[] array = new AimPoser.Pose[0];
			this.poses = array;
			base..ctor();
		}

		// Token: 0x040034AF RID: 13487
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40034AF")]
		public float angleBuffer = 5f;

		// Token: 0x040034B0 RID: 13488
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x40034B0")]
		public AimPoser.Pose[] poses;

		// Token: 0x020004C0 RID: 1216
		[Token(Token = "0x20004C0")]
		[Serializable]
		public class Pose
		{
			// Token: 0x06002B54 RID: 11092 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x6002B54")]
			[Address(RVA = "0x19BD890", Offset = "0x19BC890", VA = "0x1819BD890")]
			public bool IsInDirection(Vector3 d)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x06002B55 RID: 11093 RVA: 0x00060934 File Offset: 0x0005EB34
			[Token(Token = "0x6002B55")]
			[Address(RVA = "0x614C70", Offset = "0x613C70", VA = "0x180614C70")]
			public void SetAngleBuffer(float value)
			{
				this.angleBuffer = value;
			}

			// Token: 0x06002B56 RID: 11094 RVA: 0x00060948 File Offset: 0x0005EB48
			[Token(Token = "0x6002B56")]
			[Address(RVA = "0x19BDAE0", Offset = "0x19BCAE0", VA = "0x1819BDAE0")]
			public Pose()
			{
			}

			// Token: 0x040034B1 RID: 13489
			[FieldOffset(Offset = "0x10")]
			[Token(Token = "0x40034B1")]
			public bool visualize = true;

			// Token: 0x040034B2 RID: 13490
			[FieldOffset(Offset = "0x18")]
			[Token(Token = "0x40034B2")]
			public string name;

			// Token: 0x040034B3 RID: 13491
			[FieldOffset(Offset = "0x20")]
			[Token(Token = "0x40034B3")]
			public Vector3 direction;

			// Token: 0x040034B4 RID: 13492
			[FieldOffset(Offset = "0x2C")]
			[Token(Token = "0x40034B4")]
			public float yaw = 75f;

			// Token: 0x040034B5 RID: 13493
			[FieldOffset(Offset = "0x30")]
			[Token(Token = "0x40034B5")]
			public float pitch = 45f;

			// Token: 0x040034B6 RID: 13494
			[FieldOffset(Offset = "0x34")]
			[Token(Token = "0x40034B6")]
			private float angleBuffer;
		}
	}
}
