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

namespace RootMotion.Demos
{
	// Token: 0x020003D1 RID: 977
	public class InteractionDemo : MonoBehaviour
	{
		// Token: 0x06007828 RID: 30760 RVA: 0x001EA514 File Offset: 0x001E8714
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592362, XrefRangeEnd = 592411, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnGUI()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x0600782A RID: 30762 RVA: 0x001EA5A4 File Offset: 0x001E87A4
		// Note: this type is marked as 'beforefieldinit'.
		static InteractionDemo()
		{
			Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "InteractionDemo");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr);
			InteractionDemo.NativeFieldInfoPtr_interactionSystem = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "interactionSystem");
			InteractionDemo.NativeFieldInfoPtr_interrupt = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "interrupt");
			InteractionDemo.NativeFieldInfoPtr_ball = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "ball");
			InteractionDemo.NativeFieldInfoPtr_benchMain = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "benchMain");
			InteractionDemo.NativeFieldInfoPtr_benchHands = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "benchHands");
			InteractionDemo.NativeFieldInfoPtr_button = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "button");
			InteractionDemo.NativeFieldInfoPtr_cigarette = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "cigarette");
			InteractionDemo.NativeFieldInfoPtr_door = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "door");
			InteractionDemo.NativeFieldInfoPtr_isSitting = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, "isSitting");
			InteractionDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, 100672354);
			InteractionDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, 100672355);
		}

		// Token: 0x0600782B RID: 30763 RVA: 0x0000351C File Offset: 0x0000171C
		public InteractionDemo(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700290C RID: 10508
		// (get) Token: 0x0600782C RID: 30764 RVA: 0x001EA6B0 File Offset: 0x001E88B0
		// (set) Token: 0x0600782D RID: 30765 RVA: 0x001EA6E4 File Offset: 0x001E88E4
		public unsafe InteractionSystem interactionSystem
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.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(InteractionDemo.NativeFieldInfoPtr_interactionSystem), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700290D RID: 10509
		// (get) Token: 0x0600782E RID: 30766 RVA: 0x001EA70C File Offset: 0x001E890C
		// (set) Token: 0x0600782F RID: 30767 RVA: 0x001EA734 File Offset: 0x001E8934
		public unsafe bool interrupt
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_interrupt);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_interrupt)) = value;
			}
		}

		// Token: 0x1700290E RID: 10510
		// (get) Token: 0x06007830 RID: 30768 RVA: 0x001EA758 File Offset: 0x001E8958
		// (set) Token: 0x06007831 RID: 30769 RVA: 0x001EA78C File Offset: 0x001E898C
		public unsafe InteractionObject ball
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_ball);
				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(InteractionDemo.NativeFieldInfoPtr_ball), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700290F RID: 10511
		// (get) Token: 0x06007832 RID: 30770 RVA: 0x001EA7B4 File Offset: 0x001E89B4
		// (set) Token: 0x06007833 RID: 30771 RVA: 0x001EA7E8 File Offset: 0x001E89E8
		public unsafe InteractionObject benchMain
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_benchMain);
				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(InteractionDemo.NativeFieldInfoPtr_benchMain), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002910 RID: 10512
		// (get) Token: 0x06007834 RID: 30772 RVA: 0x001EA810 File Offset: 0x001E8A10
		// (set) Token: 0x06007835 RID: 30773 RVA: 0x001EA844 File Offset: 0x001E8A44
		public unsafe InteractionObject benchHands
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_benchHands);
				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(InteractionDemo.NativeFieldInfoPtr_benchHands), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002911 RID: 10513
		// (get) Token: 0x06007836 RID: 30774 RVA: 0x001EA86C File Offset: 0x001E8A6C
		// (set) Token: 0x06007837 RID: 30775 RVA: 0x001EA8A0 File Offset: 0x001E8AA0
		public unsafe InteractionObject button
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_button);
				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(InteractionDemo.NativeFieldInfoPtr_button), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002912 RID: 10514
		// (get) Token: 0x06007838 RID: 30776 RVA: 0x001EA8C8 File Offset: 0x001E8AC8
		// (set) Token: 0x06007839 RID: 30777 RVA: 0x001EA8FC File Offset: 0x001E8AFC
		public unsafe InteractionObject cigarette
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_cigarette);
				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(InteractionDemo.NativeFieldInfoPtr_cigarette), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002913 RID: 10515
		// (get) Token: 0x0600783A RID: 30778 RVA: 0x001EA924 File Offset: 0x001E8B24
		// (set) Token: 0x0600783B RID: 30779 RVA: 0x001EA958 File Offset: 0x001E8B58
		public unsafe InteractionObject door
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_door);
				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(InteractionDemo.NativeFieldInfoPtr_door), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002914 RID: 10516
		// (get) Token: 0x0600783C RID: 30780 RVA: 0x001EA980 File Offset: 0x001E8B80
		// (set) Token: 0x0600783D RID: 30781 RVA: 0x001EA9A8 File Offset: 0x001E8BA8
		public unsafe bool isSitting
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_isSitting);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionDemo.NativeFieldInfoPtr_isSitting)) = value;
			}
		}

		// Token: 0x04005088 RID: 20616
		private static readonly IntPtr NativeFieldInfoPtr_interactionSystem;

		// Token: 0x04005089 RID: 20617
		private static readonly IntPtr NativeFieldInfoPtr_interrupt;

		// Token: 0x0400508A RID: 20618
		private static readonly IntPtr NativeFieldInfoPtr_ball;

		// Token: 0x0400508B RID: 20619
		private static readonly IntPtr NativeFieldInfoPtr_benchMain;

		// Token: 0x0400508C RID: 20620
		private static readonly IntPtr NativeFieldInfoPtr_benchHands;

		// Token: 0x0400508D RID: 20621
		private static readonly IntPtr NativeFieldInfoPtr_button;

		// Token: 0x0400508E RID: 20622
		private static readonly IntPtr NativeFieldInfoPtr_cigarette;

		// Token: 0x0400508F RID: 20623
		private static readonly IntPtr NativeFieldInfoPtr_door;

		// Token: 0x04005090 RID: 20624
		private static readonly IntPtr NativeFieldInfoPtr_isSitting;

		// Token: 0x04005091 RID: 20625
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04005092 RID: 20626
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
