using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using MEC;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x02000322 RID: 802
[Token(Token = "0x2000322")]
public class UIPlayersSubStats : MonoBehaviour
{
	// Token: 0x06001D47 RID: 7495 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D47")]
	[Address(RVA = "0x94AC40", Offset = "0x949C40", VA = "0x18094AC40")]
	public void Init()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D48 RID: 7496 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D48")]
	[Address(RVA = "0x94C0D0", Offset = "0x94B0D0", VA = "0x18094C0D0")]
	public void UpdateCurse()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D49 RID: 7497 RVA: 0x00046150 File Offset: 0x00044350
	[Token(Token = "0x6001D49")]
	[Address(RVA = "0x94C360", Offset = "0x94B360", VA = "0x18094C360")]
	public void UpdateMoney(float moneyValue)
	{
		int num = Mathf.RoundToInt(moneyValue);
		this.newMoneyValue = num;
		this.isMoneyValueDirty = true;
		this.moneyShowTime = 6f;
	}

	// Token: 0x06001D4A RID: 7498 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D4A")]
	[Address(RVA = "0x94B880", Offset = "0x94A880", VA = "0x18094B880")]
	public void SetPassiveEvent(PassiveEvent.PassiveEventType type, PassiveEvent eventTarget)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D4B RID: 7499 RVA: 0x00046180 File Offset: 0x00044380
	[Token(Token = "0x6001D4B")]
	[Address(RVA = "0x94B870", Offset = "0x94A870", VA = "0x18094B870")]
	public void SetHideMoneyFlag(bool isHide)
	{
		this.isMoneyValueHide = isHide;
	}

	// Token: 0x06001D4C RID: 7500 RVA: 0x00046194 File Offset: 0x00044394
	[Token(Token = "0x6001D4C")]
	[Address(RVA = "0x94AB80", Offset = "0x949B80", VA = "0x18094AB80")]
	public void Dispose()
	{
		CoroutineHandle[] array = new CoroutineHandle[2];
		int length = array.Length;
		CoroutineHandle coroutineHandle = this.tickProcessor;
		array[0] = coroutineHandle;
		CoroutineHandle coroutineHandle2 = this.curseProcessor;
		array[0] = coroutineHandle2;
		int num = Timing.KillCoroutines(array);
	}

	// Token: 0x06001D4D RID: 7501 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D4D")]
	[Address(RVA = "0x94BA00", Offset = "0x94AA00", VA = "0x18094BA00")]
	private IEnumerator<float> Tick()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D4E RID: 7502 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D4E")]
	[Address(RVA = "0x94C270", Offset = "0x94B270", VA = "0x18094C270")]
	private void UpdateMoneyValue()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D4F RID: 7503 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D4F")]
	[Address(RVA = "0x94AEA0", Offset = "0x949EA0", VA = "0x18094AEA0")]
	private void SetDigitNumberDirty()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D50 RID: 7504 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D50")]
	[Address(RVA = "0x94B990", Offset = "0x94A990", VA = "0x18094B990")]
	private IEnumerator<float> ShowCurseImg()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D51 RID: 7505 RVA: 0x000461DC File Offset: 0x000443DC
	[Token(Token = "0x6001D51")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public UIPlayersSubStats()
	{
	}

	// Token: 0x06001D52 RID: 7506 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D52")]
	[Address(RVA = "0x94BC20", Offset = "0x94AC20", VA = "0x18094BC20")]
	[CompilerGenerated]
	internal static string <SetPassiveEvent>g__GetPromptText|19_0(ref UIPlayersSubStats.<>c__DisplayClass19_0 cpp2il__autoParamName__idx_0)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D53 RID: 7507 RVA: 0x000461F0 File Offset: 0x000443F0
	[Token(Token = "0x6001D53")]
	[Address(RVA = "0x94BA70", Offset = "0x94AA70", VA = "0x18094BA70")]
	[CompilerGenerated]
	internal static string <SetPassiveEvent>g__GetItemText|19_1(PassiveEvent source)
	{
		Item component = source.GetComponent<Item>();
		int num = 0;
		if (component != num)
		{
			string text = Game.<UISystemText>k__BackingField.GetText(49);
			ItemSystem itemManager = Game.GetItemManager();
			ItemSystem.ItemType currentItemType = component.currentItemType;
			string itemName = itemManager.GetItemName(currentItemType);
			return text.Replace("#", itemName);
		}
		string name = source.name;
		return "Null item: " + name;
	}

	// Token: 0x0400277C RID: 10108
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400277C")]
	[SerializeField]
	private Image moneySoulImg;

	// Token: 0x0400277D RID: 10109
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x400277D")]
	[SerializeField]
	private Image moneyBottomImg;

	// Token: 0x0400277E RID: 10110
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x400277E")]
	[SerializeField]
	private Image curseImg;

	// Token: 0x0400277F RID: 10111
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400277F")]
	[SerializeField]
	private Image[] moneyDigitImgs;

	// Token: 0x04002780 RID: 10112
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002780")]
	private int oriMoneyValue;

	// Token: 0x04002781 RID: 10113
	[FieldOffset(Offset = "0x3C")]
	[Token(Token = "0x4002781")]
	private int newMoneyValue;

	// Token: 0x04002782 RID: 10114
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002782")]
	private bool isMoneyValueDirty;

	// Token: 0x04002783 RID: 10115
	[FieldOffset(Offset = "0x41")]
	[Token(Token = "0x4002783")]
	private bool isMoneyValueHide;

	// Token: 0x04002784 RID: 10116
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x4002784")]
	private float moneyShowTime;

	// Token: 0x04002785 RID: 10117
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4002785")]
	private float moneyAlpha;

	// Token: 0x04002786 RID: 10118
	[FieldOffset(Offset = "0x4C")]
	[Token(Token = "0x4002786")]
	private float curseAlpha;

	// Token: 0x04002787 RID: 10119
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4002787")]
	private float curseAlphaCos;

	// Token: 0x04002788 RID: 10120
	[Token(Token = "0x4002788")]
	private const float MONEY_UPDATE_DELTA = 0.01f;

	// Token: 0x04002789 RID: 10121
	[Token(Token = "0x4002789")]
	private const float MONEY_SHOW_DURATION = 6f;

	// Token: 0x0400278A RID: 10122
	[FieldOffset(Offset = "0x54")]
	[Token(Token = "0x400278A")]
	private CoroutineHandle tickProcessor;

	// Token: 0x0400278B RID: 10123
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x400278B")]
	private CoroutineHandle curseProcessor;
}
