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

namespace RootMotion.Demos
{
	// Token: 0x02000419 RID: 1049
	public class AnimatorController3rdPerson : MonoBehaviour
	{
		// Token: 0x06007F4E RID: 32590 RVA: 0x00208DE8 File Offset: 0x00206FE8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 623997, XrefRangeEnd = 624001, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe virtual void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), AnimatorController3rdPerson.NativeMethodInfoPtr_Start_Protected_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007F4F RID: 32591 RVA: 0x00208E38 File Offset: 0x00207038
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624001, XrefRangeEnd = 624013, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnAnimatorMove()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AnimatorController3rdPerson.NativeMethodInfoPtr_OnAnimatorMove_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007F50 RID: 32592 RVA: 0x00208E7C File Offset: 0x0020707C
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 624034, RefRangeEnd = 624035, XrefRangeStart = 624013, XrefRangeEnd = 624034, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe virtual void Move(Vector3 moveInput, bool isMoving, Vector3 faceDirection, Vector3 aimTarget)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref moveInput;
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref isMoving;
			ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref faceDirection;
			ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref aimTarget;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), AnimatorController3rdPerson.NativeMethodInfoPtr_Move_Public_Virtual_New_Void_Vector3_Boolean_Vector3_Vector3_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007F51 RID: 32593 RVA: 0x00208F14 File Offset: 0x00207114
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624035, XrefRangeEnd = 624036, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe AnimatorController3rdPerson()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AnimatorController3rdPerson.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007F52 RID: 32594 RVA: 0x00208F60 File Offset: 0x00207160
		// Note: this type is marked as 'beforefieldinit'.
		static AnimatorController3rdPerson()
		{
			Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "AnimatorController3rdPerson");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr);
			AnimatorController3rdPerson.NativeFieldInfoPtr_rotateSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "rotateSpeed");
			AnimatorController3rdPerson.NativeFieldInfoPtr_blendSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "blendSpeed");
			AnimatorController3rdPerson.NativeFieldInfoPtr_maxAngle = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "maxAngle");
			AnimatorController3rdPerson.NativeFieldInfoPtr_moveSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "moveSpeed");
			AnimatorController3rdPerson.NativeFieldInfoPtr_rootMotionWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "rootMotionWeight");
			AnimatorController3rdPerson.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "animator");
			AnimatorController3rdPerson.NativeFieldInfoPtr_moveBlend = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "moveBlend");
			AnimatorController3rdPerson.NativeFieldInfoPtr_moveInput = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "moveInput");
			AnimatorController3rdPerson.NativeFieldInfoPtr_velocity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, "velocity");
			AnimatorController3rdPerson.NativeMethodInfoPtr_Start_Protected_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, 100673002);
			AnimatorController3rdPerson.NativeMethodInfoPtr_OnAnimatorMove_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, 100673003);
			AnimatorController3rdPerson.NativeMethodInfoPtr_Move_Public_Virtual_New_Void_Vector3_Boolean_Vector3_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, 100673004);
			AnimatorController3rdPerson.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AnimatorController3rdPerson>.NativeClassPtr, 100673005);
		}

		// Token: 0x06007F53 RID: 32595 RVA: 0x0000351C File Offset: 0x0000171C
		public AnimatorController3rdPerson(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002B3F RID: 11071
		// (get) Token: 0x06007F54 RID: 32596 RVA: 0x00209094 File Offset: 0x00207294
		// (set) Token: 0x06007F55 RID: 32597 RVA: 0x002090BC File Offset: 0x002072BC
		public unsafe float rotateSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_rotateSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_rotateSpeed)) = value;
			}
		}

		// Token: 0x17002B40 RID: 11072
		// (get) Token: 0x06007F56 RID: 32598 RVA: 0x002090E0 File Offset: 0x002072E0
		// (set) Token: 0x06007F57 RID: 32599 RVA: 0x00209108 File Offset: 0x00207308
		public unsafe float blendSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_blendSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_blendSpeed)) = value;
			}
		}

		// Token: 0x17002B41 RID: 11073
		// (get) Token: 0x06007F58 RID: 32600 RVA: 0x0020912C File Offset: 0x0020732C
		// (set) Token: 0x06007F59 RID: 32601 RVA: 0x00209154 File Offset: 0x00207354
		public unsafe float maxAngle
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_maxAngle);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_maxAngle)) = value;
			}
		}

		// Token: 0x17002B42 RID: 11074
		// (get) Token: 0x06007F5A RID: 32602 RVA: 0x00209178 File Offset: 0x00207378
		// (set) Token: 0x06007F5B RID: 32603 RVA: 0x002091A0 File Offset: 0x002073A0
		public unsafe float moveSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_moveSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_moveSpeed)) = value;
			}
		}

		// Token: 0x17002B43 RID: 11075
		// (get) Token: 0x06007F5C RID: 32604 RVA: 0x002091C4 File Offset: 0x002073C4
		// (set) Token: 0x06007F5D RID: 32605 RVA: 0x002091EC File Offset: 0x002073EC
		public unsafe float rootMotionWeight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_rootMotionWeight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_rootMotionWeight)) = value;
			}
		}

		// Token: 0x17002B44 RID: 11076
		// (get) Token: 0x06007F5E RID: 32606 RVA: 0x00209210 File Offset: 0x00207410
		// (set) Token: 0x06007F5F RID: 32607 RVA: 0x00209244 File Offset: 0x00207444
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_animator);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Animator(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B45 RID: 11077
		// (get) Token: 0x06007F60 RID: 32608 RVA: 0x0020926C File Offset: 0x0020746C
		// (set) Token: 0x06007F61 RID: 32609 RVA: 0x00209294 File Offset: 0x00207494
		public unsafe Vector3 moveBlend
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_moveBlend);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_moveBlend)) = value;
			}
		}

		// Token: 0x17002B46 RID: 11078
		// (get) Token: 0x06007F62 RID: 32610 RVA: 0x002092B8 File Offset: 0x002074B8
		// (set) Token: 0x06007F63 RID: 32611 RVA: 0x002092E0 File Offset: 0x002074E0
		public unsafe Vector3 moveInput
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_moveInput);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_moveInput)) = value;
			}
		}

		// Token: 0x17002B47 RID: 11079
		// (get) Token: 0x06007F64 RID: 32612 RVA: 0x00209304 File Offset: 0x00207504
		// (set) Token: 0x06007F65 RID: 32613 RVA: 0x0020932C File Offset: 0x0020752C
		public unsafe Vector3 velocity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_velocity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AnimatorController3rdPerson.NativeFieldInfoPtr_velocity)) = value;
			}
		}

		// Token: 0x0400558A RID: 21898
		private static readonly IntPtr NativeFieldInfoPtr_rotateSpeed;

		// Token: 0x0400558B RID: 21899
		private static readonly IntPtr NativeFieldInfoPtr_blendSpeed;

		// Token: 0x0400558C RID: 21900
		private static readonly IntPtr NativeFieldInfoPtr_maxAngle;

		// Token: 0x0400558D RID: 21901
		private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;

		// Token: 0x0400558E RID: 21902
		private static readonly IntPtr NativeFieldInfoPtr_rootMotionWeight;

		// Token: 0x0400558F RID: 21903
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x04005590 RID: 21904
		private static readonly IntPtr NativeFieldInfoPtr_moveBlend;

		// Token: 0x04005591 RID: 21905
		private static readonly IntPtr NativeFieldInfoPtr_moveInput;

		// Token: 0x04005592 RID: 21906
		private static readonly IntPtr NativeFieldInfoPtr_velocity;

		// Token: 0x04005593 RID: 21907
		private static readonly IntPtr NativeMethodInfoPtr_Start_Protected_Virtual_New_Void_0;

		// Token: 0x04005594 RID: 21908
		private static readonly IntPtr NativeMethodInfoPtr_OnAnimatorMove_Private_Void_0;

		// Token: 0x04005595 RID: 21909
		private static readonly IntPtr NativeMethodInfoPtr_Move_Public_Virtual_New_Void_Vector3_Boolean_Vector3_Vector3_0;

		// Token: 0x04005596 RID: 21910
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
