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

// Token: 0x020002B6 RID: 694
public class CombatDialogueData : Object
{
	// Token: 0x06005C7C RID: 23676 RVA: 0x00175868 File Offset: 0x00173A68
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 567507, RefRangeEnd = 567508, XrefRangeStart = 567500, XrefRangeEnd = 567507, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ValueTuple<string, string> GetRandomContent(int languageIndex)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref languageIndex;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CombatDialogueData.NativeMethodInfoPtr_GetRandomContent_Public_ValueTuple_2_String_String_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return new ValueTuple<string, string>(intPtr);
		}
	}

	// Token: 0x06005C7D RID: 23677 RVA: 0x001758C8 File Offset: 0x00173AC8
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 567518, RefRangeEnd = 567520, XrefRangeStart = 567508, XrefRangeEnd = 567518, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe string GetLocalizationContent(int languageIndex)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref languageIndex;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CombatDialogueData.NativeMethodInfoPtr_GetLocalizationContent_Public_String_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return IL2CPP.Il2CppStringToManaged(intPtr);
		}
	}

	// Token: 0x06005C7E RID: 23678 RVA: 0x00175928 File Offset: 0x00173B28
	[CallerCount(1642)]
	[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CombatDialogueData()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CombatDialogueData.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005C7F RID: 23679 RVA: 0x00175974 File Offset: 0x00173B74
	// Note: this type is marked as 'beforefieldinit'.
	static CombatDialogueData()
	{
		Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CombatDialogueData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr);
		CombatDialogueData.NativeFieldInfoPtr_nameText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, "nameText");
		CombatDialogueData.NativeFieldInfoPtr_dialogueText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, "dialogueText");
		CombatDialogueData.NativeFieldInfoPtr_voiceAssetPath = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, "voiceAssetPath");
		CombatDialogueData.NativeFieldInfoPtr_currentIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, "currentIndex");
		CombatDialogueData.NativeMethodInfoPtr_GetRandomContent_Public_ValueTuple_2_String_String_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, 100669919);
		CombatDialogueData.NativeMethodInfoPtr_GetLocalizationContent_Public_String_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, 100669920);
		CombatDialogueData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, 100669921);
	}

	// Token: 0x06005C80 RID: 23680 RVA: 0x0000A688 File Offset: 0x00008888
	public CombatDialogueData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700201A RID: 8218
	// (get) Token: 0x06005C81 RID: 23681 RVA: 0x00175A30 File Offset: 0x00173C30
	// (set) Token: 0x06005C82 RID: 23682 RVA: 0x00175A64 File Offset: 0x00173C64
	public unsafe Il2CppStringArray nameText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_nameText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppStringArray(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_nameText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700201B RID: 8219
	// (get) Token: 0x06005C83 RID: 23683 RVA: 0x00175A8C File Offset: 0x00173C8C
	// (set) Token: 0x06005C84 RID: 23684 RVA: 0x00175AC0 File Offset: 0x00173CC0
	public unsafe Il2CppReferenceArray<Il2CppStringArray> dialogueText
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_dialogueText);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Il2CppStringArray>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_dialogueText), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700201C RID: 8220
	// (get) Token: 0x06005C85 RID: 23685 RVA: 0x00175AE8 File Offset: 0x00173CE8
	// (set) Token: 0x06005C86 RID: 23686 RVA: 0x00175B1C File Offset: 0x00173D1C
	public unsafe Il2CppStringArray voiceAssetPath
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_voiceAssetPath);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppStringArray(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_voiceAssetPath), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700201D RID: 8221
	// (get) Token: 0x06005C87 RID: 23687 RVA: 0x00175B44 File Offset: 0x00173D44
	// (set) Token: 0x06005C88 RID: 23688 RVA: 0x00175B6C File Offset: 0x00173D6C
	public unsafe int currentIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_currentIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CombatDialogueData.NativeFieldInfoPtr_currentIndex)) = value;
		}
	}

	// Token: 0x04003D51 RID: 15697
	private static readonly IntPtr NativeFieldInfoPtr_nameText;

	// Token: 0x04003D52 RID: 15698
	private static readonly IntPtr NativeFieldInfoPtr_dialogueText;

	// Token: 0x04003D53 RID: 15699
	private static readonly IntPtr NativeFieldInfoPtr_voiceAssetPath;

	// Token: 0x04003D54 RID: 15700
	private static readonly IntPtr NativeFieldInfoPtr_currentIndex;

	// Token: 0x04003D55 RID: 15701
	private static readonly IntPtr NativeMethodInfoPtr_GetRandomContent_Public_ValueTuple_2_String_String_Int32_0;

	// Token: 0x04003D56 RID: 15702
	private static readonly IntPtr NativeMethodInfoPtr_GetLocalizationContent_Public_String_Int32_0;

	// Token: 0x04003D57 RID: 15703
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
