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

// Token: 0x020002E8 RID: 744
public class UIValuablesHandler : UIHandlerBase
{
	// Token: 0x17002184 RID: 8580
	// (get) Token: 0x06006122 RID: 24866 RVA: 0x00188C74 File Offset: 0x00186E74
	public unsafe bool IsUnlocked
	{
		[CallerCount(0)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIValuablesHandler.NativeMethodInfoPtr_get_IsUnlocked_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
	}

	// Token: 0x06006123 RID: 24867 RVA: 0x00188CC4 File Offset: 0x00186EC4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 596185, XrefRangeEnd = 596198, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnSelect()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIValuablesHandler.NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006124 RID: 24868 RVA: 0x00188D14 File Offset: 0x00186F14
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 596198, XrefRangeEnd = 596206, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnDeselect()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIValuablesHandler.NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006125 RID: 24869 RVA: 0x00188D64 File Offset: 0x00186F64
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 596210, RefRangeEnd = 596211, XrefRangeStart = 596206, XrefRangeEnd = 596210, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetIndexLabel(int idx)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref idx;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIValuablesHandler.NativeMethodInfoPtr_SetIndexLabel_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006126 RID: 24870 RVA: 0x00188DB8 File Offset: 0x00186FB8
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 596215, RefRangeEnd = 596217, XrefRangeStart = 596211, XrefRangeEnd = 596215, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetLockState(bool isLocked)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref isLocked;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIValuablesHandler.NativeMethodInfoPtr_SetLockState_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006127 RID: 24871 RVA: 0x00188E0C File Offset: 0x0018700C
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 596224, RefRangeEnd = 596226, XrefRangeStart = 596217, XrefRangeEnd = 596224, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetNewPropState(bool isNewProp)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref isNewProp;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIValuablesHandler.NativeMethodInfoPtr_SetNewPropState_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006128 RID: 24872 RVA: 0x00188E60 File Offset: 0x00187060
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 596229, RefRangeEnd = 596231, XrefRangeStart = 596226, XrefRangeEnd = 596229, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetLabel(string value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(value);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIValuablesHandler.NativeMethodInfoPtr_SetLabel_Public_Void_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006129 RID: 24873 RVA: 0x00188EBC File Offset: 0x001870BC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 596231, XrefRangeEnd = 596234, 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(UIValuablesHandler.NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

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

	// Token: 0x0600612B RID: 24875 RVA: 0x00188F64 File Offset: 0x00187164
	// Note: this type is marked as 'beforefieldinit'.
	static UIValuablesHandler()
	{
		Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIValuablesHandler");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr);
		UIValuablesHandler.NativeFieldInfoPtr_contentlabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, "contentlabel");
		UIValuablesHandler.NativeFieldInfoPtr_indexLabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, "indexLabel");
		UIValuablesHandler.NativeFieldInfoPtr_childGraphics = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, "childGraphics");
		UIValuablesHandler.NativeFieldInfoPtr_isUnlocked = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, "isUnlocked");
		UIValuablesHandler.NativeMethodInfoPtr_get_IsUnlocked_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670302);
		UIValuablesHandler.NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670303);
		UIValuablesHandler.NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670304);
		UIValuablesHandler.NativeMethodInfoPtr_SetIndexLabel_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670305);
		UIValuablesHandler.NativeMethodInfoPtr_SetLockState_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670306);
		UIValuablesHandler.NativeMethodInfoPtr_SetNewPropState_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670307);
		UIValuablesHandler.NativeMethodInfoPtr_SetLabel_Public_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670308);
		UIValuablesHandler.NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670309);
		UIValuablesHandler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIValuablesHandler>.NativeClassPtr, 100670310);
	}

	// Token: 0x0600612C RID: 24876 RVA: 0x0015B1F8 File Offset: 0x001593F8
	public UIValuablesHandler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002180 RID: 8576
	// (get) Token: 0x0600612D RID: 24877 RVA: 0x00189098 File Offset: 0x00187298
	// (set) Token: 0x0600612E RID: 24878 RVA: 0x001890CC File Offset: 0x001872CC
	public unsafe Text contentlabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIValuablesHandler.NativeFieldInfoPtr_contentlabel);
			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(UIValuablesHandler.NativeFieldInfoPtr_contentlabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002181 RID: 8577
	// (get) Token: 0x0600612F RID: 24879 RVA: 0x001890F4 File Offset: 0x001872F4
	// (set) Token: 0x06006130 RID: 24880 RVA: 0x00189128 File Offset: 0x00187328
	public unsafe Text indexLabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIValuablesHandler.NativeFieldInfoPtr_indexLabel);
			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(UIValuablesHandler.NativeFieldInfoPtr_indexLabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002182 RID: 8578
	// (get) Token: 0x06006131 RID: 24881 RVA: 0x00189150 File Offset: 0x00187350
	// (set) Token: 0x06006132 RID: 24882 RVA: 0x00189184 File Offset: 0x00187384
	public unsafe Il2CppReferenceArray<Graphic> childGraphics
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIValuablesHandler.NativeFieldInfoPtr_childGraphics);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Graphic>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIValuablesHandler.NativeFieldInfoPtr_childGraphics), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002183 RID: 8579
	// (get) Token: 0x06006133 RID: 24883 RVA: 0x001891AC File Offset: 0x001873AC
	// (set) Token: 0x06006134 RID: 24884 RVA: 0x001891D4 File Offset: 0x001873D4
	public unsafe bool isUnlocked
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIValuablesHandler.NativeFieldInfoPtr_isUnlocked);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIValuablesHandler.NativeFieldInfoPtr_isUnlocked)) = value;
		}
	}

	// Token: 0x0400409A RID: 16538
	private static readonly IntPtr NativeFieldInfoPtr_contentlabel;

	// Token: 0x0400409B RID: 16539
	private static readonly IntPtr NativeFieldInfoPtr_indexLabel;

	// Token: 0x0400409C RID: 16540
	private static readonly IntPtr NativeFieldInfoPtr_childGraphics;

	// Token: 0x0400409D RID: 16541
	private static readonly IntPtr NativeFieldInfoPtr_isUnlocked;

	// Token: 0x0400409E RID: 16542
	private static readonly IntPtr NativeMethodInfoPtr_get_IsUnlocked_Public_get_Boolean_0;

	// Token: 0x0400409F RID: 16543
	private static readonly IntPtr NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0;

	// Token: 0x040040A0 RID: 16544
	private static readonly IntPtr NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0;

	// Token: 0x040040A1 RID: 16545
	private static readonly IntPtr NativeMethodInfoPtr_SetIndexLabel_Public_Void_Int32_0;

	// Token: 0x040040A2 RID: 16546
	private static readonly IntPtr NativeMethodInfoPtr_SetLockState_Public_Void_Boolean_0;

	// Token: 0x040040A3 RID: 16547
	private static readonly IntPtr NativeMethodInfoPtr_SetNewPropState_Public_Void_Boolean_0;

	// Token: 0x040040A4 RID: 16548
	private static readonly IntPtr NativeMethodInfoPtr_SetLabel_Public_Void_String_0;

	// Token: 0x040040A5 RID: 16549
	private static readonly IntPtr NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0;

	// Token: 0x040040A6 RID: 16550
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
