using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x020004F6 RID: 1270
	[Token(Token = "0x20004F6")]
	public class ObiCapsuleShapeTracker : ObiShapeTracker
	{
		// Token: 0x06002CCE RID: 11470 RVA: 0x00062EF4 File Offset: 0x000610F4
		[Token(Token = "0x6002CCE")]
		[Address(RVA = "0x1094150", Offset = "0x1093150", VA = "0x181094150")]
		public ObiCapsuleShapeTracker(CapsuleCollider collider)
		{
			this.collider = collider;
			this.adaptor.is2D = false;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Capsule);
			this.oniShape = intPtr;
		}

		// Token: 0x06002CCF RID: 11471 RVA: 0x00062F28 File Offset: 0x00061128
		[Token(Token = "0x6002CCF")]
		[Address(RVA = "0x1094150", Offset = "0x1093150", VA = "0x181094150")]
		public ObiCapsuleShapeTracker(CharacterController collider)
		{
			this.collider = collider;
			this.adaptor.is2D = false;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Capsule);
			this.oniShape = intPtr;
		}

		// Token: 0x06002CD0 RID: 11472 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002CD0")]
		[Address(RVA = "0x1093DF0", Offset = "0x1092DF0", VA = "0x181093DF0", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x040035F4 RID: 13812
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x40035F4")]
		private int direction;

		// Token: 0x040035F5 RID: 13813
		[FieldOffset(Offset = "0x64")]
		[Token(Token = "0x40035F5")]
		private float radius;

		// Token: 0x040035F6 RID: 13814
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x40035F6")]
		private float height;

		// Token: 0x040035F7 RID: 13815
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x40035F7")]
		private Vector3 center;
	}
}
