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

// Token: 0x02000370 RID: 880
public class InspectorButtonAttribute : PropertyAttribute
{
	// Token: 0x1700275E RID: 10078
	// (get) Token: 0x0600723A RID: 29242 RVA: 0x001CF22C File Offset: 0x001CD42C
	// (set) Token: 0x0600723B RID: 29243 RVA: 0x001CF27C File Offset: 0x001CD47C
	public unsafe float ButtonWidth
	{
		[CallerCount(0)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InspectorButtonAttribute.NativeMethodInfoPtr_get_ButtonWidth_Public_get_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
		[CallerCount(0)]
		set
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref value;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InspectorButtonAttribute.NativeMethodInfoPtr_set_ButtonWidth_Public_set_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}
	}

	// Token: 0x0600723C RID: 29244 RVA: 0x001CF2D0 File Offset: 0x001CD4D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586113, XrefRangeEnd = 586119, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe InspectorButtonAttribute(string MethodName)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr))
	{
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(MethodName);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InspectorButtonAttribute.NativeMethodInfoPtr__ctor_Public_Void_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600723D RID: 29245 RVA: 0x001CF334 File Offset: 0x001CD534
	// Note: this type is marked as 'beforefieldinit'.
	static InspectorButtonAttribute()
	{
		Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "InspectorButtonAttribute");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr);
		InspectorButtonAttribute.NativeFieldInfoPtr_kDefaultButtonWidth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, "kDefaultButtonWidth");
		InspectorButtonAttribute.NativeFieldInfoPtr_MethodName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, "MethodName");
		InspectorButtonAttribute.NativeFieldInfoPtr__buttonWidth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, "_buttonWidth");
		InspectorButtonAttribute.NativeMethodInfoPtr_get_ButtonWidth_Public_get_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, 100671796);
		InspectorButtonAttribute.NativeMethodInfoPtr_set_ButtonWidth_Public_set_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, 100671797);
		InspectorButtonAttribute.NativeMethodInfoPtr__ctor_Public_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, 100671798);
	}

	// Token: 0x0600723E RID: 29246 RVA: 0x001CF3DC File Offset: 0x001CD5DC
	public InspectorButtonAttribute(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700275B RID: 10075
	// (get) Token: 0x0600723F RID: 29247 RVA: 0x001CF3E8 File Offset: 0x001CD5E8
	// (set) Token: 0x06007240 RID: 29248 RVA: 0x001CF406 File Offset: 0x001CD606
	public unsafe static float kDefaultButtonWidth
	{
		get
		{
			float num;
			IL2CPP.il2cpp_field_static_get_value(InspectorButtonAttribute.NativeFieldInfoPtr_kDefaultButtonWidth, (void*)(&num));
			return num;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(InspectorButtonAttribute.NativeFieldInfoPtr_kDefaultButtonWidth, (void*)(&value));
		}
	}

	// Token: 0x1700275C RID: 10076
	// (get) Token: 0x06007241 RID: 29249 RVA: 0x001CF418 File Offset: 0x001CD618
	// (set) Token: 0x06007242 RID: 29250 RVA: 0x001CF441 File Offset: 0x001CD641
	public unsafe string MethodName
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InspectorButtonAttribute.NativeFieldInfoPtr_MethodName);
			return IL2CPP.Il2CppStringToManaged(*intPtr);
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InspectorButtonAttribute.NativeFieldInfoPtr_MethodName), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x1700275D RID: 10077
	// (get) Token: 0x06007243 RID: 29251 RVA: 0x001CF468 File Offset: 0x001CD668
	// (set) Token: 0x06007244 RID: 29252 RVA: 0x001CF490 File Offset: 0x001CD690
	public unsafe float _buttonWidth
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InspectorButtonAttribute.NativeFieldInfoPtr__buttonWidth);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InspectorButtonAttribute.NativeFieldInfoPtr__buttonWidth)) = value;
		}
	}

	// Token: 0x04004BBB RID: 19387
	private static readonly IntPtr NativeFieldInfoPtr_kDefaultButtonWidth;

	// Token: 0x04004BBC RID: 19388
	private static readonly IntPtr NativeFieldInfoPtr_MethodName;

	// Token: 0x04004BBD RID: 19389
	private static readonly IntPtr NativeFieldInfoPtr__buttonWidth;

	// Token: 0x04004BBE RID: 19390
	private static readonly IntPtr NativeMethodInfoPtr_get_ButtonWidth_Public_get_Single_0;

	// Token: 0x04004BBF RID: 19391
	private static readonly IntPtr NativeMethodInfoPtr_set_ButtonWidth_Public_set_Void_Single_0;

	// Token: 0x04004BC0 RID: 19392
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_0;
}
