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

namespace RootMotion.Demos
{
	// Token: 0x02000429 RID: 1065
	public class InteractionDemo : MonoBehaviour
	{
		// Token: 0x0600807B RID: 32891 RVA: 0x0020D250 File Offset: 0x0020B450
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624668, XrefRangeEnd = 624717, 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: 0x0600807C RID: 32892 RVA: 0x0020D294 File Offset: 0x0020B494
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x0600807D RID: 32893 RVA: 0x0020D2E0 File Offset: 0x0020B4E0
		// 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, 100673067);
			InteractionDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionDemo>.NativeClassPtr, 100673068);
		}

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

		// Token: 0x17002BA7 RID: 11175
		// (get) Token: 0x0600807F RID: 32895 RVA: 0x0020D3EC File Offset: 0x0020B5EC
		// (set) Token: 0x06008080 RID: 32896 RVA: 0x0020D420 File Offset: 0x0020B620
		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: 0x17002BA8 RID: 11176
		// (get) Token: 0x06008081 RID: 32897 RVA: 0x0020D448 File Offset: 0x0020B648
		// (set) Token: 0x06008082 RID: 32898 RVA: 0x0020D470 File Offset: 0x0020B670
		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: 0x17002BA9 RID: 11177
		// (get) Token: 0x06008083 RID: 32899 RVA: 0x0020D494 File Offset: 0x0020B694
		// (set) Token: 0x06008084 RID: 32900 RVA: 0x0020D4C8 File Offset: 0x0020B6C8
		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: 0x17002BAA RID: 11178
		// (get) Token: 0x06008085 RID: 32901 RVA: 0x0020D4F0 File Offset: 0x0020B6F0
		// (set) Token: 0x06008086 RID: 32902 RVA: 0x0020D524 File Offset: 0x0020B724
		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: 0x17002BAB RID: 11179
		// (get) Token: 0x06008087 RID: 32903 RVA: 0x0020D54C File Offset: 0x0020B74C
		// (set) Token: 0x06008088 RID: 32904 RVA: 0x0020D580 File Offset: 0x0020B780
		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: 0x17002BAC RID: 11180
		// (get) Token: 0x06008089 RID: 32905 RVA: 0x0020D5A8 File Offset: 0x0020B7A8
		// (set) Token: 0x0600808A RID: 32906 RVA: 0x0020D5DC File Offset: 0x0020B7DC
		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: 0x17002BAD RID: 11181
		// (get) Token: 0x0600808B RID: 32907 RVA: 0x0020D604 File Offset: 0x0020B804
		// (set) Token: 0x0600808C RID: 32908 RVA: 0x0020D638 File Offset: 0x0020B838
		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: 0x17002BAE RID: 11182
		// (get) Token: 0x0600808D RID: 32909 RVA: 0x0020D660 File Offset: 0x0020B860
		// (set) Token: 0x0600808E RID: 32910 RVA: 0x0020D694 File Offset: 0x0020B894
		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: 0x17002BAF RID: 11183
		// (get) Token: 0x0600808F RID: 32911 RVA: 0x0020D6BC File Offset: 0x0020B8BC
		// (set) Token: 0x06008090 RID: 32912 RVA: 0x0020D6E4 File Offset: 0x0020B8E4
		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: 0x04005631 RID: 22065
		private static readonly IntPtr NativeFieldInfoPtr_interactionSystem;

		// Token: 0x04005632 RID: 22066
		private static readonly IntPtr NativeFieldInfoPtr_interrupt;

		// Token: 0x04005633 RID: 22067
		private static readonly IntPtr NativeFieldInfoPtr_ball;

		// Token: 0x04005634 RID: 22068
		private static readonly IntPtr NativeFieldInfoPtr_benchMain;

		// Token: 0x04005635 RID: 22069
		private static readonly IntPtr NativeFieldInfoPtr_benchHands;

		// Token: 0x04005636 RID: 22070
		private static readonly IntPtr NativeFieldInfoPtr_button;

		// Token: 0x04005637 RID: 22071
		private static readonly IntPtr NativeFieldInfoPtr_cigarette;

		// Token: 0x04005638 RID: 22072
		private static readonly IntPtr NativeFieldInfoPtr_door;

		// Token: 0x04005639 RID: 22073
		private static readonly IntPtr NativeFieldInfoPtr_isSitting;

		// Token: 0x0400563A RID: 22074
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x0400563B RID: 22075
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
