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

// Token: 0x0200031D RID: 797
[Token(Token = "0x200031D")]
public class UIPlayerStats : MonoBehaviour
{
	// Token: 0x06001D1C RID: 7452 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D1C")]
	[Address(RVA = "0x9499D0", Offset = "0x9489D0", VA = "0x1809499D0")]
	public void Init()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D1D RID: 7453 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D1D")]
	[Address(RVA = "0x94A950", Offset = "0x949950", VA = "0x18094A950")]
	public void UpdatePlayerValueVisible(float alphaValue)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D1E RID: 7454 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D1E")]
	[Address(RVA = "0x94A630", Offset = "0x949630", VA = "0x18094A630")]
	public void UpdatePlayerHP(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D1F RID: 7455 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D1F")]
	[Address(RVA = "0x94A730", Offset = "0x949730", VA = "0x18094A730")]
	public void UpdatePlayerMP(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D20 RID: 7456 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D20")]
	[Address(RVA = "0x94A840", Offset = "0x949840", VA = "0x18094A840")]
	public void UpdatePlayerSP(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D21 RID: 7457 RVA: 0x00045E08 File Offset: 0x00044008
	[Token(Token = "0x6001D21")]
	[Address(RVA = "0x94A0F0", Offset = "0x9490F0", VA = "0x18094A0F0")]
	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: 0x06001D22 RID: 7458 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D22")]
	[Address(RVA = "0x949970", Offset = "0x948970", VA = "0x180949970")]
	public void Dispose()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D23 RID: 7459 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D23")]
	[Address(RVA = "0x94A4C0", Offset = "0x9494C0", VA = "0x18094A4C0")]
	private IEnumerator<float> Tick()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D24 RID: 7460 RVA: 0x00045E7C File Offset: 0x0004407C
	[Token(Token = "0x6001D24")]
	[Address(RVA = "0x949850", Offset = "0x948850", VA = "0x180949850")]
	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: 0x06001D25 RID: 7461 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D25")]
	[Address(RVA = "0x949000", Offset = "0x948000", VA = "0x180949000")]
	private void CheckPlayerHP()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D26 RID: 7462 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D26")]
	[Address(RVA = "0x94A180", Offset = "0x949180", VA = "0x18094A180")]
	private void SetHPLabelDirty(bool markDirty)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D27 RID: 7463 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D27")]
	[Address(RVA = "0x94A530", Offset = "0x949530", VA = "0x18094A530")]
	private IEnumerator<float> UpdateHPBar(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D28 RID: 7464 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D28")]
	[Address(RVA = "0x949240", Offset = "0x948240", VA = "0x180949240")]
	private void CheckPlayerMP()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D29 RID: 7465 RVA: 0x00045EEC File Offset: 0x000440EC
	[Token(Token = "0x6001D29")]
	[Address(RVA = "0x94A280", Offset = "0x949280", VA = "0x18094A280")]
	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: 0x06001D2A RID: 7466 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D2A")]
	[Address(RVA = "0x94A5B0", Offset = "0x9495B0", VA = "0x18094A5B0")]
	private IEnumerator<float> UpdateMPBar(bool isCured)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D2B RID: 7467 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D2B")]
	[Address(RVA = "0x9494A0", Offset = "0x9484A0", VA = "0x1809494A0")]
	private void CheckPlayerSP()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D2C RID: 7468 RVA: 0x00045F44 File Offset: 0x00044144
	[Token(Token = "0x6001D2C")]
	[Address(RVA = "0x94A3A0", Offset = "0x9493A0", VA = "0x18094A3A0")]
	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: 0x06001D2D RID: 7469 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001D2D")]
	[Address(RVA = "0x94AAE0", Offset = "0x949AE0", VA = "0x18094AAE0")]
	private IEnumerator<float> UpdateSPCureBar()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001D2E RID: 7470 RVA: 0x00045F9C File Offset: 0x0004419C
	[Token(Token = "0x6001D2E")]
	[Address(RVA = "0x94AB50", Offset = "0x949B50", VA = "0x18094AB50")]
	public UIPlayerStats()
	{
	}

	// Token: 0x04002748 RID: 10056
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002748")]
	private PlayerMagicData g_PlayerMagicData;

	// Token: 0x04002749 RID: 10057
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002749")]
	[SerializeField]
	private RectTransform hpBar;

	// Token: 0x0400274A RID: 10058
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x400274A")]
	[SerializeField]
	private RectTransform hpBarFrame;

	// Token: 0x0400274B RID: 10059
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400274B")]
	[SerializeField]
	private Image hpWarningBarFrame;

	// Token: 0x0400274C RID: 10060
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x400274C")]
	[SerializeField]
	private Text hpLabel;

	// Token: 0x0400274D RID: 10061
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x400274D")]
	[SerializeField]
	private Image hpLabelBg;

	// Token: 0x0400274E RID: 10062
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x400274E")]
	[SerializeField]
	private Image hpCureBarFrame;

	// Token: 0x0400274F RID: 10063
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x400274F")]
	private CoroutineHandle hpBarProcessor;

	// Token: 0x04002750 RID: 10064
	[FieldOffset(Offset = "0x54")]
	[Token(Token = "0x4002750")]
	private float hpBarFrameScale = 1f;

	// Token: 0x04002751 RID: 10065
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x4002751")]
	private float hpWarningDelta;

	// Token: 0x04002752 RID: 10066
	[FieldOffset(Offset = "0x5C")]
	[Token(Token = "0x4002752")]
	private float hpWarningCos;

	// Token: 0x04002753 RID: 10067
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4002753")]
	[SerializeField]
	private RectTransform mpBar;

	// Token: 0x04002754 RID: 10068
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4002754")]
	[SerializeField]
	private RectTransform mpBarFrame;

	// Token: 0x04002755 RID: 10069
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4002755")]
	[SerializeField]
	private Image mpWarningBarFrame;

	// Token: 0x04002756 RID: 10070
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4002756")]
	[SerializeField]
	private Text mpLabel;

	// Token: 0x04002757 RID: 10071
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4002757")]
	[SerializeField]
	private Image mpLabelBg;

	// Token: 0x04002758 RID: 10072
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x4002758")]
	[SerializeField]
	private Image mpCureBarFrame;

	// Token: 0x04002759 RID: 10073
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x4002759")]
	private CoroutineHandle mpBarProcessor;

	// Token: 0x0400275A RID: 10074
	[FieldOffset(Offset = "0x94")]
	[Token(Token = "0x400275A")]
	private float mpBarFrameScale = 1f;

	// Token: 0x0400275B RID: 10075
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x400275B")]
	private float mpWarningDelta;

	// Token: 0x0400275C RID: 10076
	[FieldOffset(Offset = "0x9C")]
	[Token(Token = "0x400275C")]
	private float mpWarningCos;

	// Token: 0x0400275D RID: 10077
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x400275D")]
	[SerializeField]
	private RectTransform spBar;

	// Token: 0x0400275E RID: 10078
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x400275E")]
	[SerializeField]
	private RectTransform spBarFrame;

	// Token: 0x0400275F RID: 10079
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x400275F")]
	[SerializeField]
	private Image spWarningBarFrame;

	// Token: 0x04002760 RID: 10080
	[FieldOffset(Offset = "0xB8")]
	[Token(Token = "0x4002760")]
	[SerializeField]
	private Text spLabel;

	// Token: 0x04002761 RID: 10081
	[FieldOffset(Offset = "0xC0")]
	[Token(Token = "0x4002761")]
	[SerializeField]
	private Image spLabelBg;

	// Token: 0x04002762 RID: 10082
	[FieldOffset(Offset = "0xC8")]
	[Token(Token = "0x4002762")]
	[SerializeField]
	private Image spCureBarFrame;

	// Token: 0x04002763 RID: 10083
	[FieldOffset(Offset = "0xD0")]
	[Token(Token = "0x4002763")]
	private CoroutineHandle spBarProcessor;

	// Token: 0x04002764 RID: 10084
	[FieldOffset(Offset = "0xD4")]
	[Token(Token = "0x4002764")]
	private float spBarFrameScale = 1f;

	// Token: 0x04002765 RID: 10085
	[FieldOffset(Offset = "0xD8")]
	[Token(Token = "0x4002765")]
	private float spWarningDelta;

	// Token: 0x04002766 RID: 10086
	[FieldOffset(Offset = "0xDC")]
	[Token(Token = "0x4002766")]
	private float spWarningCos;

	// Token: 0x04002767 RID: 10087
	[FieldOffset(Offset = "0xE0")]
	[Token(Token = "0x4002767")]
	private float playerValueAlpha;

	// Token: 0x04002768 RID: 10088
	[FieldOffset(Offset = "0xE4")]
	[Token(Token = "0x4002768")]
	private CoroutineHandle processor;
}
