using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
using Il2CppSystem.Collections.Generic;

// Token: 0x0200016A RID: 362
public class GameTextDataAdvance : Object
{
	// Token: 0x170018E8 RID: 6376
	// (get) Token: 0x06004474 RID: 17524 RVA: 0x00111284 File Offset: 0x0010F484
	public unsafe GameLanguage Language
	{
		[CallerCount(3)]
		[CachedScanResults(RefRangeStart = 12582, RefRangeEnd = 12585, XrefRangeStart = 12582, XrefRangeEnd = 12585, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.NativeMethodInfoPtr_get_Language_Public_get_GameLanguage_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
	}

	// Token: 0x170018E9 RID: 6377
	// (get) Token: 0x06004475 RID: 17525 RVA: 0x001112D4 File Offset: 0x0010F4D4
	public unsafe int RowAmount
	{
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 540938, RefRangeEnd = 540940, XrefRangeStart = 540931, XrefRangeEnd = 540938, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.NativeMethodInfoPtr_get_RowAmount_Public_get_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
	}

	// Token: 0x06004476 RID: 17526 RVA: 0x00111324 File Offset: 0x0010F524
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 540998, RefRangeEnd = 541002, XrefRangeStart = 540940, XrefRangeEnd = 540998, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameTextDataAdvance(string json, GameLanguage language, int columnsPerLanguage)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr))
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(json);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref language;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref columnsPerLanguage;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.NativeMethodInfoPtr__ctor_Public_Void_String_GameLanguage_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004477 RID: 17527 RVA: 0x001113AC File Offset: 0x0010F5AC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 541004, RefRangeEnd = 541005, XrefRangeStart = 541002, XrefRangeEnd = 541004, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameTextDataAdvance(Dictionary<int, Il2CppReferenceArray<Il2CppStringArray>> dataMap, GameLanguage language, int columnsPerLanguage)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr))
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(dataMap);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref language;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref columnsPerLanguage;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.NativeMethodInfoPtr__ctor_Public_Void_Dictionary_2_Int32_Il2CppReferenceArray_1_Il2CppStringArray_GameLanguage_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004478 RID: 17528 RVA: 0x00111434 File Offset: 0x0010F634
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 541005, RefRangeEnd = 541008, XrefRangeStart = 541005, XrefRangeEnd = 541005, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameTextDataAdvance UpdateLanguage(GameLanguage language)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref language;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.NativeMethodInfoPtr_UpdateLanguage_Public_GameTextDataAdvance_GameLanguage_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new GameTextDataAdvance(intPtr3) : null;
		}
	}

	// Token: 0x06004479 RID: 17529 RVA: 0x0011149C File Offset: 0x0010F69C
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 541040, RefRangeEnd = 541046, XrefRangeStart = 541008, XrefRangeEnd = 541040, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Il2CppStringArray GetText(int id)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref id;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.NativeMethodInfoPtr_GetText_Public_Il2CppStringArray_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Il2CppStringArray(intPtr3) : null;
		}
	}

	// Token: 0x0600447A RID: 17530 RVA: 0x00111504 File Offset: 0x0010F704
	// Note: this type is marked as 'beforefieldinit'.
	static GameTextDataAdvance()
	{
		Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameTextDataAdvance");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr);
		GameTextDataAdvance.NativeFieldInfoPtr_language = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, "language");
		GameTextDataAdvance.NativeFieldInfoPtr_pointer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, "pointer");
		GameTextDataAdvance.NativeFieldInfoPtr_columnsPerLanguage = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, "columnsPerLanguage");
		GameTextDataAdvance.NativeFieldInfoPtr_dataMap = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, "dataMap");
		GameTextDataAdvance.NativeMethodInfoPtr_get_Language_Public_get_GameLanguage_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, 100667836);
		GameTextDataAdvance.NativeMethodInfoPtr_get_RowAmount_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, 100667837);
		GameTextDataAdvance.NativeMethodInfoPtr__ctor_Public_Void_String_GameLanguage_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, 100667838);
		GameTextDataAdvance.NativeMethodInfoPtr__ctor_Public_Void_Dictionary_2_Int32_Il2CppReferenceArray_1_Il2CppStringArray_GameLanguage_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, 100667839);
		GameTextDataAdvance.NativeMethodInfoPtr_UpdateLanguage_Public_GameTextDataAdvance_GameLanguage_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, 100667840);
		GameTextDataAdvance.NativeMethodInfoPtr_GetText_Public_Il2CppStringArray_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, 100667841);
	}

	// Token: 0x0600447B RID: 17531 RVA: 0x0000A688 File Offset: 0x00008888
	public GameTextDataAdvance(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170018E4 RID: 6372
	// (get) Token: 0x0600447C RID: 17532 RVA: 0x001115FC File Offset: 0x0010F7FC
	// (set) Token: 0x0600447D RID: 17533 RVA: 0x00111624 File Offset: 0x0010F824
	public unsafe GameLanguage language
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_language);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_language)) = value;
		}
	}

	// Token: 0x170018E5 RID: 6373
	// (get) Token: 0x0600447E RID: 17534 RVA: 0x00111648 File Offset: 0x0010F848
	// (set) Token: 0x0600447F RID: 17535 RVA: 0x00111670 File Offset: 0x0010F870
	public unsafe int pointer
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_pointer);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_pointer)) = value;
		}
	}

	// Token: 0x170018E6 RID: 6374
	// (get) Token: 0x06004480 RID: 17536 RVA: 0x00111694 File Offset: 0x0010F894
	// (set) Token: 0x06004481 RID: 17537 RVA: 0x001116BC File Offset: 0x0010F8BC
	public unsafe int columnsPerLanguage
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_columnsPerLanguage);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_columnsPerLanguage)) = value;
		}
	}

	// Token: 0x170018E7 RID: 6375
	// (get) Token: 0x06004482 RID: 17538 RVA: 0x001116E0 File Offset: 0x0010F8E0
	// (set) Token: 0x06004483 RID: 17539 RVA: 0x00111714 File Offset: 0x0010F914
	public unsafe Dictionary<int, Il2CppReferenceArray<Il2CppStringArray>> dataMap
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_dataMap);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Dictionary<int, Il2CppReferenceArray<Il2CppStringArray>>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.NativeFieldInfoPtr_dataMap), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04002D57 RID: 11607
	private static readonly IntPtr NativeFieldInfoPtr_language;

	// Token: 0x04002D58 RID: 11608
	private static readonly IntPtr NativeFieldInfoPtr_pointer;

	// Token: 0x04002D59 RID: 11609
	private static readonly IntPtr NativeFieldInfoPtr_columnsPerLanguage;

	// Token: 0x04002D5A RID: 11610
	private static readonly IntPtr NativeFieldInfoPtr_dataMap;

	// Token: 0x04002D5B RID: 11611
	private static readonly IntPtr NativeMethodInfoPtr_get_Language_Public_get_GameLanguage_0;

	// Token: 0x04002D5C RID: 11612
	private static readonly IntPtr NativeMethodInfoPtr_get_RowAmount_Public_get_Int32_0;

	// Token: 0x04002D5D RID: 11613
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_GameLanguage_Int32_0;

	// Token: 0x04002D5E RID: 11614
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Dictionary_2_Int32_Il2CppReferenceArray_1_Il2CppStringArray_GameLanguage_Int32_0;

	// Token: 0x04002D5F RID: 11615
	private static readonly IntPtr NativeMethodInfoPtr_UpdateLanguage_Public_GameTextDataAdvance_GameLanguage_0;

	// Token: 0x04002D60 RID: 11616
	private static readonly IntPtr NativeMethodInfoPtr_GetText_Public_Il2CppStringArray_Int32_0;

	// Token: 0x0200016B RID: 363
	[ObfuscatedName("GameTextDataAdvance/<>c__DisplayClass11_0")]
	public sealed class __c__DisplayClass11_0 : Object
	{
		// Token: 0x06004484 RID: 17540 RVA: 0x0011173C File Offset: 0x0010F93C
		[CallerCount(1642)]
		[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe __c__DisplayClass11_0()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameTextDataAdvance.__c__DisplayClass11_0>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.__c__DisplayClass11_0.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06004485 RID: 17541 RVA: 0x00111788 File Offset: 0x0010F988
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 540925, XrefRangeEnd = 540931, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe string _GetText_b__0(int _)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref _;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameTextDataAdvance.__c__DisplayClass11_0.NativeMethodInfoPtr__GetText_b__0_Internal_String_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return IL2CPP.Il2CppStringToManaged(intPtr);
			}
		}

		// Token: 0x06004486 RID: 17542 RVA: 0x001117E8 File Offset: 0x0010F9E8
		// Note: this type is marked as 'beforefieldinit'.
		static __c__DisplayClass11_0()
		{
			Il2CppClassPointerStore<GameTextDataAdvance.__c__DisplayClass11_0>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<GameTextDataAdvance>.NativeClassPtr, "<>c__DisplayClass11_0");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameTextDataAdvance.__c__DisplayClass11_0>.NativeClassPtr);
			GameTextDataAdvance.__c__DisplayClass11_0.NativeFieldInfoPtr_id = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameTextDataAdvance.__c__DisplayClass11_0>.NativeClassPtr, "id");
			GameTextDataAdvance.__c__DisplayClass11_0.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance.__c__DisplayClass11_0>.NativeClassPtr, 100667842);
			GameTextDataAdvance.__c__DisplayClass11_0.NativeMethodInfoPtr__GetText_b__0_Internal_String_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameTextDataAdvance.__c__DisplayClass11_0>.NativeClassPtr, 100667843);
		}

		// Token: 0x06004487 RID: 17543 RVA: 0x0000A688 File Offset: 0x00008888
		public __c__DisplayClass11_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170018EA RID: 6378
		// (get) Token: 0x06004488 RID: 17544 RVA: 0x00111850 File Offset: 0x0010FA50
		// (set) Token: 0x06004489 RID: 17545 RVA: 0x00111878 File Offset: 0x0010FA78
		public unsafe int id
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.__c__DisplayClass11_0.NativeFieldInfoPtr_id);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameTextDataAdvance.__c__DisplayClass11_0.NativeFieldInfoPtr_id)) = value;
			}
		}

		// Token: 0x04002D61 RID: 11617
		private static readonly IntPtr NativeFieldInfoPtr_id;

		// Token: 0x04002D62 RID: 11618
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x04002D63 RID: 11619
		private static readonly IntPtr NativeMethodInfoPtr__GetText_b__0_Internal_String_Int32_0;
	}
}
