using System;
using Cpp2IlInjected;
using DG.Tweening;
using DG.Tweening.Core;
using DG.Tweening.Plugins.Options;
using MarsSDK;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x020002A5 RID: 677
[Token(Token = "0x20002A5")]
public class UIGameSaveDeleteHandler : UIHandlerBase
{
	// Token: 0x170000FC RID: 252
	// (get) Token: 0x06001959 RID: 6489 RVA: 0x0003E018 File Offset: 0x0003C218
	[Token(Token = "0x170000FC")]
	public Image Icon
	{
		[Token(Token = "0x6001959")]
		[Address(RVA = "0x33F340", Offset = "0x33E340", VA = "0x18033F340")]
		get
		{
			return this.icon;
		}
	}

	// Token: 0x0600195A RID: 6490 RVA: 0x0003E02C File Offset: 0x0003C22C
	[Token(Token = "0x600195A")]
	[Address(RVA = "0x19DDA50", Offset = "0x19DCA50", VA = "0x1819DDA50")]
	public void EnableLabel(bool enable)
	{
		this.icon.enabled = enable;
	}

	// Token: 0x0600195B RID: 6491 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600195B")]
	[Address(RVA = "0x19DDB90", Offset = "0x19DCB90", VA = "0x1819DDB90")]
	public void SetColor(Color color)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600195C RID: 6492 RVA: 0x0003E04C File Offset: 0x0003C24C
	[Token(Token = "0x600195C")]
	[Address(RVA = "0x760510", Offset = "0x75F510", VA = "0x180760510")]
	public void UpdateScaleEffectFlag(bool enable)
	{
		this.canPlayScaleEffect = enable;
	}

	// Token: 0x0600195D RID: 6493 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600195D")]
	[Address(RVA = "0x19DDB00", Offset = "0x19DCB00", VA = "0x1819DDB00", Slot = "8")]
	public override void OnSelect()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600195E RID: 6494 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600195E")]
	[Address(RVA = "0x19DDA70", Offset = "0x19DCA70", VA = "0x1819DDA70", Slot = "9")]
	public override void OnDeselect()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600195F RID: 6495 RVA: 0x0003E060 File Offset: 0x0003C260
	[Token(Token = "0x600195F")]
	[Address(RVA = "0x19DDBD0", Offset = "0x19DCBD0", VA = "0x1819DDBD0")]
	private void UpdateSize(Vector2 size)
	{
		if (this.canPlayScaleEffect)
		{
			Image image = this.icon;
			int num = 0;
			RectTransform rectTransform = image.rectTransform;
			int num2 = 0;
			TweenerCore<Vector2, Vector2, VectorOptions> tweenerCore = DOTweenModuleUI.DOSizeDelta(rectTransform, num, 0.2f, num2 != 0).SetEase((Ease)((uint)3)).SetUpdate(true)
				.Play<TweenerCore<Vector2, Vector2, VectorOptions>>();
		}
	}

	// Token: 0x06001960 RID: 6496 RVA: 0x0003E0B0 File Offset: 0x0003C2B0
	[Token(Token = "0x6001960")]
	[Address(RVA = "0x19DDCA0", Offset = "0x19DCCA0", VA = "0x1819DDCA0")]
	public UIGameSaveDeleteHandler()
	{
	}

	// Token: 0x040023DF RID: 9183
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x40023DF")]
	[SerializeField]
	private Image icon;

	// Token: 0x040023E0 RID: 9184
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x40023E0")]
	private bool canPlayScaleEffect = true;
}
