using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.FinalIK
{
	// Token: 0x020003F2 RID: 1010
	[Token(Token = "0x20003F2")]
	[Serializable]
	public abstract class Constraint
	{
		// Token: 0x1700020D RID: 525
		// (get) Token: 0x0600243C RID: 9276 RVA: 0x00052DD4 File Offset: 0x00050FD4
		[Token(Token = "0x1700020D")]
		public bool isValid
		{
			[Token(Token = "0x600243C")]
			[Address(RVA = "0xE90970", Offset = "0xE8F770", VA = "0x180E90970")]
			get
			{
				Transform transform = this.transform;
				int num = 0;
				return transform != num;
			}
		}

		// Token: 0x0600243D RID: 9277
		[Token(Token = "0x600243D")]
		[Address(Slot = "4")]
		public abstract void UpdateConstraint();

		// Token: 0x0600243E RID: 9278 RVA: 0x00052DF4 File Offset: 0x00050FF4
		[Token(Token = "0x600243E")]
		[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
		protected Constraint()
		{
		}

		// Token: 0x04002DFD RID: 11773
		[FieldOffset(Offset = "0x10")]
		[Token(Token = "0x4002DFD")]
		public Transform transform;

		// Token: 0x04002DFE RID: 11774
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002DFE")]
		public float weight;
	}
}
