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

// Token: 0x02000303 RID: 771
public class CombatDialogueData : Object
{
	// Token: 0x06006345 RID: 25413 RVA: 0x00191B44 File Offset: 0x0018FD44
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 598030, RefRangeEnd = 598031, XrefRangeStart = 598023, XrefRangeEnd = 598030, 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: 0x06006346 RID: 25414 RVA: 0x00191BA4 File Offset: 0x0018FDA4
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 598041, RefRangeEnd = 598043, XrefRangeStart = 598031, XrefRangeEnd = 598041, 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: 0x06006347 RID: 25415 RVA: 0x00191C04 File Offset: 0x0018FE04
	[CallerCount(1664)]
	[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x06006348 RID: 25416 RVA: 0x00191C50 File Offset: 0x0018FE50
	// 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, 100670494);
		CombatDialogueData.NativeMethodInfoPtr_GetLocalizationContent_Public_String_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, 100670495);
		CombatDialogueData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CombatDialogueData>.NativeClassPtr, 100670496);
	}

	// Token: 0x06006349 RID: 25417 RVA: 0x0000A74C File Offset: 0x0000894C
	public CombatDialogueData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700222D RID: 8749
	// (get) Token: 0x0600634A RID: 25418 RVA: 0x00191D0C File Offset: 0x0018FF0C
	// (set) Token: 0x0600634B RID: 25419 RVA: 0x00191D40 File Offset: 0x0018FF40
	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: 0x1700222E RID: 8750
	// (get) Token: 0x0600634C RID: 25420 RVA: 0x00191D68 File Offset: 0x0018FF68
	// (set) Token: 0x0600634D RID: 25421 RVA: 0x00191D9C File Offset: 0x0018FF9C
	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: 0x1700222F RID: 8751
	// (get) Token: 0x0600634E RID: 25422 RVA: 0x00191DC4 File Offset: 0x0018FFC4
	// (set) Token: 0x0600634F RID: 25423 RVA: 0x00191DF8 File Offset: 0x0018FFF8
	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: 0x17002230 RID: 8752
	// (get) Token: 0x06006350 RID: 25424 RVA: 0x00191E20 File Offset: 0x00190020
	// (set) Token: 0x06006351 RID: 25425 RVA: 0x00191E48 File Offset: 0x00190048
	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: 0x040041F7 RID: 16887
	private static readonly IntPtr NativeFieldInfoPtr_nameText;

	// Token: 0x040041F8 RID: 16888
	private static readonly IntPtr NativeFieldInfoPtr_dialogueText;

	// Token: 0x040041F9 RID: 16889
	private static readonly IntPtr NativeFieldInfoPtr_voiceAssetPath;

	// Token: 0x040041FA RID: 16890
	private static readonly IntPtr NativeFieldInfoPtr_currentIndex;

	// Token: 0x040041FB RID: 16891
	private static readonly IntPtr NativeMethodInfoPtr_GetRandomContent_Public_ValueTuple_2_String_String_Int32_0;

	// Token: 0x040041FC RID: 16892
	private static readonly IntPtr NativeMethodInfoPtr_GetLocalizationContent_Public_String_Int32_0;

	// Token: 0x040041FD RID: 16893
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
