using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using RootMotion.FinalIK;

namespace RootMotion.Demos
{
	// Token: 0x020003E9 RID: 1001
	public class UserControlInteractions : UserControlThirdPerson
	{
		// Token: 0x060079B5 RID: 31157 RVA: 0x001F0234 File Offset: 0x001EE434
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593169, XrefRangeEnd = 593177, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UserControlInteractions.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060079B6 RID: 31158 RVA: 0x001F0284 File Offset: 0x001EE484
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593177, XrefRangeEnd = 593188, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnGUI()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UserControlInteractions.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060079B7 RID: 31159 RVA: 0x001F02C8 File Offset: 0x001EE4C8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593188, XrefRangeEnd = 593189, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe UserControlInteractions()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UserControlInteractions.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060079B8 RID: 31160 RVA: 0x001F0314 File Offset: 0x001EE514
		// Note: this type is marked as 'beforefieldinit'.
		static UserControlInteractions()
		{
			Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "UserControlInteractions");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr);
			UserControlInteractions.NativeFieldInfoPtr_character = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, "character");
			UserControlInteractions.NativeFieldInfoPtr_interactionSystem = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, "interactionSystem");
			UserControlInteractions.NativeFieldInfoPtr_disableInputInInteraction = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, "disableInputInInteraction");
			UserControlInteractions.NativeFieldInfoPtr_enableInputAtProgress = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, "enableInputAtProgress");
			UserControlInteractions.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, 100672451);
			UserControlInteractions.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, 100672452);
			UserControlInteractions.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, 100672453);
		}

		// Token: 0x060079B9 RID: 31161 RVA: 0x001F03D0 File Offset: 0x001EE5D0
		public UserControlInteractions(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002992 RID: 10642
		// (get) Token: 0x060079BA RID: 31162 RVA: 0x001F03DC File Offset: 0x001EE5DC
		// (set) Token: 0x060079BB RID: 31163 RVA: 0x001F0410 File Offset: 0x001EE610
		public unsafe CharacterThirdPerson character
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlInteractions.NativeFieldInfoPtr_character);
				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(UserControlInteractions.NativeFieldInfoPtr_character), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002993 RID: 10643
		// (get) Token: 0x060079BC RID: 31164 RVA: 0x001F0438 File Offset: 0x001EE638
		// (set) Token: 0x060079BD RID: 31165 RVA: 0x001F046C File Offset: 0x001EE66C
		public unsafe InteractionSystem interactionSystem
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlInteractions.NativeFieldInfoPtr_interactionSystem);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new InteractionSystem(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlInteractions.NativeFieldInfoPtr_interactionSystem), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002994 RID: 10644
		// (get) Token: 0x060079BE RID: 31166 RVA: 0x001F0494 File Offset: 0x001EE694
		// (set) Token: 0x060079BF RID: 31167 RVA: 0x001F04BC File Offset: 0x001EE6BC
		public unsafe bool disableInputInInteraction
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlInteractions.NativeFieldInfoPtr_disableInputInInteraction);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlInteractions.NativeFieldInfoPtr_disableInputInInteraction)) = value;
			}
		}

		// Token: 0x17002995 RID: 10645
		// (get) Token: 0x060079C0 RID: 31168 RVA: 0x001F04E0 File Offset: 0x001EE6E0
		// (set) Token: 0x060079C1 RID: 31169 RVA: 0x001F0508 File Offset: 0x001EE708
		public unsafe float enableInputAtProgress
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlInteractions.NativeFieldInfoPtr_enableInputAtProgress);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlInteractions.NativeFieldInfoPtr_enableInputAtProgress)) = value;
			}
		}

		// Token: 0x04005167 RID: 20839
		private static readonly IntPtr NativeFieldInfoPtr_character;

		// Token: 0x04005168 RID: 20840
		private static readonly IntPtr NativeFieldInfoPtr_interactionSystem;

		// Token: 0x04005169 RID: 20841
		private static readonly IntPtr NativeFieldInfoPtr_disableInputInInteraction;

		// Token: 0x0400516A RID: 20842
		private static readonly IntPtr NativeFieldInfoPtr_enableInputAtProgress;

		// Token: 0x0400516B RID: 20843
		private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

		// Token: 0x0400516C RID: 20844
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x0400516D RID: 20845
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
