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

// Token: 0x02000255 RID: 597
public class UISettingsKeyboard : UIKeyBindingBase
{
	// Token: 0x17001D9F RID: 7583
	// (get) Token: 0x060053FB RID: 21499 RVA: 0x00150BA0 File Offset: 0x0014EDA0
	public unsafe override bool IsGamepad
	{
		[CallerCount(87)]
		[CachedScanResults(RefRangeStart = 20818, RefRangeEnd = 20905, XrefRangeStart = 20818, XrefRangeEnd = 20905, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsKeyboard.NativeMethodInfoPtr_get_IsGamepad_Protected_Virtual_get_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
	}

	// Token: 0x060053FC RID: 21500 RVA: 0x00150BFC File Offset: 0x0014EDFC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 557836, XrefRangeEnd = 557844, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Localize(LocalizationData data)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(data);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsKeyboard.NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060053FD RID: 21501 RVA: 0x00150C60 File Offset: 0x0014EE60
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UISettingsKeyboard()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UISettingsKeyboard>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISettingsKeyboard.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060053FE RID: 21502 RVA: 0x00150CAC File Offset: 0x0014EEAC
	// Note: this type is marked as 'beforefieldinit'.
	static UISettingsKeyboard()
	{
		Il2CppClassPointerStore<UISettingsKeyboard>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UISettingsKeyboard");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UISettingsKeyboard>.NativeClassPtr);
		UISettingsKeyboard.NativeFieldInfoPtr_additionalValueLabels = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISettingsKeyboard>.NativeClassPtr, "additionalValueLabels");
		UISettingsKeyboard.NativeMethodInfoPtr_get_IsGamepad_Protected_Virtual_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsKeyboard>.NativeClassPtr, 100669080);
		UISettingsKeyboard.NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsKeyboard>.NativeClassPtr, 100669081);
		UISettingsKeyboard.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsKeyboard>.NativeClassPtr, 100669082);
	}

	// Token: 0x060053FF RID: 21503 RVA: 0x00150B94 File Offset: 0x0014ED94
	public UISettingsKeyboard(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001D9E RID: 7582
	// (get) Token: 0x06005400 RID: 21504 RVA: 0x00150D2C File Offset: 0x0014EF2C
	// (set) Token: 0x06005401 RID: 21505 RVA: 0x00150D60 File Offset: 0x0014EF60
	public unsafe Il2CppReferenceArray<Text> additionalValueLabels
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISettingsKeyboard.NativeFieldInfoPtr_additionalValueLabels);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Text>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISettingsKeyboard.NativeFieldInfoPtr_additionalValueLabels), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040037BA RID: 14266
	private static readonly IntPtr NativeFieldInfoPtr_additionalValueLabels;

	// Token: 0x040037BB RID: 14267
	private static readonly IntPtr NativeMethodInfoPtr_get_IsGamepad_Protected_Virtual_get_Boolean_0;

	// Token: 0x040037BC RID: 14268
	private static readonly IntPtr NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0;

	// Token: 0x040037BD RID: 14269
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
