using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
using UnityEngine;

// Token: 0x02000267 RID: 615
[Serializable]
public class GameJsonContainer : Il2CppSystem.Object
{
	// Token: 0x060055F4 RID: 22004 RVA: 0x00157350 File Offset: 0x00155550
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 579945, RefRangeEnd = 579947, XrefRangeStart = 579913, XrefRangeEnd = 579945, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateJsonAssets(Il2CppReferenceArray<TextAsset> jsons)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(jsons);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameJsonContainer.NativeMethodInfoPtr_UpdateJsonAssets_Public_Void_Il2CppReferenceArray_1_TextAsset_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060055F5 RID: 22005 RVA: 0x001573AC File Offset: 0x001555AC
	[CallerCount(8)]
	[CachedScanResults(RefRangeStart = 579964, RefRangeEnd = 579972, XrefRangeStart = 579947, XrefRangeEnd = 579964, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe TextAsset GetAsset(Il2CppReferenceArray<TextAsset> jsons, string name)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(jsons);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(name);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameJsonContainer.NativeMethodInfoPtr_GetAsset_Private_TextAsset_Il2CppReferenceArray_1_TextAsset_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new TextAsset(intPtr3) : null;
	}

	// Token: 0x060055F6 RID: 22006 RVA: 0x00157434 File Offset: 0x00155634
	[CallerCount(1664)]
	[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameJsonContainer()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameJsonContainer.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060055F7 RID: 22007 RVA: 0x00157480 File Offset: 0x00155680
	// Note: this type is marked as 'beforefieldinit'.
	static GameJsonContainer()
	{
		Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameJsonContainer");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr);
		GameJsonContainer.NativeFieldInfoPtr_systemText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "systemText");
		GameJsonContainer.NativeFieldInfoPtr_valuableText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "valuableText");
		GameJsonContainer.NativeFieldInfoPtr_gameTipText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "gameTipText");
		GameJsonContainer.NativeFieldInfoPtr_achievementText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "achievementText");
		GameJsonContainer.NativeFieldInfoPtr_storyText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "storyText");
		GameJsonContainer.NativeFieldInfoPtr_combatDialogue = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "combatDialogue");
		GameJsonContainer.NativeFieldInfoPtr_itemVoice = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "itemVoice");
		GameJsonContainer.NativeFieldInfoPtr_videoText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "videoText");
		GameJsonContainer.NativeMethodInfoPtr_UpdateJsonAssets_Public_Void_Il2CppReferenceArray_1_TextAsset_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, 100669123);
		GameJsonContainer.NativeMethodInfoPtr_GetAsset_Private_TextAsset_Il2CppReferenceArray_1_TextAsset_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, 100669124);
		GameJsonContainer.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, 100669125);
	}

	// Token: 0x060055F8 RID: 22008 RVA: 0x0000A74C File Offset: 0x0000894C
	public GameJsonContainer(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E72 RID: 7794
	// (get) Token: 0x060055F9 RID: 22009 RVA: 0x0015758C File Offset: 0x0015578C
	// (set) Token: 0x060055FA RID: 22010 RVA: 0x001575C0 File Offset: 0x001557C0
	public unsafe TextAsset systemText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_systemText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_systemText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E73 RID: 7795
	// (get) Token: 0x060055FB RID: 22011 RVA: 0x001575E8 File Offset: 0x001557E8
	// (set) Token: 0x060055FC RID: 22012 RVA: 0x0015761C File Offset: 0x0015581C
	public unsafe TextAsset valuableText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_valuableText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_valuableText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E74 RID: 7796
	// (get) Token: 0x060055FD RID: 22013 RVA: 0x00157644 File Offset: 0x00155844
	// (set) Token: 0x060055FE RID: 22014 RVA: 0x00157678 File Offset: 0x00155878
	public unsafe TextAsset gameTipText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_gameTipText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_gameTipText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E75 RID: 7797
	// (get) Token: 0x060055FF RID: 22015 RVA: 0x001576A0 File Offset: 0x001558A0
	// (set) Token: 0x06005600 RID: 22016 RVA: 0x001576D4 File Offset: 0x001558D4
	public unsafe TextAsset achievementText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_achievementText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_achievementText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E76 RID: 7798
	// (get) Token: 0x06005601 RID: 22017 RVA: 0x001576FC File Offset: 0x001558FC
	// (set) Token: 0x06005602 RID: 22018 RVA: 0x00157730 File Offset: 0x00155930
	public unsafe TextAsset storyText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_storyText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_storyText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E77 RID: 7799
	// (get) Token: 0x06005603 RID: 22019 RVA: 0x00157758 File Offset: 0x00155958
	// (set) Token: 0x06005604 RID: 22020 RVA: 0x0015778C File Offset: 0x0015598C
	public unsafe TextAsset combatDialogue
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_combatDialogue);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_combatDialogue), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E78 RID: 7800
	// (get) Token: 0x06005605 RID: 22021 RVA: 0x001577B4 File Offset: 0x001559B4
	// (set) Token: 0x06005606 RID: 22022 RVA: 0x001577E8 File Offset: 0x001559E8
	public unsafe TextAsset itemVoice
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_itemVoice);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_itemVoice), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E79 RID: 7801
	// (get) Token: 0x06005607 RID: 22023 RVA: 0x00157810 File Offset: 0x00155A10
	// (set) Token: 0x06005608 RID: 22024 RVA: 0x00157844 File Offset: 0x00155A44
	public unsafe TextAsset videoText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_videoText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new TextAsset(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.NativeFieldInfoPtr_videoText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003928 RID: 14632
	private static readonly IntPtr NativeFieldInfoPtr_systemText;

	// Token: 0x04003929 RID: 14633
	private static readonly IntPtr NativeFieldInfoPtr_valuableText;

	// Token: 0x0400392A RID: 14634
	private static readonly IntPtr NativeFieldInfoPtr_gameTipText;

	// Token: 0x0400392B RID: 14635
	private static readonly IntPtr NativeFieldInfoPtr_achievementText;

	// Token: 0x0400392C RID: 14636
	private static readonly IntPtr NativeFieldInfoPtr_storyText;

	// Token: 0x0400392D RID: 14637
	private static readonly IntPtr NativeFieldInfoPtr_combatDialogue;

	// Token: 0x0400392E RID: 14638
	private static readonly IntPtr NativeFieldInfoPtr_itemVoice;

	// Token: 0x0400392F RID: 14639
	private static readonly IntPtr NativeFieldInfoPtr_videoText;

	// Token: 0x04003930 RID: 14640
	private static readonly IntPtr NativeMethodInfoPtr_UpdateJsonAssets_Public_Void_Il2CppReferenceArray_1_TextAsset_0;

	// Token: 0x04003931 RID: 14641
	private static readonly IntPtr NativeMethodInfoPtr_GetAsset_Private_TextAsset_Il2CppReferenceArray_1_TextAsset_String_0;

	// Token: 0x04003932 RID: 14642
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x02000268 RID: 616
	[ObfuscatedName("GameJsonContainer/<>c__DisplayClass9_0")]
	public sealed class __c__DisplayClass9_0 : Il2CppSystem.Object
	{
		// Token: 0x06005609 RID: 22025 RVA: 0x0015786C File Offset: 0x00155A6C
		[CallerCount(1664)]
		[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe __c__DisplayClass9_0()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameJsonContainer.__c__DisplayClass9_0>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameJsonContainer.__c__DisplayClass9_0.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600560A RID: 22026 RVA: 0x001578B8 File Offset: 0x00155AB8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe bool _GetAsset_b__0(TextAsset asset)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(asset);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameJsonContainer.__c__DisplayClass9_0.NativeMethodInfoPtr__GetAsset_b__0_Internal_Boolean_TextAsset_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600560B RID: 22027 RVA: 0x00157920 File Offset: 0x00155B20
		// Note: this type is marked as 'beforefieldinit'.
		static __c__DisplayClass9_0()
		{
			Il2CppClassPointerStore<GameJsonContainer.__c__DisplayClass9_0>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<GameJsonContainer>.NativeClassPtr, "<>c__DisplayClass9_0");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameJsonContainer.__c__DisplayClass9_0>.NativeClassPtr);
			GameJsonContainer.__c__DisplayClass9_0.NativeFieldInfoPtr_name = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameJsonContainer.__c__DisplayClass9_0>.NativeClassPtr, "name");
			GameJsonContainer.__c__DisplayClass9_0.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameJsonContainer.__c__DisplayClass9_0>.NativeClassPtr, 100669126);
			GameJsonContainer.__c__DisplayClass9_0.NativeMethodInfoPtr__GetAsset_b__0_Internal_Boolean_TextAsset_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameJsonContainer.__c__DisplayClass9_0>.NativeClassPtr, 100669127);
		}

		// Token: 0x0600560C RID: 22028 RVA: 0x0000A74C File Offset: 0x0000894C
		public __c__DisplayClass9_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17001E7A RID: 7802
		// (get) Token: 0x0600560D RID: 22029 RVA: 0x00157988 File Offset: 0x00155B88
		// (set) Token: 0x0600560E RID: 22030 RVA: 0x001579B1 File Offset: 0x00155BB1
		public unsafe string name
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.__c__DisplayClass9_0.NativeFieldInfoPtr_name);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameJsonContainer.__c__DisplayClass9_0.NativeFieldInfoPtr_name), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x04003933 RID: 14643
		private static readonly IntPtr NativeFieldInfoPtr_name;

		// Token: 0x04003934 RID: 14644
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x04003935 RID: 14645
		private static readonly IntPtr NativeMethodInfoPtr__GetAsset_b__0_Internal_Boolean_TextAsset_0;
	}
}
