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

namespace RootMotion.Demos
{
	// Token: 0x020003B7 RID: 951
	[Token(Token = "0x20003B7")]
	public class ExplosionDemo : MonoBehaviour
	{
		// Token: 0x06002339 RID: 9017 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002339")]
		[Address(RVA = "0xA690C0", Offset = "0xA67EC0", VA = "0x180A690C0")]
		private void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600233A RID: 9018 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600233A")]
		[Address(RVA = "0xA69180", Offset = "0xA67F80", VA = "0x180A69180")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600233B RID: 9019 RVA: 0x00050B5C File Offset: 0x0004ED5C
		[Token(Token = "0x600233B")]
		[Address(RVA = "0xA69000", Offset = "0xA67E00", VA = "0x180A69000")]
		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: 0x0600233C RID: 9020 RVA: 0x00050BC8 File Offset: 0x0004EDC8
		[Token(Token = "0x600233C")]
		[Address(RVA = "0xA697C0", Offset = "0xA685C0", VA = "0x180A697C0")]
		public ExplosionDemo()
		{
			float z = Vector3.one.z;
			this.defaultScale.z = z;
			base..ctor();
		}

		// Token: 0x04002C93 RID: 11411
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002C93")]
		public SimpleLocomotion character;

		// Token: 0x04002C94 RID: 11412
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002C94")]
		public float forceMlp = 1f;

		// Token: 0x04002C95 RID: 11413
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4002C95")]
		public float upForce = 1f;

		// Token: 0x04002C96 RID: 11414
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4002C96")]
		public float weightFalloffSpeed = 1f;

		// Token: 0x04002C97 RID: 11415
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002C97")]
		public AnimationCurve weightFalloff;

		// Token: 0x04002C98 RID: 11416
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002C98")]
		public AnimationCurve explosionForceByDistance;

		// Token: 0x04002C99 RID: 11417
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x4002C99")]
		public AnimationCurve scale;

		// Token: 0x04002C9A RID: 11418
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x4002C9A")]
		private float weight;

		// Token: 0x04002C9B RID: 11419
		[FieldOffset(Offset = "0x4C")]
		[Token(Token = "0x4002C9B")]
		private Vector3 defaultScale;

		// Token: 0x04002C9C RID: 11420
		[FieldOffset(Offset = "0x58")]
		[Token(Token = "0x4002C9C")]
		private Rigidbody r;

		// Token: 0x04002C9D RID: 11421
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x4002C9D")]
		private FullBodyBipedIK ik;
	}
}
