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

namespace RootMotion.Demos
{
	// Token: 0x020003CA RID: 970
	[Token(Token = "0x20003CA")]
	public class OffsetEffector : OffsetModifier
	{
		// Token: 0x0600237F RID: 9087 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600237F")]
		[Address(RVA = "0xD37E90", Offset = "0xD36C90", VA = "0x180D37E90", Slot = "5")]
		protected override void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002380 RID: 9088 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002380")]
		[Address(RVA = "0xD37C40", Offset = "0xD36A40", VA = "0x180D37C40", Slot = "4")]
		protected override void OnModifyOffset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002381 RID: 9089 RVA: 0x000513F4 File Offset: 0x0004F5F4
		[Token(Token = "0x6002381")]
		[Address(RVA = "0xBE5C30", Offset = "0xBE4A30", VA = "0x180BE5C30")]
		public OffsetEffector()
		{
			this.weight = 1f;
			base..ctor();
		}

		// Token: 0x04002D06 RID: 11526
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002D06")]
		public OffsetEffector.EffectorLink[] effectorLinks;

		// Token: 0x020003CB RID: 971
		[Token(Token = "0x20003CB")]
		[Serializable]
		public class EffectorLink
		{
			// Token: 0x06002382 RID: 9090 RVA: 0x00051414 File Offset: 0x0004F614
			[Token(Token = "0x6002382")]
			[Address(RVA = "0x5FD950", Offset = "0x5FC750", VA = "0x1805FD950")]
			public EffectorLink()
			{
			}

			// Token: 0x04002D07 RID: 11527
			[FieldOffset(Offset = "0x10")]
			[Token(Token = "0x4002D07")]
			public FullBodyBipedEffector effectorType;

			// Token: 0x04002D08 RID: 11528
			[FieldOffset(Offset = "0x14")]
			[Token(Token = "0x4002D08")]
			public float weightMultiplier = 1f;

			// Token: 0x04002D09 RID: 11529
			[FieldOffset(Offset = "0x18")]
			[Token(Token = "0x4002D09")]
			[HideInInspector]
			public Vector3 localPosition;
		}
	}
}
