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

namespace RootMotion
{
	// Token: 0x02000400 RID: 1024
	public class DemoGUIMessage : MonoBehaviour
	{
		// Token: 0x06007DB3 RID: 32179 RVA: 0x002019E4 File Offset: 0x001FFBE4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 623004, XrefRangeEnd = 623014, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnGUI()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoGUIMessage.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007DB4 RID: 32180 RVA: 0x00201A28 File Offset: 0x001FFC28
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 623014, XrefRangeEnd = 623016, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe DemoGUIMessage()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoGUIMessage.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007DB5 RID: 32181 RVA: 0x00201A74 File Offset: 0x001FFC74
		// Note: this type is marked as 'beforefieldinit'.
		static DemoGUIMessage()
		{
			Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion", "DemoGUIMessage");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr);
			DemoGUIMessage.NativeFieldInfoPtr_text = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, "text");
			DemoGUIMessage.NativeFieldInfoPtr_color = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, "color");
			DemoGUIMessage.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, 100672854);
			DemoGUIMessage.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, 100672855);
		}

		// Token: 0x06007DB6 RID: 32182 RVA: 0x0000351C File Offset: 0x0000171C
		public DemoGUIMessage(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002ACF RID: 10959
		// (get) Token: 0x06007DB7 RID: 32183 RVA: 0x00201AF4 File Offset: 0x001FFCF4
		// (set) Token: 0x06007DB8 RID: 32184 RVA: 0x00201B1D File Offset: 0x001FFD1D
		public unsafe string text
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_text);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_text), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x17002AD0 RID: 10960
		// (get) Token: 0x06007DB9 RID: 32185 RVA: 0x00201B44 File Offset: 0x001FFD44
		// (set) Token: 0x06007DBA RID: 32186 RVA: 0x00201B6C File Offset: 0x001FFD6C
		public unsafe Color color
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_color);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_color)) = value;
			}
		}

		// Token: 0x04005470 RID: 21616
		private static readonly IntPtr NativeFieldInfoPtr_text;

		// Token: 0x04005471 RID: 21617
		private static readonly IntPtr NativeFieldInfoPtr_color;

		// Token: 0x04005472 RID: 21618
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04005473 RID: 21619
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
