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

namespace RootMotion.Demos
{
	// Token: 0x02000428 RID: 1064
	public class InteractionC2CDemo : MonoBehaviour
	{
		// Token: 0x06008070 RID: 32880 RVA: 0x0020CFC0 File Offset: 0x0020B1C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624653, XrefRangeEnd = 624661, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnGUI()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionC2CDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008071 RID: 32881 RVA: 0x0020D004 File Offset: 0x0020B204
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624661, XrefRangeEnd = 624668, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionC2CDemo.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008072 RID: 32882 RVA: 0x0020D048 File Offset: 0x0020B248
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe InteractionC2CDemo()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InteractionC2CDemo.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008073 RID: 32883 RVA: 0x0020D094 File Offset: 0x0020B294
		// Note: this type is marked as 'beforefieldinit'.
		static InteractionC2CDemo()
		{
			Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "InteractionC2CDemo");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr);
			InteractionC2CDemo.NativeFieldInfoPtr_character1 = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, "character1");
			InteractionC2CDemo.NativeFieldInfoPtr_character2 = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, "character2");
			InteractionC2CDemo.NativeFieldInfoPtr_handShake = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, "handShake");
			InteractionC2CDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, 100673064);
			InteractionC2CDemo.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, 100673065);
			InteractionC2CDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, 100673066);
		}

		// Token: 0x06008074 RID: 32884 RVA: 0x0000351C File Offset: 0x0000171C
		public InteractionC2CDemo(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002BA4 RID: 11172
		// (get) Token: 0x06008075 RID: 32885 RVA: 0x0020D13C File Offset: 0x0020B33C
		// (set) Token: 0x06008076 RID: 32886 RVA: 0x0020D170 File Offset: 0x0020B370
		public unsafe InteractionSystem character1
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionC2CDemo.NativeFieldInfoPtr_character1);
				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(InteractionC2CDemo.NativeFieldInfoPtr_character1), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002BA5 RID: 11173
		// (get) Token: 0x06008077 RID: 32887 RVA: 0x0020D198 File Offset: 0x0020B398
		// (set) Token: 0x06008078 RID: 32888 RVA: 0x0020D1CC File Offset: 0x0020B3CC
		public unsafe InteractionSystem character2
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionC2CDemo.NativeFieldInfoPtr_character2);
				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(InteractionC2CDemo.NativeFieldInfoPtr_character2), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002BA6 RID: 11174
		// (get) Token: 0x06008079 RID: 32889 RVA: 0x0020D1F4 File Offset: 0x0020B3F4
		// (set) Token: 0x0600807A RID: 32890 RVA: 0x0020D228 File Offset: 0x0020B428
		public unsafe InteractionObject handShake
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InteractionC2CDemo.NativeFieldInfoPtr_handShake);
				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(InteractionC2CDemo.NativeFieldInfoPtr_handShake), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x0400562B RID: 22059
		private static readonly IntPtr NativeFieldInfoPtr_character1;

		// Token: 0x0400562C RID: 22060
		private static readonly IntPtr NativeFieldInfoPtr_character2;

		// Token: 0x0400562D RID: 22061
		private static readonly IntPtr NativeFieldInfoPtr_handShake;

		// Token: 0x0400562E RID: 22062
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x0400562F RID: 22063
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x04005630 RID: 22064
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
