using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.FinalIK
{
	// Token: 0x02000467 RID: 1127
	[Token(Token = "0x2000467")]
	public class AimPoser : MonoBehaviour
	{
		// Token: 0x06002888 RID: 10376 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002888")]
		[Address(RVA = "0x11E3C60", Offset = "0x11E2A60", VA = "0x1811E3C60")]
		public AimPoser.Pose GetPose(Vector3 localDirection)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002889 RID: 10377 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002889")]
		[Address(RVA = "0x11E3D70", Offset = "0x11E2B70", VA = "0x1811E3D70")]
		public void SetPoseActive(AimPoser.Pose pose)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600288A RID: 10378 RVA: 0x00059564 File Offset: 0x00057764
		[Token(Token = "0x600288A")]
		[Address(RVA = "0x11E3E00", Offset = "0x11E2C00", VA = "0x1811E3E00")]
		public AimPoser()
		{
			AimPoser.Pose[] array = new AimPoser.Pose[0];
			this.poses = array;
			base..ctor();
		}

		// Token: 0x040031C5 RID: 12741
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40031C5")]
		public float angleBuffer = 5f;

		// Token: 0x040031C6 RID: 12742
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x40031C6")]
		public AimPoser.Pose[] poses;

		// Token: 0x02000468 RID: 1128
		[Token(Token = "0x2000468")]
		[Serializable]
		public class Pose
		{
			// Token: 0x0600288B RID: 10379 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x600288B")]
			[Address(RVA = "0x5FD280", Offset = "0x5FC080", VA = "0x1805FD280")]
			public bool IsInDirection(Vector3 d)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x0600288C RID: 10380 RVA: 0x00059590 File Offset: 0x00057790
			[Token(Token = "0x600288C")]
			[Address(RVA = "0x5FC8F0", Offset = "0x5FB6F0", VA = "0x1805FC8F0")]
			public void SetAngleBuffer(float value)
			{
				this.angleBuffer = value;
			}

			// Token: 0x0600288D RID: 10381 RVA: 0x000595A4 File Offset: 0x000577A4
			[Token(Token = "0x600288D")]
			[Address(RVA = "0x5FD4D0", Offset = "0x5FC2D0", VA = "0x1805FD4D0")]
			public Pose()
			{
			}

			// Token: 0x040031C7 RID: 12743
			[FieldOffset(Offset = "0x10")]
			[Token(Token = "0x40031C7")]
			public bool visualize = true;

			// Token: 0x040031C8 RID: 12744
			[FieldOffset(Offset = "0x18")]
			[Token(Token = "0x40031C8")]
			public string name;

			// Token: 0x040031C9 RID: 12745
			[FieldOffset(Offset = "0x20")]
			[Token(Token = "0x40031C9")]
			public Vector3 direction;

			// Token: 0x040031CA RID: 12746
			[FieldOffset(Offset = "0x2C")]
			[Token(Token = "0x40031CA")]
			public float yaw = 75f;

			// Token: 0x040031CB RID: 12747
			[FieldOffset(Offset = "0x30")]
			[Token(Token = "0x40031CB")]
			public float pitch = 45f;

			// Token: 0x040031CC RID: 12748
			[FieldOffset(Offset = "0x34")]
			[Token(Token = "0x40031CC")]
			private float angleBuffer;
		}
	}
}
