using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000308 RID: 776
[Token(Token = "0x2000308")]
[Serializable]
public class NobetaBoneController
{
	// Token: 0x170001AA RID: 426
	// (get) Token: 0x06001EBF RID: 7871 RVA: 0x0004A48C File Offset: 0x0004868C
	[Token(Token = "0x170001AA")]
	public DynamicBoneCollider Collider
	{
		[Token(Token = "0x6001EBF")]
		[Address(RVA = "0x2B4380", Offset = "0x2B3180", VA = "0x1802B4380")]
		get
		{
			return this.boneCollider;
		}
	}

	// Token: 0x06001EC0 RID: 7872 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001EC0")]
	[Address(RVA = "0xECC0C0", Offset = "0xECAEC0", VA = "0x180ECC0C0")]
	public void UpdateValue(float value)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001EC1 RID: 7873 RVA: 0x0004A4A0 File Offset: 0x000486A0
	[Token(Token = "0x6001EC1")]
	[Address(RVA = "0xECC050", Offset = "0xECAE50", VA = "0x180ECC050")]
	public void Enable(bool enable)
	{
		DynamicBone[] array = this.bones;
		int num = 0;
		int length = array.Length;
		if (num < length)
		{
			array[num].enabled = enable;
			num++;
		}
	}

	// Token: 0x06001EC2 RID: 7874 RVA: 0x0004A4D8 File Offset: 0x000486D8
	[Token(Token = "0x6001EC2")]
	[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
	public NobetaBoneController()
	{
	}

	// Token: 0x040028AE RID: 10414
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x40028AE")]
	[SerializeField]
	private float colliderRadius;

	// Token: 0x040028AF RID: 10415
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40028AF")]
	[SerializeField]
	private DynamicBoneCollider boneCollider;

	// Token: 0x040028B0 RID: 10416
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40028B0")]
	[SerializeField]
	private DynamicBone[] bones;
}
