using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x0200049E RID: 1182
	[Token(Token = "0x200049E")]
	public class ObiCapsuleShapeTracker : ObiShapeTracker
	{
		// Token: 0x06002A05 RID: 10757 RVA: 0x0005BB30 File Offset: 0x00059D30
		[Token(Token = "0x6002A05")]
		[Address(RVA = "0x1000E20", Offset = "0xFFFC20", VA = "0x181000E20")]
		public ObiCapsuleShapeTracker(CapsuleCollider collider)
		{
			this.collider = collider;
			this.adaptor.is2D = false;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Capsule);
			this.oniShape = intPtr;
		}

		// Token: 0x06002A06 RID: 10758 RVA: 0x0005BB64 File Offset: 0x00059D64
		[Token(Token = "0x6002A06")]
		[Address(RVA = "0x1000E20", Offset = "0xFFFC20", VA = "0x181000E20")]
		public ObiCapsuleShapeTracker(CharacterController collider)
		{
			this.collider = collider;
			this.adaptor.is2D = false;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Capsule);
			this.oniShape = intPtr;
		}

		// Token: 0x06002A07 RID: 10759 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002A07")]
		[Address(RVA = "0x1000AC0", Offset = "0xFFF8C0", VA = "0x181000AC0", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0400330A RID: 13066
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x400330A")]
		private int direction;

		// Token: 0x0400330B RID: 13067
		[FieldOffset(Offset = "0x64")]
		[Token(Token = "0x400330B")]
		private float radius;

		// Token: 0x0400330C RID: 13068
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x400330C")]
		private float height;

		// Token: 0x0400330D RID: 13069
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x400330D")]
		private Vector3 center;
	}
}
