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

// Token: 0x02000287 RID: 647
[Token(Token = "0x2000287")]
public class UISkinIcon : MonoBehaviour
{
	// Token: 0x060018E3 RID: 6371 RVA: 0x0003C664 File Offset: 0x0003A864
	[Token(Token = "0x60018E3")]
	[Address(RVA = "0x18A95E0", Offset = "0x18A83E0", VA = "0x1818A95E0")]
	public void Setup(int index, int currentSelection)
	{
		this.index = index;
		int num = 0;
		this.UpdatePosition(num);
	}

	// Token: 0x060018E4 RID: 6372 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60018E4")]
	[Address(RVA = "0x18A96E0", Offset = "0x18A84E0", VA = "0x1818A96E0")]
	public void UpdatePosition(int currentSelection)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060018E5 RID: 6373 RVA: 0x0003C684 File Offset: 0x0003A884
	[Token(Token = "0x60018E5")]
	[Address(RVA = "0x18A9AC0", Offset = "0x18A88C0", VA = "0x1818A9AC0")]
	public void UpdateUnlockedState(bool unlocked)
	{
		Image image = this.icon;
		if (unlocked)
		{
		}
		Sprite sprite = this.maskSprite;
		image.overrideSprite = sprite;
		this.questionMark.gameObject.SetActive(unlocked);
	}

	// Token: 0x060018E6 RID: 6374 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60018E6")]
	[Address(RVA = "0x18A95F0", Offset = "0x18A83F0", VA = "0x1818A95F0")]
	public void Slide(Sequence seq, int currentSkin, float duration)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060018E7 RID: 6375 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60018E7")]
	[Address(RVA = "0x18A9900", Offset = "0x18A8700", VA = "0x1818A9900")]
	private void UpdateScrollState()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060018E8 RID: 6376 RVA: 0x0003C6C4 File Offset: 0x0003A8C4
	[Token(Token = "0x60018E8")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public UISkinIcon()
	{
	}

	// Token: 0x040022C8 RID: 8904
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40022C8")]
	[SerializeField]
	private int index;

	// Token: 0x040022C9 RID: 8905
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40022C9")]
	[SerializeField]
	private RectTransform root;

	// Token: 0x040022CA RID: 8906
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x40022CA")]
	[SerializeField]
	private Image icon;

	// Token: 0x040022CB RID: 8907
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x40022CB")]
	[SerializeField]
	private Text questionMark;

	// Token: 0x040022CC RID: 8908
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x40022CC")]
	[SerializeField]
	private Sprite maskSprite;
}
