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

// Token: 0x020001FB RID: 507
[Serializable]
public class KeyboardButtonTheme : Il2CppSystem.Object
{
	// Token: 0x06004DC2 RID: 19906 RVA: 0x00134898 File Offset: 0x00132A98
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 548415, XrefRangeEnd = 548437, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Setup(Il2CppReferenceArray<Sprite> sprites)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(sprites);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(KeyboardButtonTheme.NativeMethodInfoPtr_Setup_Public_Void_Il2CppReferenceArray_1_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004DC3 RID: 19907 RVA: 0x001348F4 File Offset: 0x00132AF4
	[CallerCount(9)]
	[CachedScanResults(RefRangeStart = 7244, RefRangeEnd = 7253, XrefRangeStart = 7244, XrefRangeEnd = 7253, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetShortKeyBoardSprite()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(KeyboardButtonTheme.NativeMethodInfoPtr_GetShortKeyBoardSprite_Public_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
	}

	// Token: 0x06004DC4 RID: 19908 RVA: 0x0013494C File Offset: 0x00132B4C
	[CallerCount(10)]
	[CachedScanResults(RefRangeStart = 7233, RefRangeEnd = 7243, XrefRangeStart = 7233, XrefRangeEnd = 7243, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetLongKeyBoardSprite()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(KeyboardButtonTheme.NativeMethodInfoPtr_GetLongKeyBoardSprite_Public_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
	}

	// Token: 0x06004DC5 RID: 19909 RVA: 0x001349A4 File Offset: 0x00132BA4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 548437, XrefRangeEnd = 548442, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetSprite(string keyCode)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(keyCode);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(KeyboardButtonTheme.NativeMethodInfoPtr_GetSprite_Public_Sprite_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
		}
	}

	// Token: 0x06004DC6 RID: 19910 RVA: 0x00134A14 File Offset: 0x00132C14
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 10989, RefRangeEnd = 10995, XrefRangeStart = 10989, XrefRangeEnd = 10995, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetMouseWheelUpSprite()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(KeyboardButtonTheme.NativeMethodInfoPtr_GetMouseWheelUpSprite_Public_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
	}

	// Token: 0x06004DC7 RID: 19911 RVA: 0x00134A6C File Offset: 0x00132C6C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 10995, RefRangeEnd = 10996, XrefRangeStart = 10995, XrefRangeEnd = 10996, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetMouseWheelDownSprite()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(KeyboardButtonTheme.NativeMethodInfoPtr_GetMouseWheelDownSprite_Public_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
	}

	// Token: 0x06004DC8 RID: 19912 RVA: 0x00134AC4 File Offset: 0x00132CC4
	[CallerCount(1642)]
	[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe KeyboardButtonTheme()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(KeyboardButtonTheme.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004DC9 RID: 19913 RVA: 0x00134B10 File Offset: 0x00132D10
	// Note: this type is marked as 'beforefieldinit'.
	static KeyboardButtonTheme()
	{
		Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "KeyboardButtonTheme");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr);
		KeyboardButtonTheme.NativeFieldInfoPtr_keyboardShort = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, "keyboardShort");
		KeyboardButtonTheme.NativeFieldInfoPtr_keyboardLong = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, "keyboardLong");
		KeyboardButtonTheme.NativeFieldInfoPtr_mouseLeftButton = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, "mouseLeftButton");
		KeyboardButtonTheme.NativeFieldInfoPtr_mouseRightButton = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, "mouseRightButton");
		KeyboardButtonTheme.NativeFieldInfoPtr_mouseMiddleButton = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, "mouseMiddleButton");
		KeyboardButtonTheme.NativeFieldInfoPtr_mouseWheelUp = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, "mouseWheelUp");
		KeyboardButtonTheme.NativeFieldInfoPtr_mouseWheelDown = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, "mouseWheelDown");
		KeyboardButtonTheme.NativeMethodInfoPtr_Setup_Public_Void_Il2CppReferenceArray_1_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668409);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetShortKeyBoardSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668410);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetLongKeyBoardSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668411);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetSprite_Public_Sprite_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668412);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetMouseWheelUpSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668413);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetMouseWheelDownSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668414);
		KeyboardButtonTheme.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668415);
	}

	// Token: 0x06004DCA RID: 19914 RVA: 0x0000A688 File Offset: 0x00008888
	public KeyboardButtonTheme(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C00 RID: 7168
	// (get) Token: 0x06004DCB RID: 19915 RVA: 0x00134C58 File Offset: 0x00132E58
	// (set) Token: 0x06004DCC RID: 19916 RVA: 0x00134C8C File Offset: 0x00132E8C
	public unsafe Sprite keyboardShort
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_keyboardShort);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_keyboardShort), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C01 RID: 7169
	// (get) Token: 0x06004DCD RID: 19917 RVA: 0x00134CB4 File Offset: 0x00132EB4
	// (set) Token: 0x06004DCE RID: 19918 RVA: 0x00134CE8 File Offset: 0x00132EE8
	public unsafe Sprite keyboardLong
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_keyboardLong);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_keyboardLong), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C02 RID: 7170
	// (get) Token: 0x06004DCF RID: 19919 RVA: 0x00134D10 File Offset: 0x00132F10
	// (set) Token: 0x06004DD0 RID: 19920 RVA: 0x00134D44 File Offset: 0x00132F44
	public unsafe Sprite mouseLeftButton
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseLeftButton);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseLeftButton), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C03 RID: 7171
	// (get) Token: 0x06004DD1 RID: 19921 RVA: 0x00134D6C File Offset: 0x00132F6C
	// (set) Token: 0x06004DD2 RID: 19922 RVA: 0x00134DA0 File Offset: 0x00132FA0
	public unsafe Sprite mouseRightButton
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseRightButton);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseRightButton), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C04 RID: 7172
	// (get) Token: 0x06004DD3 RID: 19923 RVA: 0x00134DC8 File Offset: 0x00132FC8
	// (set) Token: 0x06004DD4 RID: 19924 RVA: 0x00134DFC File Offset: 0x00132FFC
	public unsafe Sprite mouseMiddleButton
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseMiddleButton);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseMiddleButton), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C05 RID: 7173
	// (get) Token: 0x06004DD5 RID: 19925 RVA: 0x00134E24 File Offset: 0x00133024
	// (set) Token: 0x06004DD6 RID: 19926 RVA: 0x00134E58 File Offset: 0x00133058
	public unsafe Sprite mouseWheelUp
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseWheelUp);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseWheelUp), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C06 RID: 7174
	// (get) Token: 0x06004DD7 RID: 19927 RVA: 0x00134E80 File Offset: 0x00133080
	// (set) Token: 0x06004DD8 RID: 19928 RVA: 0x00134EB4 File Offset: 0x001330B4
	public unsafe Sprite mouseWheelDown
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseWheelDown);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(KeyboardButtonTheme.NativeFieldInfoPtr_mouseWheelDown), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003311 RID: 13073
	private static readonly IntPtr NativeFieldInfoPtr_keyboardShort;

	// Token: 0x04003312 RID: 13074
	private static readonly IntPtr NativeFieldInfoPtr_keyboardLong;

	// Token: 0x04003313 RID: 13075
	private static readonly IntPtr NativeFieldInfoPtr_mouseLeftButton;

	// Token: 0x04003314 RID: 13076
	private static readonly IntPtr NativeFieldInfoPtr_mouseRightButton;

	// Token: 0x04003315 RID: 13077
	private static readonly IntPtr NativeFieldInfoPtr_mouseMiddleButton;

	// Token: 0x04003316 RID: 13078
	private static readonly IntPtr NativeFieldInfoPtr_mouseWheelUp;

	// Token: 0x04003317 RID: 13079
	private static readonly IntPtr NativeFieldInfoPtr_mouseWheelDown;

	// Token: 0x04003318 RID: 13080
	private static readonly IntPtr NativeMethodInfoPtr_Setup_Public_Void_Il2CppReferenceArray_1_Sprite_0;

	// Token: 0x04003319 RID: 13081
	private static readonly IntPtr NativeMethodInfoPtr_GetShortKeyBoardSprite_Public_Sprite_0;

	// Token: 0x0400331A RID: 13082
	private static readonly IntPtr NativeMethodInfoPtr_GetLongKeyBoardSprite_Public_Sprite_0;

	// Token: 0x0400331B RID: 13083
	private static readonly IntPtr NativeMethodInfoPtr_GetSprite_Public_Sprite_String_0;

	// Token: 0x0400331C RID: 13084
	private static readonly IntPtr NativeMethodInfoPtr_GetMouseWheelUpSprite_Public_Sprite_0;

	// Token: 0x0400331D RID: 13085
	private static readonly IntPtr NativeMethodInfoPtr_GetMouseWheelDownSprite_Public_Sprite_0;

	// Token: 0x0400331E RID: 13086
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
