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

namespace RootMotion.Demos
{
	// Token: 0x020003F2 RID: 1010
	public class CharacterAnimationSimple : CharacterAnimationBase
	{
		// Token: 0x06007A2F RID: 31279 RVA: 0x001F1EE8 File Offset: 0x001F00E8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593398, XrefRangeEnd = 593403, 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: 0x06007A30 RID: 31280 RVA: 0x001F1F38 File Offset: 0x001F0138
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593403, XrefRangeEnd = 593405, 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: 0x06007A31 RID: 31281 RVA: 0x001F1F94 File Offset: 0x001F0194
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593405, XrefRangeEnd = 593413, 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: 0x06007A32 RID: 31282 RVA: 0x001F1FD8 File Offset: 0x001F01D8
		[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: 0x06007A33 RID: 31283 RVA: 0x001F2024 File Offset: 0x001F0224
		// 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, 100672485);
			CharacterAnimationSimple.NativeMethodInfoPtr_GetPivotPoint_Public_Virtual_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, 100672486);
			CharacterAnimationSimple.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, 100672487);
			CharacterAnimationSimple.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CharacterAnimationSimple>.NativeClassPtr, 100672488);
		}

		// Token: 0x06007A34 RID: 31284 RVA: 0x001F20F4 File Offset: 0x001F02F4
		public CharacterAnimationSimple(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170029B8 RID: 10680
		// (get) Token: 0x06007A35 RID: 31285 RVA: 0x001F2100 File Offset: 0x001F0300
		// (set) Token: 0x06007A36 RID: 31286 RVA: 0x001F2134 File Offset: 0x001F0334
		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: 0x170029B9 RID: 10681
		// (get) Token: 0x06007A37 RID: 31287 RVA: 0x001F215C File Offset: 0x001F035C
		// (set) Token: 0x06007A38 RID: 31288 RVA: 0x001F2184 File Offset: 0x001F0384
		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: 0x170029BA RID: 10682
		// (get) Token: 0x06007A39 RID: 31289 RVA: 0x001F21A8 File Offset: 0x001F03A8
		// (set) Token: 0x06007A3A RID: 31290 RVA: 0x001F21DC File Offset: 0x001F03DC
		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: 0x170029BB RID: 10683
		// (get) Token: 0x06007A3B RID: 31291 RVA: 0x001F2204 File Offset: 0x001F0404
		// (set) Token: 0x06007A3C RID: 31292 RVA: 0x001F2238 File Offset: 0x001F0438
		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: 0x040051AC RID: 20908
		private static readonly IntPtr NativeFieldInfoPtr_characterController;

		// Token: 0x040051AD RID: 20909
		private static readonly IntPtr NativeFieldInfoPtr_pivotOffset;

		// Token: 0x040051AE RID: 20910
		private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;

		// Token: 0x040051AF RID: 20911
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x040051B0 RID: 20912
		private static readonly IntPtr NativeMethodInfoPtr_Start_Protected_Virtual_Void_0;

		// Token: 0x040051B1 RID: 20913
		private static readonly IntPtr NativeMethodInfoPtr_GetPivotPoint_Public_Virtual_Vector3_0;

		// Token: 0x040051B2 RID: 20914
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x040051B3 RID: 20915
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
