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

// Token: 0x0200016C RID: 364
public class LocalizationData : Object
{
	// Token: 0x170018ED RID: 6381
	// (get) Token: 0x0600448A RID: 17546 RVA: 0x0011189C File Offset: 0x0010FA9C
	public unsafe GameTextData SystemText
	{
		[CallerCount(9)]
		[CachedScanResults(RefRangeStart = 7244, RefRangeEnd = 7253, XrefRangeStart = 7244, XrefRangeEnd = 7253, 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: 0x170018EE RID: 6382
	// (get) Token: 0x0600448B RID: 17547 RVA: 0x001118F4 File Offset: 0x0010FAF4
	public unsafe GameFontPack FontPack
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 7233, RefRangeEnd = 7243, XrefRangeStart = 7233, XrefRangeEnd = 7243, 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: 0x0600448C RID: 17548 RVA: 0x0011194C File Offset: 0x0010FB4C
	[CallerCount(87)]
	[CachedScanResults(RefRangeStart = 7329, RefRangeEnd = 7416, XrefRangeStart = 7329, XrefRangeEnd = 7416, 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: 0x0600448D RID: 17549 RVA: 0x001119C8 File Offset: 0x0010FBC8
	// 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, 100667844);
		LocalizationData.NativeMethodInfoPtr_get_FontPack_Public_get_GameFontPack_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr, 100667845);
		LocalizationData.NativeMethodInfoPtr__ctor_Public_Void_GameTextData_GameFontPack_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LocalizationData>.NativeClassPtr, 100667846);
	}

	// Token: 0x0600448E RID: 17550 RVA: 0x0000A688 File Offset: 0x00008888
	public LocalizationData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170018EB RID: 6379
	// (get) Token: 0x0600448F RID: 17551 RVA: 0x00111A5C File Offset: 0x0010FC5C
	// (set) Token: 0x06004490 RID: 17552 RVA: 0x00111A90 File Offset: 0x0010FC90
	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: 0x170018EC RID: 6380
	// (get) Token: 0x06004491 RID: 17553 RVA: 0x00111AB8 File Offset: 0x0010FCB8
	// (set) Token: 0x06004492 RID: 17554 RVA: 0x00111AEC File Offset: 0x0010FCEC
	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: 0x04002D64 RID: 11620
	private static readonly IntPtr NativeFieldInfoPtr_systemText;

	// Token: 0x04002D65 RID: 11621
	private static readonly IntPtr NativeFieldInfoPtr_fontPack;

	// Token: 0x04002D66 RID: 11622
	private static readonly IntPtr NativeMethodInfoPtr_get_SystemText_Public_get_GameTextData_0;

	// Token: 0x04002D67 RID: 11623
	private static readonly IntPtr NativeMethodInfoPtr_get_FontPack_Public_get_GameFontPack_0;

	// Token: 0x04002D68 RID: 11624
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_GameTextData_GameFontPack_0;
}
