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

namespace RootMotion.Demos
{
	// Token: 0x02000422 RID: 1058
	[Token(Token = "0x2000422")]
	public class OffsetEffector : OffsetModifier
	{
		// Token: 0x06002648 RID: 9800 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002648")]
		[Address(RVA = "0xE69160", Offset = "0xE68160", VA = "0x180E69160", Slot = "5")]
		protected override void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002649 RID: 9801 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002649")]
		[Address(RVA = "0xE68F10", Offset = "0xE67F10", VA = "0x180E68F10", Slot = "4")]
		protected override void OnModifyOffset()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600264A RID: 9802 RVA: 0x0005864C File Offset: 0x0005684C
		[Token(Token = "0x600264A")]
		[Address(RVA = "0x503840", Offset = "0x502840", VA = "0x180503840")]
		public OffsetEffector()
		{
			this.weight = 1f;
			base..ctor();
		}

		// Token: 0x04002FF0 RID: 12272
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002FF0")]
		public OffsetEffector.EffectorLink[] effectorLinks;

		// Token: 0x02000423 RID: 1059
		[Token(Token = "0x2000423")]
		[Serializable]
		public class EffectorLink
		{
			// Token: 0x0600264B RID: 9803 RVA: 0x0005866C File Offset: 0x0005686C
			[Token(Token = "0x600264B")]
			[Address(RVA = "0x696BE0", Offset = "0x695BE0", VA = "0x180696BE0")]
			public EffectorLink()
			{
			}

			// Token: 0x04002FF1 RID: 12273
			[FieldOffset(Offset = "0x10")]
			[Token(Token = "0x4002FF1")]
			public FullBodyBipedEffector effectorType;

			// Token: 0x04002FF2 RID: 12274
			[FieldOffset(Offset = "0x14")]
			[Token(Token = "0x4002FF2")]
			public float weightMultiplier = 1f;

			// Token: 0x04002FF3 RID: 12275
			[FieldOffset(Offset = "0x18")]
			[Token(Token = "0x4002FF3")]
			[HideInInspector]
			public Vector3 localPosition;
		}
	}
}
