using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using RootMotion.FinalIK;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003D2 RID: 978
	public class InteractionSystemTestGUI : MonoBehaviour
	{
		// Token: 0x0600783E RID: 30782 RVA: 0x001EA9CC File Offset: 0x001E8BCC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592411, XrefRangeEnd = 592415, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Awake()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionSystemTestGUI.NativeMethodInfoPtr_Awake_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600783F RID: 30783 RVA: 0x001EAA10 File Offset: 0x001E8C10
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592415, XrefRangeEnd = 592444, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnGUI()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionSystemTestGUI.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x06007841 RID: 30785 RVA: 0x001EAAA0 File Offset: 0x001E8CA0
		// Note: this type is marked as 'beforefieldinit'.
		static InteractionSystemTestGUI()
		{
			Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "InteractionSystemTestGUI");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr);
			InteractionSystemTestGUI.NativeFieldInfoPtr_interactionObject = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, "interactionObject");
			InteractionSystemTestGUI.NativeFieldInfoPtr_effectors = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, "effectors");
			InteractionSystemTestGUI.NativeFieldInfoPtr_interactionSystem = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, "interactionSystem");
			InteractionSystemTestGUI.NativeMethodInfoPtr_Awake_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, 100672356);
			InteractionSystemTestGUI.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, 100672357);
			InteractionSystemTestGUI.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, 100672358);
		}

		// Token: 0x06007842 RID: 30786 RVA: 0x0000351C File Offset: 0x0000171C
		public InteractionSystemTestGUI(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002915 RID: 10517
		// (get) Token: 0x06007843 RID: 30787 RVA: 0x001EAB48 File Offset: 0x001E8D48
		// (set) Token: 0x06007844 RID: 30788 RVA: 0x001EAB7C File Offset: 0x001E8D7C
		public unsafe InteractionObject interactionObject
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionSystemTestGUI.NativeFieldInfoPtr_interactionObject);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new InteractionObject(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionSystemTestGUI.NativeFieldInfoPtr_interactionObject), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002916 RID: 10518
		// (get) Token: 0x06007845 RID: 30789 RVA: 0x001EABA4 File Offset: 0x001E8DA4
		// (set) Token: 0x06007846 RID: 30790 RVA: 0x001EABD8 File Offset: 0x001E8DD8
		public unsafe Il2CppStructArray<FullBodyBipedEffector> effectors
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionSystemTestGUI.NativeFieldInfoPtr_effectors);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppStructArray<FullBodyBipedEffector>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionSystemTestGUI.NativeFieldInfoPtr_effectors), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002917 RID: 10519
		// (get) Token: 0x06007847 RID: 30791 RVA: 0x001EAC00 File Offset: 0x001E8E00
		// (set) Token: 0x06007848 RID: 30792 RVA: 0x001EAC34 File Offset: 0x001E8E34
		public unsafe InteractionSystem interactionSystem
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionSystemTestGUI.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(InteractionSystemTestGUI.NativeFieldInfoPtr_interactionSystem), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04005093 RID: 20627
		private static readonly IntPtr NativeFieldInfoPtr_interactionObject;

		// Token: 0x04005094 RID: 20628
		private static readonly IntPtr NativeFieldInfoPtr_effectors;

		// Token: 0x04005095 RID: 20629
		private static readonly IntPtr NativeFieldInfoPtr_interactionSystem;

		// Token: 0x04005096 RID: 20630
		private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

		// Token: 0x04005097 RID: 20631
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04005098 RID: 20632
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
