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

namespace RootMotion.Demos
{
	// Token: 0x020003D0 RID: 976
	public class InteractionC2CDemo : MonoBehaviour
	{
		// Token: 0x0600781D RID: 30749 RVA: 0x001EA284 File Offset: 0x001E8484
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592347, XrefRangeEnd = 592355, 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: 0x0600781E RID: 30750 RVA: 0x001EA2C8 File Offset: 0x001E84C8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592355, XrefRangeEnd = 592362, 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: 0x0600781F RID: 30751 RVA: 0x001EA30C File Offset: 0x001E850C
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06007820 RID: 30752 RVA: 0x001EA358 File Offset: 0x001E8558
		// 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, 100672351);
			InteractionC2CDemo.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, 100672352);
			InteractionC2CDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InteractionC2CDemo>.NativeClassPtr, 100672353);
		}

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

		// Token: 0x17002909 RID: 10505
		// (get) Token: 0x06007822 RID: 30754 RVA: 0x001EA400 File Offset: 0x001E8600
		// (set) Token: 0x06007823 RID: 30755 RVA: 0x001EA434 File Offset: 0x001E8634
		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: 0x1700290A RID: 10506
		// (get) Token: 0x06007824 RID: 30756 RVA: 0x001EA45C File Offset: 0x001E865C
		// (set) Token: 0x06007825 RID: 30757 RVA: 0x001EA490 File Offset: 0x001E8690
		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: 0x1700290B RID: 10507
		// (get) Token: 0x06007826 RID: 30758 RVA: 0x001EA4B8 File Offset: 0x001E86B8
		// (set) Token: 0x06007827 RID: 30759 RVA: 0x001EA4EC File Offset: 0x001E86EC
		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: 0x04005082 RID: 20610
		private static readonly IntPtr NativeFieldInfoPtr_character1;

		// Token: 0x04005083 RID: 20611
		private static readonly IntPtr NativeFieldInfoPtr_character2;

		// Token: 0x04005084 RID: 20612
		private static readonly IntPtr NativeFieldInfoPtr_handShake;

		// Token: 0x04005085 RID: 20613
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04005086 RID: 20614
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x04005087 RID: 20615
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
