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

// Token: 0x02000238 RID: 568
[Serializable]
public class KeyboardButtonTheme : Il2CppSystem.Object
{
	// Token: 0x060052F5 RID: 21237 RVA: 0x0014A128 File Offset: 0x00148328
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 576557, XrefRangeEnd = 576579, 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: 0x060052F6 RID: 21238 RVA: 0x0014A184 File Offset: 0x00148384
	[CallerCount(9)]
	[CachedScanResults(RefRangeStart = 7538, RefRangeEnd = 7547, XrefRangeStart = 7538, XrefRangeEnd = 7547, 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: 0x060052F7 RID: 21239 RVA: 0x0014A1DC File Offset: 0x001483DC
	[CallerCount(10)]
	[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, 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: 0x060052F8 RID: 21240 RVA: 0x0014A234 File Offset: 0x00148434
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 576579, XrefRangeEnd = 576584, 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: 0x060052F9 RID: 21241 RVA: 0x0014A2A4 File Offset: 0x001484A4
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 11305, RefRangeEnd = 11311, XrefRangeStart = 11305, XrefRangeEnd = 11311, 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: 0x060052FA RID: 21242 RVA: 0x0014A2FC File Offset: 0x001484FC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 11311, RefRangeEnd = 11312, XrefRangeStart = 11311, XrefRangeEnd = 11312, 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: 0x060052FB RID: 21243 RVA: 0x0014A354 File Offset: 0x00148554
	[CallerCount(1664)]
	[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x060052FC RID: 21244 RVA: 0x0014A3A0 File Offset: 0x001485A0
	// 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, 100668846);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetShortKeyBoardSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668847);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetLongKeyBoardSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668848);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetSprite_Public_Sprite_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668849);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetMouseWheelUpSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668850);
		KeyboardButtonTheme.NativeMethodInfoPtr_GetMouseWheelDownSprite_Public_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668851);
		KeyboardButtonTheme.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<KeyboardButtonTheme>.NativeClassPtr, 100668852);
	}

	// Token: 0x060052FD RID: 21245 RVA: 0x0000A74C File Offset: 0x0000894C
	public KeyboardButtonTheme(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001D84 RID: 7556
	// (get) Token: 0x060052FE RID: 21246 RVA: 0x0014A4E8 File Offset: 0x001486E8
	// (set) Token: 0x060052FF RID: 21247 RVA: 0x0014A51C File Offset: 0x0014871C
	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: 0x17001D85 RID: 7557
	// (get) Token: 0x06005300 RID: 21248 RVA: 0x0014A544 File Offset: 0x00148744
	// (set) Token: 0x06005301 RID: 21249 RVA: 0x0014A578 File Offset: 0x00148778
	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: 0x17001D86 RID: 7558
	// (get) Token: 0x06005302 RID: 21250 RVA: 0x0014A5A0 File Offset: 0x001487A0
	// (set) Token: 0x06005303 RID: 21251 RVA: 0x0014A5D4 File Offset: 0x001487D4
	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: 0x17001D87 RID: 7559
	// (get) Token: 0x06005304 RID: 21252 RVA: 0x0014A5FC File Offset: 0x001487FC
	// (set) Token: 0x06005305 RID: 21253 RVA: 0x0014A630 File Offset: 0x00148830
	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: 0x17001D88 RID: 7560
	// (get) Token: 0x06005306 RID: 21254 RVA: 0x0014A658 File Offset: 0x00148858
	// (set) Token: 0x06005307 RID: 21255 RVA: 0x0014A68C File Offset: 0x0014888C
	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: 0x17001D89 RID: 7561
	// (get) Token: 0x06005308 RID: 21256 RVA: 0x0014A6B4 File Offset: 0x001488B4
	// (set) Token: 0x06005309 RID: 21257 RVA: 0x0014A6E8 File Offset: 0x001488E8
	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: 0x17001D8A RID: 7562
	// (get) Token: 0x0600530A RID: 21258 RVA: 0x0014A710 File Offset: 0x00148910
	// (set) Token: 0x0600530B RID: 21259 RVA: 0x0014A744 File Offset: 0x00148944
	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: 0x04003693 RID: 13971
	private static readonly IntPtr NativeFieldInfoPtr_keyboardShort;

	// Token: 0x04003694 RID: 13972
	private static readonly IntPtr NativeFieldInfoPtr_keyboardLong;

	// Token: 0x04003695 RID: 13973
	private static readonly IntPtr NativeFieldInfoPtr_mouseLeftButton;

	// Token: 0x04003696 RID: 13974
	private static readonly IntPtr NativeFieldInfoPtr_mouseRightButton;

	// Token: 0x04003697 RID: 13975
	private static readonly IntPtr NativeFieldInfoPtr_mouseMiddleButton;

	// Token: 0x04003698 RID: 13976
	private static readonly IntPtr NativeFieldInfoPtr_mouseWheelUp;

	// Token: 0x04003699 RID: 13977
	private static readonly IntPtr NativeFieldInfoPtr_mouseWheelDown;

	// Token: 0x0400369A RID: 13978
	private static readonly IntPtr NativeMethodInfoPtr_Setup_Public_Void_Il2CppReferenceArray_1_Sprite_0;

	// Token: 0x0400369B RID: 13979
	private static readonly IntPtr NativeMethodInfoPtr_GetShortKeyBoardSprite_Public_Sprite_0;

	// Token: 0x0400369C RID: 13980
	private static readonly IntPtr NativeMethodInfoPtr_GetLongKeyBoardSprite_Public_Sprite_0;

	// Token: 0x0400369D RID: 13981
	private static readonly IntPtr NativeMethodInfoPtr_GetSprite_Public_Sprite_String_0;

	// Token: 0x0400369E RID: 13982
	private static readonly IntPtr NativeMethodInfoPtr_GetMouseWheelUpSprite_Public_Sprite_0;

	// Token: 0x0400369F RID: 13983
	private static readonly IntPtr NativeMethodInfoPtr_GetMouseWheelDownSprite_Public_Sprite_0;

	// Token: 0x040036A0 RID: 13984
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
