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

// Token: 0x0200026C RID: 620
[Token(Token = "0x200026C")]
public class UISettlement : UIHistory
{
	// Token: 0x06001726 RID: 5926 RVA: 0x00034684 File Offset: 0x00032884
	[Token(Token = "0x6001726")]
	[Address(RVA = "0x95CC10", Offset = "0x95BC10", VA = "0x18095CC10", Slot = "11")]
	public override void Init()
	{
		UINavigator navigator2;
		UIHandlerBase[] array2;
		UILabelHandler confirmHandler4;
		for (;;)
		{
			UILabelHandler confirmHandler = this.confirmHandler;
			Action<UIHandlerBase> action = new Action(base.OnHandlerSelected);
			confirmHandler.onSelectedHandler = action;
			UILabelHandler confirmHandler2 = this.confirmHandler;
			Action<UIHandlerBase> action2 = new Action(base.OnHandlerDeselected);
			confirmHandler2.onDeselectedHandler = action2;
			UINavigator navigator = this.navigator;
			UIHandlerBase[] array = new UIHandlerBase[1];
			UILabelHandler confirmHandler3 = this.confirmHandler;
			if (confirmHandler3 == 0 || array != 0)
			{
				array[0] = confirmHandler3;
				navigator.BindPointerEnterEvent(array);
				navigator2 = this.navigator;
				array2 = new UIHandlerBase[1];
				confirmHandler4 = this.confirmHandler;
				if (confirmHandler4 == 0 || array2 != 0)
				{
					break;
				}
			}
		}
		array2[0] = confirmHandler4;
		navigator2.BindPointerExitEvent(array2);
		this.g_iSwitchStageNumber = (int)((ulong)4294967295L);
	}

	// Token: 0x06001727 RID: 5927 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001727")]
	[Address(RVA = "0x95C990", Offset = "0x95B990", VA = "0x18095C990", Slot = "12")]
	protected override void Appear(Action completeHandler)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001728 RID: 5928 RVA: 0x0003474C File Offset: 0x0003294C
	[Token(Token = "0x6001728")]
	[Address(RVA = "0x95CE40", Offset = "0x95BE40", VA = "0x18095CE40", Slot = "25")]
	public override void Localize(LocalizationData data)
	{
		Text title = this.title;
		string text = data.systemText.GetText(1312);
		title.text = text;
		GameFontPack fontPack = data.fontPack;
		Text title2 = this.title;
		Font light = fontPack.light;
		title2.font = light;
		this.topHandlers[0].Localize(data, 341);
		this.topHandlers[1].Localize(data, 349);
		this.topHandlers[2].Localize(data, 350);
		GameTextData systemText = data.systemText;
		UILabelHandler confirmHandler = this.confirmHandler;
		string text2 = systemText.GetText(16);
		confirmHandler.SetLabel(text2);
		GameFontPack fontPack2 = data.fontPack;
		UILabelHandler confirmHandler2 = this.confirmHandler;
		Font medium = fontPack2.medium;
		confirmHandler2.SetFont(medium);
		UINavigationEffect navigationEffect = this.navigationEffect;
		UILabelHandler confirmHandler3 = this.confirmHandler;
		navigationEffect.UpdateArrowPos(confirmHandler3);
	}

	// Token: 0x06001729 RID: 5929 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001729")]
	[Address(RVA = "0x95D010", Offset = "0x95C010", VA = "0x18095D010", Slot = "26")]
	protected override IEnumerator<float> Settlement()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600172A RID: 5930 RVA: 0x00034840 File Offset: 0x00032A40
	[Token(Token = "0x600172A")]
	[Address(RVA = "0x95D080", Offset = "0x95C080", VA = "0x18095D080")]
	public UISettlement()
	{
	}
}
