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

namespace Obi
{
	// Token: 0x02000541 RID: 1345
	public class ObiAnimatorController : MonoBehaviour
	{
		// Token: 0x06009834 RID: 38964 RVA: 0x00272FE8 File Offset: 0x002711E8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 643826, XrefRangeEnd = 643830, 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: 0x06009835 RID: 38965 RVA: 0x0027302C File Offset: 0x0027122C
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 643839, RefRangeEnd = 643841, XrefRangeStart = 643830, XrefRangeEnd = 643839, 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: 0x06009836 RID: 38966 RVA: 0x00273070 File Offset: 0x00271270
		[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: 0x06009837 RID: 38967 RVA: 0x002730B4 File Offset: 0x002712B4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 643841, XrefRangeEnd = 643848, 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: 0x06009838 RID: 38968 RVA: 0x002730F8 File Offset: 0x002712F8
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06009839 RID: 38969 RVA: 0x00273144 File Offset: 0x00271344
		// 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, 100675158);
			ObiAnimatorController.NativeMethodInfoPtr_UpdateAnimation_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100675159);
			ObiAnimatorController.NativeMethodInfoPtr_ResetUpdateFlag_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100675160);
			ObiAnimatorController.NativeMethodInfoPtr_ResumeAutonomousUpdate_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100675161);
			ObiAnimatorController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAnimatorController>.NativeClassPtr, 100675162);
		}

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

		// Token: 0x1700336C RID: 13164
		// (get) Token: 0x0600983B RID: 38971 RVA: 0x00273200 File Offset: 0x00271400
		// (set) Token: 0x0600983C RID: 38972 RVA: 0x00273228 File Offset: 0x00271428
		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: 0x1700336D RID: 13165
		// (get) Token: 0x0600983D RID: 38973 RVA: 0x0027324C File Offset: 0x0027144C
		// (set) Token: 0x0600983E RID: 38974 RVA: 0x00273280 File Offset: 0x00271480
		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: 0x0400659E RID: 26014
		private static readonly IntPtr NativeFieldInfoPtr_updatedThisStep;

		// Token: 0x0400659F RID: 26015
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x040065A0 RID: 26016
		private static readonly IntPtr NativeMethodInfoPtr_Awake_Public_Void_0;

		// Token: 0x040065A1 RID: 26017
		private static readonly IntPtr NativeMethodInfoPtr_UpdateAnimation_Public_Void_0;

		// Token: 0x040065A2 RID: 26018
		private static readonly IntPtr NativeMethodInfoPtr_ResetUpdateFlag_Public_Void_0;

		// Token: 0x040065A3 RID: 26019
		private static readonly IntPtr NativeMethodInfoPtr_ResumeAutonomousUpdate_Public_Void_0;

		// Token: 0x040065A4 RID: 26020
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
