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

namespace RootMotion
{
	// Token: 0x020003A7 RID: 935
	public class Comments : MonoBehaviour
	{
		// Token: 0x0600755B RID: 30043 RVA: 0x001DEBB4 File Offset: 0x001DCDB4
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x0600755C RID: 30044 RVA: 0x001DEC00 File Offset: 0x001DCE00
		// 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, 100672140);
		}

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

		// Token: 0x17002833 RID: 10291
		// (get) Token: 0x0600755E RID: 30046 RVA: 0x001DEC58 File Offset: 0x001DCE58
		// (set) Token: 0x0600755F RID: 30047 RVA: 0x001DEC81 File Offset: 0x001DCE81
		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: 0x04004EC5 RID: 20165
		private static readonly IntPtr NativeFieldInfoPtr_text;

		// Token: 0x04004EC6 RID: 20166
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
