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

// Token: 0x020002D0 RID: 720
[Token(Token = "0x20002D0")]
public class UIPlayerStats : MonoBehaviour
{
	// Token: 0x06001ADC RID: 6876 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001ADC")]
	[Address(RVA = "0x1028AF0", Offset = "0x10278F0", VA = "0x181028AF0")]
	public void Init()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001ADD RID: 6877 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001ADD")]
	[Address(RVA = "0x1029A70", Offset = "0x1028870", VA = "0x181029A70")]
	public void UpdatePlayerValueVisible(float alphaValue)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001ADE RID: 6878 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001ADE")]
	[Address(RVA = "0x1029750", Offset = "0x1028550", VA = "0x181029750")]
	public void UpdatePlayerHP(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001ADF RID: 6879 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001ADF")]
	[Address(RVA = "0x1029850", Offset = "0x1028650", VA = "0x181029850")]
	public void UpdatePlayerMP(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE0 RID: 6880 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AE0")]
	[Address(RVA = "0x1029960", Offset = "0x1028760", VA = "0x181029960")]
	public void UpdatePlayerSP(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE1 RID: 6881 RVA: 0x00040424 File Offset: 0x0003E624
	[Token(Token = "0x6001AE1")]
	[Address(RVA = "0x1029210", Offset = "0x1028010", VA = "0x181029210")]
	public void Localize(LocalizationData data)
	{
		GameFontPack fontPack = data.fontPack;
		Text text = this.hpLabel;
		Font regular = fontPack.regular;
		text.font = regular;
		GameFontPack fontPack2 = data.fontPack;
		Text text2 = this.mpLabel;
		Font regular2 = fontPack2.regular;
		text2.font = regular2;
		GameFontPack fontPack3 = data.fontPack;
		Text text3 = this.spLabel;
		Font regular3 = fontPack3.regular;
		text3.font = regular3;
	}

	// Token: 0x06001AE2 RID: 6882 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AE2")]
	[Address(RVA = "0x1028A90", Offset = "0x1027890", VA = "0x181028A90")]
	public void Dispose()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE3 RID: 6883 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AE3")]
	[Address(RVA = "0x10295E0", Offset = "0x10283E0", VA = "0x1810295E0")]
	private IEnumerator<float> Tick()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE4 RID: 6884 RVA: 0x00040498 File Offset: 0x0003E698
	[Token(Token = "0x6001AE4")]
	[Address(RVA = "0x1028970", Offset = "0x1027770", VA = "0x181028970")]
	private void CheckPlayerValueVisible()
	{
		bool flag = Game.IsOverlayUIOpened();
		float num = this.playerValueAlpha;
		if (!flag)
		{
			int num2 = 0;
			if (num <= (float)num2)
			{
				return;
			}
			float num3 = Game.GetGameDeltaTime() * 2f;
			int num4 = 0;
			num3 = num;
			float num5 = Mathf.Max(num3, (float)num4);
		}
		float num6 = Mathf.Min(Game.GetGameDeltaTime() * 2f, 1f);
		this.playerValueAlpha = num6;
		Game.UpdatePlayerValueVisible(num6);
	}

	// Token: 0x06001AE5 RID: 6885 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AE5")]
	[Address(RVA = "0x1028120", Offset = "0x1026F20", VA = "0x181028120")]
	private void CheckPlayerHP()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE6 RID: 6886 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AE6")]
	[Address(RVA = "0x10292A0", Offset = "0x10280A0", VA = "0x1810292A0")]
	private void SetHPLabelDirty(bool markDirty)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE7 RID: 6887 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AE7")]
	[Address(RVA = "0x1029650", Offset = "0x1028450", VA = "0x181029650")]
	private IEnumerator<float> UpdateHPBar(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE8 RID: 6888 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AE8")]
	[Address(RVA = "0x1028360", Offset = "0x1027160", VA = "0x181028360")]
	private void CheckPlayerMP()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AE9 RID: 6889 RVA: 0x00040508 File Offset: 0x0003E708
	[Token(Token = "0x6001AE9")]
	[Address(RVA = "0x10293A0", Offset = "0x10281A0", VA = "0x1810293A0")]
	private void SetMPLabelDirty(bool markDirty)
	{
		if (markDirty)
		{
			Text text = this.mpLabel;
			CharacterBaseData playerCharData = Game.GetPlayerCharData();
			float g_fMP = playerCharData.g_fMP;
			CharacterBaseData playerCharData2 = Game.GetPlayerCharData();
			float g_fMPMax = playerCharData2.g_fMPMax;
			string text2 = string.Format("{0} / {1}", playerCharData, playerCharData2);
			text.text = text2;
		}
	}

	// Token: 0x06001AEA RID: 6890 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AEA")]
	[Address(RVA = "0x10296D0", Offset = "0x10284D0", VA = "0x1810296D0")]
	private IEnumerator<float> UpdateMPBar(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AEB RID: 6891 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AEB")]
	[Address(RVA = "0x10285C0", Offset = "0x10273C0", VA = "0x1810285C0")]
	private void CheckPlayerSP()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AEC RID: 6892 RVA: 0x00040560 File Offset: 0x0003E760
	[Token(Token = "0x6001AEC")]
	[Address(RVA = "0x10294C0", Offset = "0x10282C0", VA = "0x1810294C0")]
	private void SetSPLabelDirty(bool markDirty)
	{
		if (markDirty)
		{
			Text text = this.spLabel;
			CharacterBaseData playerCharData = Game.GetPlayerCharData();
			float g_fSP = playerCharData.g_fSP;
			CharacterBaseData playerCharData2 = Game.GetPlayerCharData();
			float g_fSPMax = playerCharData2.g_fSPMax;
			string text2 = string.Format("{0} / {1}", playerCharData, playerCharData2);
			text.text = text2;
		}
	}

	// Token: 0x06001AED RID: 6893 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001AED")]
	[Address(RVA = "0x1029C00", Offset = "0x1028A00", VA = "0x181029C00")]
	private IEnumerator<float> UpdateSPCureBar()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001AEE RID: 6894 RVA: 0x000405B8 File Offset: 0x0003E7B8
	[Token(Token = "0x6001AEE")]
	[Address(RVA = "0x1029C70", Offset = "0x1028A70", VA = "0x181029C70")]
	public UIPlayerStats()
	{
	}

	// Token: 0x040024CE RID: 9422
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40024CE")]
	private PlayerMagicData g_PlayerMagicData;

	// Token: 0x040024CF RID: 9423
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40024CF")]
	[SerializeField]
	private RectTransform hpBar;

	// Token: 0x040024D0 RID: 9424
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x40024D0")]
	[SerializeField]
	private RectTransform hpBarFrame;

	// Token: 0x040024D1 RID: 9425
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x40024D1")]
	[SerializeField]
	private Image hpWarningBarFrame;

	// Token: 0x040024D2 RID: 9426
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x40024D2")]
	[SerializeField]
	private Text hpLabel;

	// Token: 0x040024D3 RID: 9427
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x40024D3")]
	[SerializeField]
	private Image hpLabelBg;

	// Token: 0x040024D4 RID: 9428
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x40024D4")]
	[SerializeField]
	private Image hpCureBarFrame;

	// Token: 0x040024D5 RID: 9429
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x40024D5")]
	private CoroutineHandle hpBarProcessor;

	// Token: 0x040024D6 RID: 9430
	[FieldOffset(Offset = "0x54")]
	[Token(Token = "0x40024D6")]
	private float hpBarFrameScale = 1f;

	// Token: 0x040024D7 RID: 9431
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x40024D7")]
	private float hpWarningDelta;

	// Token: 0x040024D8 RID: 9432
	[FieldOffset(Offset = "0x5C")]
	[Token(Token = "0x40024D8")]
	private float hpWarningCos;

	// Token: 0x040024D9 RID: 9433
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x40024D9")]
	[SerializeField]
	private RectTransform mpBar;

	// Token: 0x040024DA RID: 9434
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x40024DA")]
	[SerializeField]
	private RectTransform mpBarFrame;

	// Token: 0x040024DB RID: 9435
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x40024DB")]
	[SerializeField]
	private Image mpWarningBarFrame;

	// Token: 0x040024DC RID: 9436
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x40024DC")]
	[SerializeField]
	private Text mpLabel;

	// Token: 0x040024DD RID: 9437
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x40024DD")]
	[SerializeField]
	private Image mpLabelBg;

	// Token: 0x040024DE RID: 9438
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x40024DE")]
	[SerializeField]
	private Image mpCureBarFrame;

	// Token: 0x040024DF RID: 9439
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x40024DF")]
	private CoroutineHandle mpBarProcessor;

	// Token: 0x040024E0 RID: 9440
	[FieldOffset(Offset = "0x94")]
	[Token(Token = "0x40024E0")]
	private float mpBarFrameScale = 1f;

	// Token: 0x040024E1 RID: 9441
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x40024E1")]
	private float mpWarningDelta;

	// Token: 0x040024E2 RID: 9442
	[FieldOffset(Offset = "0x9C")]
	[Token(Token = "0x40024E2")]
	private float mpWarningCos;

	// Token: 0x040024E3 RID: 9443
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x40024E3")]
	[SerializeField]
	private RectTransform spBar;

	// Token: 0x040024E4 RID: 9444
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x40024E4")]
	[SerializeField]
	private RectTransform spBarFrame;

	// Token: 0x040024E5 RID: 9445
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x40024E5")]
	[SerializeField]
	private Image spWarningBarFrame;

	// Token: 0x040024E6 RID: 9446
	[FieldOffset(Offset = "0xB8")]
	[Token(Token = "0x40024E6")]
	[SerializeField]
	private Text spLabel;

	// Token: 0x040024E7 RID: 9447
	[FieldOffset(Offset = "0xC0")]
	[Token(Token = "0x40024E7")]
	[SerializeField]
	private Image spLabelBg;

	// Token: 0x040024E8 RID: 9448
	[FieldOffset(Offset = "0xC8")]
	[Token(Token = "0x40024E8")]
	[SerializeField]
	private Image spCureBarFrame;

	// Token: 0x040024E9 RID: 9449
	[FieldOffset(Offset = "0xD0")]
	[Token(Token = "0x40024E9")]
	private CoroutineHandle spBarProcessor;

	// Token: 0x040024EA RID: 9450
	[FieldOffset(Offset = "0xD4")]
	[Token(Token = "0x40024EA")]
	private float spBarFrameScale = 1f;

	// Token: 0x040024EB RID: 9451
	[FieldOffset(Offset = "0xD8")]
	[Token(Token = "0x40024EB")]
	private float spWarningDelta;

	// Token: 0x040024EC RID: 9452
	[FieldOffset(Offset = "0xDC")]
	[Token(Token = "0x40024EC")]
	private float spWarningCos;

	// Token: 0x040024ED RID: 9453
	[FieldOffset(Offset = "0xE0")]
	[Token(Token = "0x40024ED")]
	private float playerValueAlpha;

	// Token: 0x040024EE RID: 9454
	[FieldOffset(Offset = "0xE4")]
	[Token(Token = "0x40024EE")]
	private CoroutineHandle processor;
}
