using System;
using System.Xml;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x020002C9 RID: 713
[Token(Token = "0x20002C9")]
public class UIItem : MonoBehaviour
{
	// Token: 0x06001AA7 RID: 6823 RVA: 0x0003FBB4 File Offset: 0x0003DDB4
	[Token(Token = "0x6001AA7")]
	[Address(RVA = "0x76D900", Offset = "0x76C700", VA = "0x18076D900")]
	public void InitData()
	{
		Image component = base.transform.Find("Item_BG").GetComponent<Image>();
		this.g_ItemBG = component;
		Image component2 = base.transform.Find("Item_Type").GetComponent<Image>();
		this.g_ItemImg = component2;
		Text component3 = base.transform.Find("TextNum").GetComponent<Text>();
		this.g_TextNum = component3;
		throw new NullReferenceException();
	}

	// Token: 0x06001AA8 RID: 6824 RVA: 0x0003FC20 File Offset: 0x0003DE20
	[Token(Token = "0x6001AA8")]
	[Address(RVA = "0x76DB10", Offset = "0x76C910", VA = "0x18076DB10")]
	public void SetItemSprite(Sprite ItemSprite)
	{
		this.g_ItemImg.sprite = ItemSprite;
	}

	// Token: 0x06001AA9 RID: 6825 RVA: 0x0003FC40 File Offset: 0x0003DE40
	[Token(Token = "0x6001AA9")]
	[Address(RVA = "0x76DB30", Offset = "0x76C930", VA = "0x18076DB30")]
	public void SetTextNumber(string TextNumber)
	{
		bool dtdValidation = ((IDtdParserAdapterWithValidation)this.g_TextNum).DtdValidation;
	}

	// Token: 0x06001AAA RID: 6826 RVA: 0x0003FC60 File Offset: 0x0003DE60
	[Token(Token = "0x6001AAA")]
	[Address(RVA = "0x76DAE0", Offset = "0x76C8E0", VA = "0x18076DAE0")]
	public void SetFont(GameFontPack fontPack)
	{
		Text text = this.g_TextNum;
		Font light = fontPack.light;
		text.font = light;
	}

	// Token: 0x06001AAB RID: 6827 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AAB")]
	[Address(RVA = "0x76DA40", Offset = "0x76C840", VA = "0x18076DA40")]
	public void SetColor(Color Col)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AAC RID: 6828 RVA: 0x0003FC88 File Offset: 0x0003DE88
	[Token(Token = "0x6001AAC")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public UIItem()
	{
	}

	// Token: 0x04002498 RID: 9368
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002498")]
	private Image g_ItemBG;

	// Token: 0x04002499 RID: 9369
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002499")]
	private Image g_ItemImg;

	// Token: 0x0400249A RID: 9370
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x400249A")]
	private Text g_TextNum;
}
