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

namespace RootMotion.Demos
{
	// Token: 0x0200044A RID: 1098
	public class CharacterAnimationSimple : CharacterAnimationBase
	{
		// Token: 0x06008282 RID: 33410 RVA: 0x00214C24 File Offset: 0x00212E24
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625712, XrefRangeEnd = 625717, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override 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), CharacterAnimationSimple.NativeMethodInfoPtr_Start_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008283 RID: 33411 RVA: 0x00214C74 File Offset: 0x00212E74
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625717, XrefRangeEnd = 625719, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override Vector3 GetPivotPoint()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), CharacterAnimationSimple.NativeMethodInfoPtr_GetPivotPoint_Public_Virtual_Vector3_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x06008284 RID: 33412 RVA: 0x00214CD0 File Offset: 0x00212ED0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625719, XrefRangeEnd = 625727, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CharacterAnimationSimple.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x06008286 RID: 33414 RVA: 0x00214D60 File Offset: 0x00212F60
		// Note: this type is marked as 'beforefieldinit'.
		static CharacterAnimationSimple()
		{
			Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "CharacterAnimationSimple");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr);
			CharacterAnimationSimple.NativeFieldInfoPtr_characterController = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, "characterController");
			CharacterAnimationSimple.NativeFieldInfoPtr_pivotOffset = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, "pivotOffset");
			CharacterAnimationSimple.NativeFieldInfoPtr_moveSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, "moveSpeed");
			CharacterAnimationSimple.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, "animator");
			CharacterAnimationSimple.NativeMethodInfoPtr_Start_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, 100673198);
			CharacterAnimationSimple.NativeMethodInfoPtr_GetPivotPoint_Public_Virtual_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, 100673199);
			CharacterAnimationSimple.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, 100673200);
			CharacterAnimationSimple.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, 100673201);
		}

		// Token: 0x06008287 RID: 33415 RVA: 0x00214E30 File Offset: 0x00213030
		public CharacterAnimationSimple(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002C53 RID: 11347
		// (get) Token: 0x06008288 RID: 33416 RVA: 0x00214E3C File Offset: 0x0021303C
		// (set) Token: 0x06008289 RID: 33417 RVA: 0x00214E70 File Offset: 0x00213070
		public unsafe CharacterThirdPerson characterController
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterAnimationSimple.NativeFieldInfoPtr_characterController);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new CharacterThirdPerson(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterAnimationSimple.NativeFieldInfoPtr_characterController), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002C54 RID: 11348
		// (get) Token: 0x0600828A RID: 33418 RVA: 0x00214E98 File Offset: 0x00213098
		// (set) Token: 0x0600828B RID: 33419 RVA: 0x00214EC0 File Offset: 0x002130C0
		public unsafe float pivotOffset
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterAnimationSimple.NativeFieldInfoPtr_pivotOffset);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterAnimationSimple.NativeFieldInfoPtr_pivotOffset)) = value;
			}
		}

		// Token: 0x17002C55 RID: 11349
		// (get) Token: 0x0600828C RID: 33420 RVA: 0x00214EE4 File Offset: 0x002130E4
		// (set) Token: 0x0600828D RID: 33421 RVA: 0x00214F18 File Offset: 0x00213118
		public unsafe AnimationCurve moveSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterAnimationSimple.NativeFieldInfoPtr_moveSpeed);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new AnimationCurve(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterAnimationSimple.NativeFieldInfoPtr_moveSpeed), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002C56 RID: 11350
		// (get) Token: 0x0600828E RID: 33422 RVA: 0x00214F40 File Offset: 0x00213140
		// (set) Token: 0x0600828F RID: 33423 RVA: 0x00214F74 File Offset: 0x00213174
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CharacterAnimationSimple.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(CharacterAnimationSimple.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04005755 RID: 22357
		private static readonly IntPtr NativeFieldInfoPtr_characterController;

		// Token: 0x04005756 RID: 22358
		private static readonly IntPtr NativeFieldInfoPtr_pivotOffset;

		// Token: 0x04005757 RID: 22359
		private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;

		// Token: 0x04005758 RID: 22360
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x04005759 RID: 22361
		private static readonly IntPtr NativeMethodInfoPtr_Start_Protected_Virtual_Void_0;

		// Token: 0x0400575A RID: 22362
		private static readonly IntPtr NativeMethodInfoPtr_GetPivotPoint_Public_Virtual_Vector3_0;

		// Token: 0x0400575B RID: 22363
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x0400575C RID: 22364
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
