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

// Token: 0x020003C8 RID: 968
public class InspectorButtonAttribute : PropertyAttribute
{
	// Token: 0x170029F9 RID: 10745
	// (get) Token: 0x06007A8D RID: 31373 RVA: 0x001F1F74 File Offset: 0x001F0174
	// (set) Token: 0x06007A8E RID: 31374 RVA: 0x001F1FC4 File Offset: 0x001F01C4
	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: 0x06007A8F RID: 31375 RVA: 0x001F2018 File Offset: 0x001F0218
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618414, XrefRangeEnd = 618420, 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: 0x06007A90 RID: 31376 RVA: 0x001F207C File Offset: 0x001F027C
	// 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, 100672509);
		InspectorButtonAttribute.NativeMethodInfoPtr_set_ButtonWidth_Public_set_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, 100672510);
		InspectorButtonAttribute.NativeMethodInfoPtr__ctor_Public_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InspectorButtonAttribute>.NativeClassPtr, 100672511);
	}

	// Token: 0x06007A91 RID: 31377 RVA: 0x0010FC50 File Offset: 0x0010DE50
	public InspectorButtonAttribute(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170029F6 RID: 10742
	// (get) Token: 0x06007A92 RID: 31378 RVA: 0x001F2124 File Offset: 0x001F0324
	// (set) Token: 0x06007A93 RID: 31379 RVA: 0x001F2142 File Offset: 0x001F0342
	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: 0x170029F7 RID: 10743
	// (get) Token: 0x06007A94 RID: 31380 RVA: 0x001F2154 File Offset: 0x001F0354
	// (set) Token: 0x06007A95 RID: 31381 RVA: 0x001F217D File Offset: 0x001F037D
	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: 0x170029F8 RID: 10744
	// (get) Token: 0x06007A96 RID: 31382 RVA: 0x001F21A4 File Offset: 0x001F03A4
	// (set) Token: 0x06007A97 RID: 31383 RVA: 0x001F21CC File Offset: 0x001F03CC
	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: 0x04005164 RID: 20836
	private static readonly IntPtr NativeFieldInfoPtr_kDefaultButtonWidth;

	// Token: 0x04005165 RID: 20837
	private static readonly IntPtr NativeFieldInfoPtr_MethodName;

	// Token: 0x04005166 RID: 20838
	private static readonly IntPtr NativeFieldInfoPtr__buttonWidth;

	// Token: 0x04005167 RID: 20839
	private static readonly IntPtr NativeMethodInfoPtr_get_ButtonWidth_Public_get_Single_0;

	// Token: 0x04005168 RID: 20840
	private static readonly IntPtr NativeMethodInfoPtr_set_ButtonWidth_Public_set_Void_Single_0;

	// Token: 0x04005169 RID: 20841
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_0;
}
