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

namespace RootMotion
{
	// Token: 0x020003FF RID: 1023
	public class Comments : MonoBehaviour
	{
		// Token: 0x06007DAE RID: 32174 RVA: 0x002018F0 File Offset: 0x001FFAF0
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe Comments()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<Comments>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Comments.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007DAF RID: 32175 RVA: 0x0020193C File Offset: 0x001FFB3C
		// Note: this type is marked as 'beforefieldinit'.
		static Comments()
		{
			Il2CppClassPointerStore<Comments>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion", "Comments");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Comments>.NativeClassPtr);
			Comments.NativeFieldInfoPtr_text = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Comments>.NativeClassPtr, "text");
			Comments.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Comments>.NativeClassPtr, 100672853);
		}

		// Token: 0x06007DB0 RID: 32176 RVA: 0x0000351C File Offset: 0x0000171C
		public Comments(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002ACE RID: 10958
		// (get) Token: 0x06007DB1 RID: 32177 RVA: 0x00201994 File Offset: 0x001FFB94
		// (set) Token: 0x06007DB2 RID: 32178 RVA: 0x002019BD File Offset: 0x001FFBBD
		public unsafe string text
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Comments.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(Comments.NativeFieldInfoPtr_text), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x0400546E RID: 21614
		private static readonly IntPtr NativeFieldInfoPtr_text;

		// Token: 0x0400546F RID: 21615
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
