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

namespace RootMotion.Demos
{
	// Token: 0x0200042A RID: 1066
	public class InteractionSystemTestGUI : MonoBehaviour
	{
		// Token: 0x06008091 RID: 32913 RVA: 0x0020D708 File Offset: 0x0020B908
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624717, XrefRangeEnd = 624721, 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: 0x06008092 RID: 32914 RVA: 0x0020D74C File Offset: 0x0020B94C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624721, XrefRangeEnd = 624750, 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: 0x06008093 RID: 32915 RVA: 0x0020D790 File Offset: 0x0020B990
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06008094 RID: 32916 RVA: 0x0020D7DC File Offset: 0x0020B9DC
		// 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, 100673069);
			InteractionSystemTestGUI.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, 100673070);
			InteractionSystemTestGUI.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionSystemTestGUI>.NativeClassPtr, 100673071);
		}

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

		// Token: 0x17002BB0 RID: 11184
		// (get) Token: 0x06008096 RID: 32918 RVA: 0x0020D884 File Offset: 0x0020BA84
		// (set) Token: 0x06008097 RID: 32919 RVA: 0x0020D8B8 File Offset: 0x0020BAB8
		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: 0x17002BB1 RID: 11185
		// (get) Token: 0x06008098 RID: 32920 RVA: 0x0020D8E0 File Offset: 0x0020BAE0
		// (set) Token: 0x06008099 RID: 32921 RVA: 0x0020D914 File Offset: 0x0020BB14
		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: 0x17002BB2 RID: 11186
		// (get) Token: 0x0600809A RID: 32922 RVA: 0x0020D93C File Offset: 0x0020BB3C
		// (set) Token: 0x0600809B RID: 32923 RVA: 0x0020D970 File Offset: 0x0020BB70
		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: 0x0400563C RID: 22076
		private static readonly IntPtr NativeFieldInfoPtr_interactionObject;

		// Token: 0x0400563D RID: 22077
		private static readonly IntPtr NativeFieldInfoPtr_effectors;

		// Token: 0x0400563E RID: 22078
		private static readonly IntPtr NativeFieldInfoPtr_interactionSystem;

		// Token: 0x0400563F RID: 22079
		private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

		// Token: 0x04005640 RID: 22080
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04005641 RID: 22081
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
