using System;
using Cpp2IlInjected;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x020002D2 RID: 722
[Token(Token = "0x20002D2")]
public class UISkinIcon : MonoBehaviour
{
	// Token: 0x06001B0F RID: 6927 RVA: 0x00042008 File Offset: 0x00040208
	[Token(Token = "0x6001B0F")]
	[Address(RVA = "0x95D090", Offset = "0x95C090", VA = "0x18095D090")]
	public void Setup(int index, int currentSelection)
	{
		this.index = index;
		int num = 0;
		this.UpdatePosition(num);
	}

	// Token: 0x06001B10 RID: 6928 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B10")]
	[Address(RVA = "0x95D190", Offset = "0x95C190", VA = "0x18095D190")]
	public void UpdatePosition(int currentSelection)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B11 RID: 6929 RVA: 0x00042028 File Offset: 0x00040228
	[Token(Token = "0x6001B11")]
	[Address(RVA = "0x95D570", Offset = "0x95C570", VA = "0x18095D570")]
	public void UpdateUnlockedState(bool unlocked)
	{
		Image image = this.icon;
		if (unlocked)
		{
		}
		Sprite sprite = this.maskSprite;
		image.overrideSprite = sprite;
		this.questionMark.gameObject.SetActive(unlocked);
	}

	// Token: 0x06001B12 RID: 6930 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B12")]
	[Address(RVA = "0x95D0A0", Offset = "0x95C0A0", VA = "0x18095D0A0")]
	public void Slide(Sequence seq, int currentSkin, float duration)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B13 RID: 6931 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B13")]
	[Address(RVA = "0x95D3B0", Offset = "0x95C3B0", VA = "0x18095D3B0")]
	private void UpdateScrollState()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B14 RID: 6932 RVA: 0x00042068 File Offset: 0x00040268
	[Token(Token = "0x6001B14")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public UISkinIcon()
	{
	}

	// Token: 0x0400251B RID: 9499
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400251B")]
	[SerializeField]
	private int index;

	// Token: 0x0400251C RID: 9500
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x400251C")]
	[SerializeField]
	private RectTransform root;

	// Token: 0x0400251D RID: 9501
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x400251D")]
	[SerializeField]
	private Image icon;

	// Token: 0x0400251E RID: 9502
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400251E")]
	[SerializeField]
	private Text questionMark;

	// Token: 0x0400251F RID: 9503
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x400251F")]
	[SerializeField]
	private Sprite maskSprite;
}
