using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x02000452 RID: 1106
	public class UserControlAI : UserControlThirdPerson
	{
		// Token: 0x06008374 RID: 33652 RVA: 0x002183DC File Offset: 0x002165DC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626204, XrefRangeEnd = 626217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UserControlAI.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008375 RID: 33653 RVA: 0x0021842C File Offset: 0x0021662C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626217, XrefRangeEnd = 626218, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe UserControlAI()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UserControlAI.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008376 RID: 33654 RVA: 0x00218478 File Offset: 0x00216678
		// Note: this type is marked as 'beforefieldinit'.
		static UserControlAI()
		{
			Il2CppClassPointerStore<UserControlAI>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "UserControlAI");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr);
			UserControlAI.NativeFieldInfoPtr_moveTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, "moveTarget");
			UserControlAI.NativeFieldInfoPtr_stoppingDistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, "stoppingDistance");
			UserControlAI.NativeFieldInfoPtr_stoppingThreshold = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, "stoppingThreshold");
			UserControlAI.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, 100673246);
			UserControlAI.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, 100673247);
		}

		// Token: 0x06008377 RID: 33655 RVA: 0x0021310C File Offset: 0x0021130C
		public UserControlAI(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002CB1 RID: 11441
		// (get) Token: 0x06008378 RID: 33656 RVA: 0x0021850C File Offset: 0x0021670C
		// (set) Token: 0x06008379 RID: 33657 RVA: 0x00218540 File Offset: 0x00216740
		public unsafe Transform moveTarget
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_moveTarget);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Transform(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_moveTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002CB2 RID: 11442
		// (get) Token: 0x0600837A RID: 33658 RVA: 0x00218568 File Offset: 0x00216768
		// (set) Token: 0x0600837B RID: 33659 RVA: 0x00218590 File Offset: 0x00216790
		public unsafe float stoppingDistance
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingDistance);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingDistance)) = value;
			}
		}

		// Token: 0x17002CB3 RID: 11443
		// (get) Token: 0x0600837C RID: 33660 RVA: 0x002185B4 File Offset: 0x002167B4
		// (set) Token: 0x0600837D RID: 33661 RVA: 0x002185DC File Offset: 0x002167DC
		public unsafe float stoppingThreshold
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingThreshold);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingThreshold)) = value;
			}
		}

		// Token: 0x040057F2 RID: 22514
		private static readonly IntPtr NativeFieldInfoPtr_moveTarget;

		// Token: 0x040057F3 RID: 22515
		private static readonly IntPtr NativeFieldInfoPtr_stoppingDistance;

		// Token: 0x040057F4 RID: 22516
		private static readonly IntPtr NativeFieldInfoPtr_stoppingThreshold;

		// Token: 0x040057F5 RID: 22517
		private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

		// Token: 0x040057F6 RID: 22518
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
