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

namespace RootMotion.Demos
{
	// Token: 0x02000430 RID: 1072
	public class MotionAbsorbCharacter : MonoBehaviour
	{
		// Token: 0x060080EE RID: 33006 RVA: 0x0020ED14 File Offset: 0x0020CF14
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624859, XrefRangeEnd = 624865, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MotionAbsorbCharacter.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060080EF RID: 33007 RVA: 0x0020ED58 File Offset: 0x0020CF58
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624865, XrefRangeEnd = 624869, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MotionAbsorbCharacter.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060080F0 RID: 33008 RVA: 0x0020ED9C File Offset: 0x0020CF9C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624869, XrefRangeEnd = 624877, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void SwingStart()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MotionAbsorbCharacter.NativeMethodInfoPtr_SwingStart_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x060080F2 RID: 33010 RVA: 0x0020EE2C File Offset: 0x0020D02C
		// Note: this type is marked as 'beforefieldinit'.
		static MotionAbsorbCharacter()
		{
			Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "MotionAbsorbCharacter");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr);
			MotionAbsorbCharacter.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "animator");
			MotionAbsorbCharacter.NativeFieldInfoPtr_motionAbsorb = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "motionAbsorb");
			MotionAbsorbCharacter.NativeFieldInfoPtr_cube = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "cube");
			MotionAbsorbCharacter.NativeFieldInfoPtr_cubeRandomPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "cubeRandomPosition");
			MotionAbsorbCharacter.NativeFieldInfoPtr_motionAbsorbWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "motionAbsorbWeight");
			MotionAbsorbCharacter.NativeFieldInfoPtr_cubeDefaultPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "cubeDefaultPosition");
			MotionAbsorbCharacter.NativeFieldInfoPtr_info = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "info");
			MotionAbsorbCharacter.NativeFieldInfoPtr_cubeRigidbody = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, "cubeRigidbody");
			MotionAbsorbCharacter.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, 100673092);
			MotionAbsorbCharacter.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, 100673093);
			MotionAbsorbCharacter.NativeMethodInfoPtr_SwingStart_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, 100673094);
			MotionAbsorbCharacter.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, 100673095);
		}

		// Token: 0x060080F3 RID: 33011 RVA: 0x0000351C File Offset: 0x0000171C
		public MotionAbsorbCharacter(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002BD0 RID: 11216
		// (get) Token: 0x060080F4 RID: 33012 RVA: 0x0020EF4C File Offset: 0x0020D14C
		// (set) Token: 0x060080F5 RID: 33013 RVA: 0x0020EF80 File Offset: 0x0020D180
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.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(MotionAbsorbCharacter.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002BD1 RID: 11217
		// (get) Token: 0x060080F6 RID: 33014 RVA: 0x0020EFA8 File Offset: 0x0020D1A8
		// (set) Token: 0x060080F7 RID: 33015 RVA: 0x0020EFDC File Offset: 0x0020D1DC
		public unsafe MotionAbsorb motionAbsorb
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_motionAbsorb);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new MotionAbsorb(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_motionAbsorb), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002BD2 RID: 11218
		// (get) Token: 0x060080F8 RID: 33016 RVA: 0x0020F004 File Offset: 0x0020D204
		// (set) Token: 0x060080F9 RID: 33017 RVA: 0x0020F038 File Offset: 0x0020D238
		public unsafe Transform cube
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cube);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Transform(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cube), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002BD3 RID: 11219
		// (get) Token: 0x060080FA RID: 33018 RVA: 0x0020F060 File Offset: 0x0020D260
		// (set) Token: 0x060080FB RID: 33019 RVA: 0x0020F088 File Offset: 0x0020D288
		public unsafe float cubeRandomPosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cubeRandomPosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cubeRandomPosition)) = value;
			}
		}

		// Token: 0x17002BD4 RID: 11220
		// (get) Token: 0x060080FC RID: 33020 RVA: 0x0020F0AC File Offset: 0x0020D2AC
		// (set) Token: 0x060080FD RID: 33021 RVA: 0x0020F0E0 File Offset: 0x0020D2E0
		public unsafe AnimationCurve motionAbsorbWeight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_motionAbsorbWeight);
				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(MotionAbsorbCharacter.NativeFieldInfoPtr_motionAbsorbWeight), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002BD5 RID: 11221
		// (get) Token: 0x060080FE RID: 33022 RVA: 0x0020F108 File Offset: 0x0020D308
		// (set) Token: 0x060080FF RID: 33023 RVA: 0x0020F130 File Offset: 0x0020D330
		public unsafe Vector3 cubeDefaultPosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cubeDefaultPosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cubeDefaultPosition)) = value;
			}
		}

		// Token: 0x17002BD6 RID: 11222
		// (get) Token: 0x06008100 RID: 33024 RVA: 0x0020F154 File Offset: 0x0020D354
		// (set) Token: 0x06008101 RID: 33025 RVA: 0x0020F17C File Offset: 0x0020D37C
		public unsafe AnimatorStateInfo info
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_info);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_info)) = value;
			}
		}

		// Token: 0x17002BD7 RID: 11223
		// (get) Token: 0x06008102 RID: 33026 RVA: 0x0020F1A0 File Offset: 0x0020D3A0
		// (set) Token: 0x06008103 RID: 33027 RVA: 0x0020F1D4 File Offset: 0x0020D3D4
		public unsafe Rigidbody cubeRigidbody
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cubeRigidbody);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Rigidbody(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionAbsorbCharacter.NativeFieldInfoPtr_cubeRigidbody), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04005670 RID: 22128
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x04005671 RID: 22129
		private static readonly IntPtr NativeFieldInfoPtr_motionAbsorb;

		// Token: 0x04005672 RID: 22130
		private static readonly IntPtr NativeFieldInfoPtr_cube;

		// Token: 0x04005673 RID: 22131
		private static readonly IntPtr NativeFieldInfoPtr_cubeRandomPosition;

		// Token: 0x04005674 RID: 22132
		private static readonly IntPtr NativeFieldInfoPtr_motionAbsorbWeight;

		// Token: 0x04005675 RID: 22133
		private static readonly IntPtr NativeFieldInfoPtr_cubeDefaultPosition;

		// Token: 0x04005676 RID: 22134
		private static readonly IntPtr NativeFieldInfoPtr_info;

		// Token: 0x04005677 RID: 22135
		private static readonly IntPtr NativeFieldInfoPtr_cubeRigidbody;

		// Token: 0x04005678 RID: 22136
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04005679 RID: 22137
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x0400567A RID: 22138
		private static readonly IntPtr NativeMethodInfoPtr_SwingStart_Private_Void_0;

		// Token: 0x0400567B RID: 22139
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
