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

// Token: 0x02000267 RID: 615
public class UIGameSaveDeleteHandler : UIHandlerBase
{
	// Token: 0x17001E0E RID: 7694
	// (get) Token: 0x06005589 RID: 21897 RVA: 0x00157904 File Offset: 0x00155B04
	public unsafe Image Icon
	{
		[CallerCount(12)]
		[CachedScanResults(RefRangeStart = 14840, RefRangeEnd = 14852, XrefRangeStart = 14840, XrefRangeEnd = 14852, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameSaveDeleteHandler.NativeMethodInfoPtr_get_Icon_Public_get_Image_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Image(intPtr3) : null;
		}
	}

	// Token: 0x0600558A RID: 21898 RVA: 0x0015795C File Offset: 0x00155B5C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 560819, XrefRangeEnd = 560821, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void EnableLabel(bool enable)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref enable;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameSaveDeleteHandler.NativeMethodInfoPtr_EnableLabel_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600558B RID: 21899 RVA: 0x001579B0 File Offset: 0x00155BB0
	[CallerCount(0)]
	public unsafe void SetColor(Color color)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref color;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameSaveDeleteHandler.NativeMethodInfoPtr_SetColor_Public_Void_Color_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600558C RID: 21900 RVA: 0x00157A04 File Offset: 0x00155C04
	[CallerCount(0)]
	public unsafe void UpdateScaleEffectFlag(bool enable)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref enable;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameSaveDeleteHandler.NativeMethodInfoPtr_UpdateScaleEffectFlag_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600558D RID: 21901 RVA: 0x00157A58 File Offset: 0x00155C58
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 560821, XrefRangeEnd = 560826, 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), UIGameSaveDeleteHandler.NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600558E RID: 21902 RVA: 0x00157AA8 File Offset: 0x00155CA8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 560826, XrefRangeEnd = 560831, 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), UIGameSaveDeleteHandler.NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600558F RID: 21903 RVA: 0x00157AF8 File Offset: 0x00155CF8
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 560842, RefRangeEnd = 560844, XrefRangeStart = 560831, XrefRangeEnd = 560842, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateSize(Vector2 size)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref size;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameSaveDeleteHandler.NativeMethodInfoPtr_UpdateSize_Private_Void_Vector2_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

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

	// Token: 0x06005591 RID: 21905 RVA: 0x00157B98 File Offset: 0x00155D98
	// Note: this type is marked as 'beforefieldinit'.
	static UIGameSaveDeleteHandler()
	{
		Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIGameSaveDeleteHandler");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr);
		UIGameSaveDeleteHandler.NativeFieldInfoPtr_icon = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, "icon");
		UIGameSaveDeleteHandler.NativeFieldInfoPtr_canPlayScaleEffect = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, "canPlayScaleEffect");
		UIGameSaveDeleteHandler.NativeMethodInfoPtr_get_Icon_Public_get_Image_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669243);
		UIGameSaveDeleteHandler.NativeMethodInfoPtr_EnableLabel_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669244);
		UIGameSaveDeleteHandler.NativeMethodInfoPtr_SetColor_Public_Void_Color_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669245);
		UIGameSaveDeleteHandler.NativeMethodInfoPtr_UpdateScaleEffectFlag_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669246);
		UIGameSaveDeleteHandler.NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669247);
		UIGameSaveDeleteHandler.NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669248);
		UIGameSaveDeleteHandler.NativeMethodInfoPtr_UpdateSize_Private_Void_Vector2_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669249);
		UIGameSaveDeleteHandler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameSaveDeleteHandler>.NativeClassPtr, 100669250);
	}

	// Token: 0x06005592 RID: 21906 RVA: 0x00146FEC File Offset: 0x001451EC
	public UIGameSaveDeleteHandler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E0C RID: 7692
	// (get) Token: 0x06005593 RID: 21907 RVA: 0x00157C90 File Offset: 0x00155E90
	// (set) Token: 0x06005594 RID: 21908 RVA: 0x00157CC4 File Offset: 0x00155EC4
	public unsafe Image icon
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameSaveDeleteHandler.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(UIGameSaveDeleteHandler.NativeFieldInfoPtr_icon), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E0D RID: 7693
	// (get) Token: 0x06005595 RID: 21909 RVA: 0x00157CEC File Offset: 0x00155EEC
	// (set) Token: 0x06005596 RID: 21910 RVA: 0x00157D14 File Offset: 0x00155F14
	public unsafe bool canPlayScaleEffect
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameSaveDeleteHandler.NativeFieldInfoPtr_canPlayScaleEffect);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameSaveDeleteHandler.NativeFieldInfoPtr_canPlayScaleEffect)) = value;
		}
	}

	// Token: 0x040038C4 RID: 14532
	private static readonly IntPtr NativeFieldInfoPtr_icon;

	// Token: 0x040038C5 RID: 14533
	private static readonly IntPtr NativeFieldInfoPtr_canPlayScaleEffect;

	// Token: 0x040038C6 RID: 14534
	private static readonly IntPtr NativeMethodInfoPtr_get_Icon_Public_get_Image_0;

	// Token: 0x040038C7 RID: 14535
	private static readonly IntPtr NativeMethodInfoPtr_EnableLabel_Public_Void_Boolean_0;

	// Token: 0x040038C8 RID: 14536
	private static readonly IntPtr NativeMethodInfoPtr_SetColor_Public_Void_Color_0;

	// Token: 0x040038C9 RID: 14537
	private static readonly IntPtr NativeMethodInfoPtr_UpdateScaleEffectFlag_Public_Void_Boolean_0;

	// Token: 0x040038CA RID: 14538
	private static readonly IntPtr NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0;

	// Token: 0x040038CB RID: 14539
	private static readonly IntPtr NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0;

	// Token: 0x040038CC RID: 14540
	private static readonly IntPtr NativeMethodInfoPtr_UpdateSize_Private_Void_Vector2_0;

	// Token: 0x040038CD RID: 14541
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
