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

// Token: 0x020002D0 RID: 720
public class UIInputIcon : MonoBehaviour
{
	// Token: 0x06005F62 RID: 24418 RVA: 0x00181054 File Offset: 0x0017F254
	[CallerCount(21)]
	[CachedScanResults(RefRangeStart = 594488, RefRangeEnd = 594509, XrefRangeStart = 594478, XrefRangeEnd = 594488, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateStyle(ControllerDevice device, string keyName)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref device;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(keyName);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInputIcon.NativeMethodInfoPtr_UpdateStyle_Public_Void_ControllerDevice_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005F63 RID: 24419 RVA: 0x001810C0 File Offset: 0x0017F2C0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 594512, RefRangeEnd = 594513, XrefRangeStart = 594509, XrefRangeEnd = 594512, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateAnchoredPosition(Vector2 position)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref position;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInputIcon.NativeMethodInfoPtr_UpdateAnchoredPosition_Public_Void_Vector2_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005F64 RID: 24420 RVA: 0x00181114 File Offset: 0x0017F314
	[CallerCount(11)]
	[CachedScanResults(RefRangeStart = 594515, RefRangeEnd = 594526, XrefRangeStart = 594513, XrefRangeEnd = 594515, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetFont(GameFontPack fontPack)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(fontPack);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInputIcon.NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005F65 RID: 24421 RVA: 0x00181170 File Offset: 0x0017F370
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 594529, RefRangeEnd = 594530, XrefRangeStart = 594526, XrefRangeEnd = 594529, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float GetIconWidth()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInputIcon.NativeMethodInfoPtr_GetIconWidth_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06005F66 RID: 24422 RVA: 0x001811C0 File Offset: 0x0017F3C0
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UIInputIcon()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInputIcon.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005F67 RID: 24423 RVA: 0x0018120C File Offset: 0x0017F40C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 594530, XrefRangeEnd = 594540, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Method_Private_Void_String_PDM_0(string key)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(key);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInputIcon.NativeMethodInfoPtr_Method_Private_Void_String_PDM_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005F68 RID: 24424 RVA: 0x00181268 File Offset: 0x0017F468
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 594540, XrefRangeEnd = 594550, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Method_Private_Void_String_PDM_1(string key)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(key);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInputIcon.NativeMethodInfoPtr_Method_Private_Void_String_PDM_1, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005F69 RID: 24425 RVA: 0x001812C4 File Offset: 0x0017F4C4
	// Note: this type is marked as 'beforefieldinit'.
	static UIInputIcon()
	{
		Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIInputIcon");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr);
		UIInputIcon.NativeFieldInfoPtr_icon = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, "icon");
		UIInputIcon.NativeFieldInfoPtr_label = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, "label");
		UIInputIcon.NativeMethodInfoPtr_UpdateStyle_Public_Void_ControllerDevice_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, 100670119);
		UIInputIcon.NativeMethodInfoPtr_UpdateAnchoredPosition_Public_Void_Vector2_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, 100670120);
		UIInputIcon.NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, 100670121);
		UIInputIcon.NativeMethodInfoPtr_GetIconWidth_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, 100670122);
		UIInputIcon.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, 100670123);
		UIInputIcon.NativeMethodInfoPtr_Method_Private_Void_String_PDM_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, 100670124);
		UIInputIcon.NativeMethodInfoPtr_Method_Private_Void_String_PDM_1 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInputIcon>.NativeClassPtr, 100670125);
	}

	// Token: 0x06005F6A RID: 24426 RVA: 0x0000351C File Offset: 0x0000171C
	public UIInputIcon(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700210A RID: 8458
	// (get) Token: 0x06005F6B RID: 24427 RVA: 0x001813A8 File Offset: 0x0017F5A8
	// (set) Token: 0x06005F6C RID: 24428 RVA: 0x001813DC File Offset: 0x0017F5DC
	public unsafe Image icon
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInputIcon.NativeFieldInfoPtr_icon);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Image(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInputIcon.NativeFieldInfoPtr_icon), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700210B RID: 8459
	// (get) Token: 0x06005F6D RID: 24429 RVA: 0x00181404 File Offset: 0x0017F604
	// (set) Token: 0x06005F6E RID: 24430 RVA: 0x00181438 File Offset: 0x0017F638
	public unsafe Text label
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInputIcon.NativeFieldInfoPtr_label);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Text(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInputIcon.NativeFieldInfoPtr_label), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003F72 RID: 16242
	private static readonly IntPtr NativeFieldInfoPtr_icon;

	// Token: 0x04003F73 RID: 16243
	private static readonly IntPtr NativeFieldInfoPtr_label;

	// Token: 0x04003F74 RID: 16244
	private static readonly IntPtr NativeMethodInfoPtr_UpdateStyle_Public_Void_ControllerDevice_String_0;

	// Token: 0x04003F75 RID: 16245
	private static readonly IntPtr NativeMethodInfoPtr_UpdateAnchoredPosition_Public_Void_Vector2_0;

	// Token: 0x04003F76 RID: 16246
	private static readonly IntPtr NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0;

	// Token: 0x04003F77 RID: 16247
	private static readonly IntPtr NativeMethodInfoPtr_GetIconWidth_Public_Single_0;

	// Token: 0x04003F78 RID: 16248
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x04003F79 RID: 16249
	private static readonly IntPtr NativeMethodInfoPtr_Method_Private_Void_String_PDM_0;

	// Token: 0x04003F7A RID: 16250
	private static readonly IntPtr NativeMethodInfoPtr_Method_Private_Void_String_PDM_1;
}
