using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;

// Token: 0x02000198 RID: 408
public class LocalizationData : Object
{
	// Token: 0x17001A1B RID: 6683
	// (get) Token: 0x060048BC RID: 18620 RVA: 0x00123420 File Offset: 0x00121620
	public unsafe GameTextData SystemText
	{
		[CallerCount(9)]
		[CachedScanResults(RefRangeStart = 7538, RefRangeEnd = 7547, XrefRangeStart = 7538, XrefRangeEnd = 7547, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LocalizationData.NativeMethodInfoPtr_get_SystemText_Public_get_GameTextData_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new GameTextData(intPtr3) : null;
		}
	}

	// Token: 0x17001A1C RID: 6684
	// (get) Token: 0x060048BD RID: 18621 RVA: 0x00123478 File Offset: 0x00121678
	public unsafe GameFontPack FontPack
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LocalizationData.NativeMethodInfoPtr_get_FontPack_Public_get_GameFontPack_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new GameFontPack(intPtr3) : null;
		}
	}

	// Token: 0x060048BE RID: 18622 RVA: 0x001234D0 File Offset: 0x001216D0
	[CallerCount(87)]
	[CachedScanResults(RefRangeStart = 7623, RefRangeEnd = 7710, XrefRangeStart = 7623, XrefRangeEnd = 7710, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe LocalizationData(GameTextData systemText, GameFontPack fontPack)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr))
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(systemText);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(fontPack);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LocalizationData.NativeMethodInfoPtr__ctor_Public_Void_GameTextData_GameFontPack_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060048BF RID: 18623 RVA: 0x0012354C File Offset: 0x0012174C
	// Note: this type is marked as 'beforefieldinit'.
	static LocalizationData()
	{
		Il2CppClassPointerStore<LocalizationData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "LocalizationData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr);
		LocalizationData.NativeFieldInfoPtr_systemText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr, "systemText");
		LocalizationData.NativeFieldInfoPtr_fontPack = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr, "fontPack");
		LocalizationData.NativeMethodInfoPtr_get_SystemText_Public_get_GameTextData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr, 100668220);
		LocalizationData.NativeMethodInfoPtr_get_FontPack_Public_get_GameFontPack_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr, 100668221);
		LocalizationData.NativeMethodInfoPtr__ctor_Public_Void_GameTextData_GameFontPack_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr, 100668222);
	}

	// Token: 0x060048C0 RID: 18624 RVA: 0x0000A74C File Offset: 0x0000894C
	public LocalizationData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001A19 RID: 6681
	// (get) Token: 0x060048C1 RID: 18625 RVA: 0x001235E0 File Offset: 0x001217E0
	// (set) Token: 0x060048C2 RID: 18626 RVA: 0x00123614 File Offset: 0x00121814
	public unsafe GameTextData systemText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LocalizationData.NativeFieldInfoPtr_systemText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameTextData(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LocalizationData.NativeFieldInfoPtr_systemText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001A1A RID: 6682
	// (get) Token: 0x060048C3 RID: 18627 RVA: 0x0012363C File Offset: 0x0012183C
	// (set) Token: 0x060048C4 RID: 18628 RVA: 0x00123670 File Offset: 0x00121870
	public unsafe GameFontPack fontPack
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LocalizationData.NativeFieldInfoPtr_fontPack);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameFontPack(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LocalizationData.NativeFieldInfoPtr_fontPack), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003045 RID: 12357
	private static readonly IntPtr NativeFieldInfoPtr_systemText;

	// Token: 0x04003046 RID: 12358
	private static readonly IntPtr NativeFieldInfoPtr_fontPack;

	// Token: 0x04003047 RID: 12359
	private static readonly IntPtr NativeMethodInfoPtr_get_SystemText_Public_get_GameTextData_0;

	// Token: 0x04003048 RID: 12360
	private static readonly IntPtr NativeMethodInfoPtr_get_FontPack_Public_get_GameFontPack_0;

	// Token: 0x04003049 RID: 12361
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_GameTextData_GameFontPack_0;
}
