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

namespace RootMotion.Demos
{
	// Token: 0x0200040F RID: 1039
	[Token(Token = "0x200040F")]
	public class ExplosionDemo : MonoBehaviour
	{
		// Token: 0x06002602 RID: 9730 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002602")]
		[Address(RVA = "0xD0C4D0", Offset = "0xD0B4D0", VA = "0x180D0C4D0")]
		private void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002603 RID: 9731 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002603")]
		[Address(RVA = "0xD0C590", Offset = "0xD0B590", VA = "0x180D0C590")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002604 RID: 9732 RVA: 0x00057E08 File Offset: 0x00056008
		[Token(Token = "0x6002604")]
		[Address(RVA = "0xD0C410", Offset = "0xD0B410", VA = "0x180D0C410")]
		private void SetEffectorWeights(float w)
		{
			this.ik.solver.leftHandEffector.positionWeight = w;
			this.ik.solver.rightHandEffector.positionWeight = w;
			this.ik.solver.leftFootEffector.positionWeight = w;
			this.ik.solver.rightFootEffector.positionWeight = w;
		}

		// Token: 0x06002605 RID: 9733 RVA: 0x00057E74 File Offset: 0x00056074
		[Token(Token = "0x6002605")]
		[Address(RVA = "0xD0CBD0", Offset = "0xD0BBD0", VA = "0x180D0CBD0")]
		public ExplosionDemo()
		{
			float z = Vector3.one.z;
			this.defaultScale.z = z;
			base..ctor();
		}

		// Token: 0x04002F7D RID: 12157
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002F7D")]
		public SimpleLocomotion character;

		// Token: 0x04002F7E RID: 12158
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002F7E")]
		public float forceMlp = 1f;

		// Token: 0x04002F7F RID: 12159
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4002F7F")]
		public float upForce = 1f;

		// Token: 0x04002F80 RID: 12160
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4002F80")]
		public float weightFalloffSpeed = 1f;

		// Token: 0x04002F81 RID: 12161
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002F81")]
		public AnimationCurve weightFalloff;

		// Token: 0x04002F82 RID: 12162
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002F82")]
		public AnimationCurve explosionForceByDistance;

		// Token: 0x04002F83 RID: 12163
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x4002F83")]
		public AnimationCurve scale;

		// Token: 0x04002F84 RID: 12164
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x4002F84")]
		private float weight;

		// Token: 0x04002F85 RID: 12165
		[FieldOffset(Offset = "0x4C")]
		[Token(Token = "0x4002F85")]
		private Vector3 defaultScale;

		// Token: 0x04002F86 RID: 12166
		[FieldOffset(Offset = "0x58")]
		[Token(Token = "0x4002F86")]
		private Rigidbody r;

		// Token: 0x04002F87 RID: 12167
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x4002F87")]
		private FullBodyBipedIK ik;
	}
}
