using System;
using System.Collections.Generic;
using Cpp2IlInjected;

// Token: 0x0200015F RID: 351
[Token(Token = "0x200015F")]
public class GameTextDataAdvance
{
	// Token: 0x170000AB RID: 171
	// (get) Token: 0x060011BC RID: 4540 RVA: 0x0002887C File Offset: 0x00026A7C
	[Token(Token = "0x170000AB")]
	public GameLanguage Language
	{
		[Token(Token = "0x60011BC")]
		[Address(RVA = "0x2B3F20", Offset = "0x2B2D20", VA = "0x1802B3F20")]
		get
		{
			return this.language;
		}
	}

	// Token: 0x170000AC RID: 172
	// (get) Token: 0x060011BD RID: 4541 RVA: 0x00028890 File Offset: 0x00026A90
	[Token(Token = "0x170000AC")]
	public int RowAmount
	{
		[Token(Token = "0x60011BD")]
		[Address(RVA = "0x54A930", Offset = "0x549730", VA = "0x18054A930")]
		get
		{
			return this.dataMap.Keys.Count;
		}
	}

	// Token: 0x060011BE RID: 4542 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011BE")]
	[Address(RVA = "0x54A5E0", Offset = "0x5493E0", VA = "0x18054A5E0")]
	public GameTextDataAdvance(string json, GameLanguage language, int columnsPerLanguage)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060011BF RID: 4543 RVA: 0x000288B4 File Offset: 0x00026AB4
	[Token(Token = "0x60011BF")]
	[Address(RVA = "0x54A580", Offset = "0x549380", VA = "0x18054A580")]
	public GameTextDataAdvance(Dictionary<int, string[][]> dataMap, GameLanguage language, int columnsPerLanguage)
	{
		this.dataMap = dataMap;
		this.columnsPerLanguage = columnsPerLanguage;
		this.language = language;
		this.pointer = (int)language;
	}

	// Token: 0x060011C0 RID: 4544 RVA: 0x000288E8 File Offset: 0x00026AE8
	[Token(Token = "0x60011C0")]
	[Address(RVA = "0x54A570", Offset = "0x549370", VA = "0x18054A570")]
	public GameTextDataAdvance UpdateLanguage(GameLanguage language)
	{
		this.language = language;
		this.pointer = (int)language;
		return this;
	}

	// Token: 0x060011C1 RID: 4545 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011C1")]
	[Address(RVA = "0x54A380", Offset = "0x549180", VA = "0x18054A380")]
	public string[] GetText(int id)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x04001B9A RID: 7066
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4001B9A")]
	private GameLanguage language;

	// Token: 0x04001B9B RID: 7067
	[FieldOffset(Offset = "0x14")]
	[Token(Token = "0x4001B9B")]
	private int pointer;

	// Token: 0x04001B9C RID: 7068
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001B9C")]
	private int columnsPerLanguage;

	// Token: 0x04001B9D RID: 7069
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001B9D")]
	private Dictionary<int, string[][]> dataMap;
}
