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

namespace RootMotion.Demos
{
	// Token: 0x020003C4 RID: 964
	public class CharacterController3rdPerson : MonoBehaviour
	{
		// Token: 0x0600773C RID: 30524 RVA: 0x001E7098 File Offset: 0x001E5298
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 591877, XrefRangeEnd = 591883, 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: 0x0600773D RID: 30525 RVA: 0x001E70DC File Offset: 0x001E52DC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 591883, XrefRangeEnd = 591912, 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: 0x170028BB RID: 10427
		// (get) Token: 0x0600773E RID: 30526 RVA: 0x001E7120 File Offset: 0x001E5320
		public unsafe static Vector3 inputVector
		{
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 591912, XrefRangeEnd = 591918, 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: 0x170028BC RID: 10428
		// (get) Token: 0x0600773F RID: 30527 RVA: 0x001E7164 File Offset: 0x001E5364
		public unsafe static Vector3 inputVectorRaw
		{
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 591918, XrefRangeEnd = 591924, 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: 0x06007740 RID: 30528 RVA: 0x001E71A8 File Offset: 0x001E53A8
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06007741 RID: 30529 RVA: 0x001E71F4 File Offset: 0x001E53F4
		// 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, 100672306);
			CharacterController3rdPerson.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100672307);
			CharacterController3rdPerson.NativeMethodInfoPtr_get_inputVector_Private_Static_get_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100672308);
			CharacterController3rdPerson.NativeMethodInfoPtr_get_inputVectorRaw_Private_Static_get_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100672309);
			CharacterController3rdPerson.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterController3rdPerson>.NativeClassPtr, 100672310);
		}

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

		// Token: 0x170028B9 RID: 10425
		// (get) Token: 0x06007743 RID: 30531 RVA: 0x001E72B0 File Offset: 0x001E54B0
		// (set) Token: 0x06007744 RID: 30532 RVA: 0x001E72E4 File Offset: 0x001E54E4
		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: 0x170028BA RID: 10426
		// (get) Token: 0x06007745 RID: 30533 RVA: 0x001E730C File Offset: 0x001E550C
		// (set) Token: 0x06007746 RID: 30534 RVA: 0x001E7340 File Offset: 0x001E5540
		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: 0x04005007 RID: 20487
		private static readonly IntPtr NativeFieldInfoPtr_cam;

		// Token: 0x04005008 RID: 20488
		private static readonly IntPtr NativeFieldInfoPtr_animatorController;

		// Token: 0x04005009 RID: 20489
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x0400500A RID: 20490
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x0400500B RID: 20491
		private static readonly IntPtr NativeMethodInfoPtr_get_inputVector_Private_Static_get_Vector3_0;

		// Token: 0x0400500C RID: 20492
		private static readonly IntPtr NativeMethodInfoPtr_get_inputVectorRaw_Private_Static_get_Vector3_0;

		// Token: 0x0400500D RID: 20493
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
