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

namespace RootMotion.Demos
{
	// Token: 0x020003D8 RID: 984
	public class MotionAbsorbCharacter : MonoBehaviour
	{
		// Token: 0x0600789B RID: 30875 RVA: 0x001EBFD8 File Offset: 0x001EA1D8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592553, XrefRangeEnd = 592559, 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: 0x0600789C RID: 30876 RVA: 0x001EC01C File Offset: 0x001EA21C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592559, XrefRangeEnd = 592563, 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: 0x0600789D RID: 30877 RVA: 0x001EC060 File Offset: 0x001EA260
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592563, XrefRangeEnd = 592571, 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: 0x0600789E RID: 30878 RVA: 0x001EC0A4 File Offset: 0x001EA2A4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592571, XrefRangeEnd = 592572, 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: 0x0600789F RID: 30879 RVA: 0x001EC0F0 File Offset: 0x001EA2F0
		// 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, 100672379);
			MotionAbsorbCharacter.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, 100672380);
			MotionAbsorbCharacter.NativeMethodInfoPtr_SwingStart_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, 100672381);
			MotionAbsorbCharacter.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionAbsorbCharacter>.NativeClassPtr, 100672382);
		}

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

		// Token: 0x17002935 RID: 10549
		// (get) Token: 0x060078A1 RID: 30881 RVA: 0x001EC210 File Offset: 0x001EA410
		// (set) Token: 0x060078A2 RID: 30882 RVA: 0x001EC244 File Offset: 0x001EA444
		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: 0x17002936 RID: 10550
		// (get) Token: 0x060078A3 RID: 30883 RVA: 0x001EC26C File Offset: 0x001EA46C
		// (set) Token: 0x060078A4 RID: 30884 RVA: 0x001EC2A0 File Offset: 0x001EA4A0
		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: 0x17002937 RID: 10551
		// (get) Token: 0x060078A5 RID: 30885 RVA: 0x001EC2C8 File Offset: 0x001EA4C8
		// (set) Token: 0x060078A6 RID: 30886 RVA: 0x001EC2FC File Offset: 0x001EA4FC
		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: 0x17002938 RID: 10552
		// (get) Token: 0x060078A7 RID: 30887 RVA: 0x001EC324 File Offset: 0x001EA524
		// (set) Token: 0x060078A8 RID: 30888 RVA: 0x001EC34C File Offset: 0x001EA54C
		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: 0x17002939 RID: 10553
		// (get) Token: 0x060078A9 RID: 30889 RVA: 0x001EC370 File Offset: 0x001EA570
		// (set) Token: 0x060078AA RID: 30890 RVA: 0x001EC3A4 File Offset: 0x001EA5A4
		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: 0x1700293A RID: 10554
		// (get) Token: 0x060078AB RID: 30891 RVA: 0x001EC3CC File Offset: 0x001EA5CC
		// (set) Token: 0x060078AC RID: 30892 RVA: 0x001EC3F4 File Offset: 0x001EA5F4
		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: 0x1700293B RID: 10555
		// (get) Token: 0x060078AD RID: 30893 RVA: 0x001EC418 File Offset: 0x001EA618
		// (set) Token: 0x060078AE RID: 30894 RVA: 0x001EC440 File Offset: 0x001EA640
		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: 0x1700293C RID: 10556
		// (get) Token: 0x060078AF RID: 30895 RVA: 0x001EC464 File Offset: 0x001EA664
		// (set) Token: 0x060078B0 RID: 30896 RVA: 0x001EC498 File Offset: 0x001EA698
		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: 0x040050C7 RID: 20679
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x040050C8 RID: 20680
		private static readonly IntPtr NativeFieldInfoPtr_motionAbsorb;

		// Token: 0x040050C9 RID: 20681
		private static readonly IntPtr NativeFieldInfoPtr_cube;

		// Token: 0x040050CA RID: 20682
		private static readonly IntPtr NativeFieldInfoPtr_cubeRandomPosition;

		// Token: 0x040050CB RID: 20683
		private static readonly IntPtr NativeFieldInfoPtr_motionAbsorbWeight;

		// Token: 0x040050CC RID: 20684
		private static readonly IntPtr NativeFieldInfoPtr_cubeDefaultPosition;

		// Token: 0x040050CD RID: 20685
		private static readonly IntPtr NativeFieldInfoPtr_info;

		// Token: 0x040050CE RID: 20686
		private static readonly IntPtr NativeFieldInfoPtr_cubeRigidbody;

		// Token: 0x040050CF RID: 20687
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040050D0 RID: 20688
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x040050D1 RID: 20689
		private static readonly IntPtr NativeMethodInfoPtr_SwingStart_Private_Void_0;

		// Token: 0x040050D2 RID: 20690
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
