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

namespace Obi
{
	// Token: 0x020004E9 RID: 1257
	public class ObiAnimatorController : MonoBehaviour
	{
		// Token: 0x06008FE1 RID: 36833 RVA: 0x002502AC File Offset: 0x0024E4AC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611516, XrefRangeEnd = 611520, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Awake()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiAnimatorController.NativeMethodInfoPtr_Awake_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008FE2 RID: 36834 RVA: 0x002502F0 File Offset: 0x0024E4F0
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 611529, RefRangeEnd = 611531, XrefRangeStart = 611520, XrefRangeEnd = 611529, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void UpdateAnimation()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiAnimatorController.NativeMethodInfoPtr_UpdateAnimation_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008FE3 RID: 36835 RVA: 0x00250334 File Offset: 0x0024E534
		[CallerCount(0)]
		public unsafe void ResetUpdateFlag()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiAnimatorController.NativeMethodInfoPtr_ResetUpdateFlag_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008FE4 RID: 36836 RVA: 0x00250378 File Offset: 0x0024E578
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611531, XrefRangeEnd = 611538, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void ResumeAutonomousUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiAnimatorController.NativeMethodInfoPtr_ResumeAutonomousUpdate_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008FE5 RID: 36837 RVA: 0x002503BC File Offset: 0x0024E5BC
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe ObiAnimatorController()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiAnimatorController.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008FE6 RID: 36838 RVA: 0x00250408 File Offset: 0x0024E608
		// Note: this type is marked as 'beforefieldinit'.
		static ObiAnimatorController()
		{
			Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiAnimatorController");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr);
			ObiAnimatorController.NativeFieldInfoPtr_updatedThisStep = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, "updatedThisStep");
			ObiAnimatorController.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, "animator");
			ObiAnimatorController.NativeMethodInfoPtr_Awake_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100674445);
			ObiAnimatorController.NativeMethodInfoPtr_UpdateAnimation_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100674446);
			ObiAnimatorController.NativeMethodInfoPtr_ResetUpdateFlag_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100674447);
			ObiAnimatorController.NativeMethodInfoPtr_ResumeAutonomousUpdate_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100674448);
			ObiAnimatorController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100674449);
		}

		// Token: 0x06008FE7 RID: 36839 RVA: 0x0000351C File Offset: 0x0000171C
		public ObiAnimatorController(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170030D1 RID: 12497
		// (get) Token: 0x06008FE8 RID: 36840 RVA: 0x002504C4 File Offset: 0x0024E6C4
		// (set) Token: 0x06008FE9 RID: 36841 RVA: 0x002504EC File Offset: 0x0024E6EC
		public unsafe bool updatedThisStep
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiAnimatorController.NativeFieldInfoPtr_updatedThisStep);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiAnimatorController.NativeFieldInfoPtr_updatedThisStep)) = value;
			}
		}

		// Token: 0x170030D2 RID: 12498
		// (get) Token: 0x06008FEA RID: 36842 RVA: 0x00250510 File Offset: 0x0024E710
		// (set) Token: 0x06008FEB RID: 36843 RVA: 0x00250544 File Offset: 0x0024E744
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiAnimatorController.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(ObiAnimatorController.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04005FF5 RID: 24565
		private static readonly IntPtr NativeFieldInfoPtr_updatedThisStep;

		// Token: 0x04005FF6 RID: 24566
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x04005FF7 RID: 24567
		private static readonly IntPtr NativeMethodInfoPtr_Awake_Public_Void_0;

		// Token: 0x04005FF8 RID: 24568
		private static readonly IntPtr NativeMethodInfoPtr_UpdateAnimation_Public_Void_0;

		// Token: 0x04005FF9 RID: 24569
		private static readonly IntPtr NativeMethodInfoPtr_ResetUpdateFlag_Public_Void_0;

		// Token: 0x04005FFA RID: 24570
		private static readonly IntPtr NativeMethodInfoPtr_ResumeAutonomousUpdate_Public_Void_0;

		// Token: 0x04005FFB RID: 24571
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
