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

namespace RootMotion.Demos
{
	// Token: 0x02000441 RID: 1089
	public class UserControlInteractions : UserControlThirdPerson
	{
		// Token: 0x06008208 RID: 33288 RVA: 0x00212F70 File Offset: 0x00211170
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625483, XrefRangeEnd = 625491, 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: 0x06008209 RID: 33289 RVA: 0x00212FC0 File Offset: 0x002111C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625491, XrefRangeEnd = 625502, 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: 0x0600820A RID: 33290 RVA: 0x00213004 File Offset: 0x00211204
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625502, XrefRangeEnd = 625503, 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: 0x0600820B RID: 33291 RVA: 0x00213050 File Offset: 0x00211250
		// 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, 100673164);
			UserControlInteractions.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, 100673165);
			UserControlInteractions.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlInteractions>.NativeClassPtr, 100673166);
		}

		// Token: 0x0600820C RID: 33292 RVA: 0x0021310C File Offset: 0x0021130C
		public UserControlInteractions(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002C2D RID: 11309
		// (get) Token: 0x0600820D RID: 33293 RVA: 0x00213118 File Offset: 0x00211318
		// (set) Token: 0x0600820E RID: 33294 RVA: 0x0021314C File Offset: 0x0021134C
		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: 0x17002C2E RID: 11310
		// (get) Token: 0x0600820F RID: 33295 RVA: 0x00213174 File Offset: 0x00211374
		// (set) Token: 0x06008210 RID: 33296 RVA: 0x002131A8 File Offset: 0x002113A8
		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: 0x17002C2F RID: 11311
		// (get) Token: 0x06008211 RID: 33297 RVA: 0x002131D0 File Offset: 0x002113D0
		// (set) Token: 0x06008212 RID: 33298 RVA: 0x002131F8 File Offset: 0x002113F8
		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: 0x17002C30 RID: 11312
		// (get) Token: 0x06008213 RID: 33299 RVA: 0x0021321C File Offset: 0x0021141C
		// (set) Token: 0x06008214 RID: 33300 RVA: 0x00213244 File Offset: 0x00211444
		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: 0x04005710 RID: 22288
		private static readonly IntPtr NativeFieldInfoPtr_character;

		// Token: 0x04005711 RID: 22289
		private static readonly IntPtr NativeFieldInfoPtr_interactionSystem;

		// Token: 0x04005712 RID: 22290
		private static readonly IntPtr NativeFieldInfoPtr_disableInputInInteraction;

		// Token: 0x04005713 RID: 22291
		private static readonly IntPtr NativeFieldInfoPtr_enableInputAtProgress;

		// Token: 0x04005714 RID: 22292
		private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

		// Token: 0x04005715 RID: 22293
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04005716 RID: 22294
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
