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

namespace RootMotion.Demos
{
	// Token: 0x0200041C RID: 1052
	public class CharacterController3rdPerson : MonoBehaviour
	{
		// Token: 0x06007F8F RID: 32655 RVA: 0x00209DD4 File Offset: 0x00207FD4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624182, XrefRangeEnd = 624188, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CharacterController3rdPerson.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007F90 RID: 32656 RVA: 0x00209E18 File Offset: 0x00208018
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624188, XrefRangeEnd = 624218, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CharacterController3rdPerson.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x17002B56 RID: 11094
		// (get) Token: 0x06007F91 RID: 32657 RVA: 0x00209E5C File Offset: 0x0020805C
		public unsafe static Vector3 inputVector
		{
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624218, XrefRangeEnd = 624224, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CharacterController3rdPerson.NativeMethodInfoPtr_get_inputVector_Private_Static_get_Vector3_0, 0, (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x17002B57 RID: 11095
		// (get) Token: 0x06007F92 RID: 32658 RVA: 0x00209EA0 File Offset: 0x002080A0
		public unsafe static Vector3 inputVectorRaw
		{
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624224, XrefRangeEnd = 624230, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CharacterController3rdPerson.NativeMethodInfoPtr_get_inputVectorRaw_Private_Static_get_Vector3_0, 0, (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x06007F93 RID: 32659 RVA: 0x00209EE4 File Offset: 0x002080E4
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe CharacterController3rdPerson()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CharacterController3rdPerson.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007F94 RID: 32660 RVA: 0x00209F30 File Offset: 0x00208130
		// Note: this type is marked as 'beforefieldinit'.
		static CharacterController3rdPerson()
		{
			Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "CharacterController3rdPerson");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr);
			CharacterController3rdPerson.NativeFieldInfoPtr_cam = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, "cam");
			CharacterController3rdPerson.NativeFieldInfoPtr_animatorController = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, "animatorController");
			CharacterController3rdPerson.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100673019);
			CharacterController3rdPerson.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100673020);
			CharacterController3rdPerson.NativeMethodInfoPtr_get_inputVector_Private_Static_get_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100673021);
			CharacterController3rdPerson.NativeMethodInfoPtr_get_inputVectorRaw_Private_Static_get_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100673022);
			CharacterController3rdPerson.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100673023);
		}

		// Token: 0x06007F95 RID: 32661 RVA: 0x0000351C File Offset: 0x0000171C
		public CharacterController3rdPerson(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002B54 RID: 11092
		// (get) Token: 0x06007F96 RID: 32662 RVA: 0x00209FEC File Offset: 0x002081EC
		// (set) Token: 0x06007F97 RID: 32663 RVA: 0x0020A020 File Offset: 0x00208220
		public unsafe CameraController cam
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterController3rdPerson.NativeFieldInfoPtr_cam);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new CameraController(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterController3rdPerson.NativeFieldInfoPtr_cam), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B55 RID: 11093
		// (get) Token: 0x06007F98 RID: 32664 RVA: 0x0020A048 File Offset: 0x00208248
		// (set) Token: 0x06007F99 RID: 32665 RVA: 0x0020A07C File Offset: 0x0020827C
		public unsafe AnimatorController3rdPerson animatorController
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterController3rdPerson.NativeFieldInfoPtr_animatorController);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new AnimatorController3rdPerson(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterController3rdPerson.NativeFieldInfoPtr_animatorController), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x040055B0 RID: 21936
		private static readonly IntPtr NativeFieldInfoPtr_cam;

		// Token: 0x040055B1 RID: 21937
		private static readonly IntPtr NativeFieldInfoPtr_animatorController;

		// Token: 0x040055B2 RID: 21938
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040055B3 RID: 21939
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x040055B4 RID: 21940
		private static readonly IntPtr NativeMethodInfoPtr_get_inputVector_Private_Static_get_Vector3_0;

		// Token: 0x040055B5 RID: 21941
		private static readonly IntPtr NativeMethodInfoPtr_get_inputVectorRaw_Private_Static_get_Vector3_0;

		// Token: 0x040055B6 RID: 21942
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
