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

// Token: 0x02000239 RID: 569
[Serializable]
public class DialogueAssetData : Il2CppSystem.Object
{
	// Token: 0x17001D8E RID: 7566
	// (get) Token: 0x0600530C RID: 21260 RVA: 0x0014A76C File Offset: 0x0014896C
	public unsafe Sprite Body
	{
		[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(DialogueAssetData.NativeMethodInfoPtr_get_Body_Public_get_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
		}
	}

	// Token: 0x17001D8F RID: 7567
	// (get) Token: 0x0600530D RID: 21261 RVA: 0x0014A7C4 File Offset: 0x001489C4
	public unsafe Sprite Mask
	{
		[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(DialogueAssetData.NativeMethodInfoPtr_get_Mask_Public_get_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
		}
	}

	// Token: 0x0600530E RID: 21262 RVA: 0x0014A81C File Offset: 0x00148A1C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 576587, XrefRangeEnd = 576604, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetFace(string name)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(name);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DialogueAssetData.NativeMethodInfoPtr_GetFace_Public_Sprite_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
		}
	}

	// Token: 0x0600530F RID: 21263 RVA: 0x0014A88C File Offset: 0x00148A8C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 576604, RefRangeEnd = 576605, XrefRangeStart = 576604, XrefRangeEnd = 576604, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetFace(int index)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref index;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DialogueAssetData.NativeMethodInfoPtr_GetFace_Public_Sprite_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
		}
	}

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

	// Token: 0x06005311 RID: 21265 RVA: 0x0014A940 File Offset: 0x00148B40
	// Note: this type is marked as 'beforefieldinit'.
	static DialogueAssetData()
	{
		Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DialogueAssetData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr);
		DialogueAssetData.NativeFieldInfoPtr_body = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, "body");
		DialogueAssetData.NativeFieldInfoPtr_mask = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, "mask");
		DialogueAssetData.NativeFieldInfoPtr_faces = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, "faces");
		DialogueAssetData.NativeMethodInfoPtr_get_Body_Public_get_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, 100668853);
		DialogueAssetData.NativeMethodInfoPtr_get_Mask_Public_get_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, 100668854);
		DialogueAssetData.NativeMethodInfoPtr_GetFace_Public_Sprite_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, 100668855);
		DialogueAssetData.NativeMethodInfoPtr_GetFace_Public_Sprite_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, 100668856);
		DialogueAssetData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, 100668857);
	}

	// Token: 0x06005312 RID: 21266 RVA: 0x0000A74C File Offset: 0x0000894C
	public DialogueAssetData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001D8B RID: 7563
	// (get) Token: 0x06005313 RID: 21267 RVA: 0x0014AA10 File Offset: 0x00148C10
	// (set) Token: 0x06005314 RID: 21268 RVA: 0x0014AA44 File Offset: 0x00148C44
	public unsafe Sprite body
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DialogueAssetData.NativeFieldInfoPtr_body);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DialogueAssetData.NativeFieldInfoPtr_body), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D8C RID: 7564
	// (get) Token: 0x06005315 RID: 21269 RVA: 0x0014AA6C File Offset: 0x00148C6C
	// (set) Token: 0x06005316 RID: 21270 RVA: 0x0014AAA0 File Offset: 0x00148CA0
	public unsafe Sprite mask
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DialogueAssetData.NativeFieldInfoPtr_mask);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DialogueAssetData.NativeFieldInfoPtr_mask), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D8D RID: 7565
	// (get) Token: 0x06005317 RID: 21271 RVA: 0x0014AAC8 File Offset: 0x00148CC8
	// (set) Token: 0x06005318 RID: 21272 RVA: 0x0014AAFC File Offset: 0x00148CFC
	public unsafe Il2CppReferenceArray<Sprite> faces
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DialogueAssetData.NativeFieldInfoPtr_faces);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Sprite>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DialogueAssetData.NativeFieldInfoPtr_faces), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040036A1 RID: 13985
	private static readonly IntPtr NativeFieldInfoPtr_body;

	// Token: 0x040036A2 RID: 13986
	private static readonly IntPtr NativeFieldInfoPtr_mask;

	// Token: 0x040036A3 RID: 13987
	private static readonly IntPtr NativeFieldInfoPtr_faces;

	// Token: 0x040036A4 RID: 13988
	private static readonly IntPtr NativeMethodInfoPtr_get_Body_Public_get_Sprite_0;

	// Token: 0x040036A5 RID: 13989
	private static readonly IntPtr NativeMethodInfoPtr_get_Mask_Public_get_Sprite_0;

	// Token: 0x040036A6 RID: 13990
	private static readonly IntPtr NativeMethodInfoPtr_GetFace_Public_Sprite_String_0;

	// Token: 0x040036A7 RID: 13991
	private static readonly IntPtr NativeMethodInfoPtr_GetFace_Public_Sprite_Int32_0;

	// Token: 0x040036A8 RID: 13992
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x0200023A RID: 570
	[ObfuscatedName("DialogueAssetData/<>c__DisplayClass7_0")]
	public sealed class __c__DisplayClass7_0 : Il2CppSystem.Object
	{
		// Token: 0x06005319 RID: 21273 RVA: 0x0014AB24 File Offset: 0x00148D24
		[CallerCount(1664)]
		[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe __c__DisplayClass7_0()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DialogueAssetData.__c__DisplayClass7_0>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DialogueAssetData.__c__DisplayClass7_0.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600531A RID: 21274 RVA: 0x0014AB70 File Offset: 0x00148D70
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 576584, XrefRangeEnd = 576587, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe bool _GetFace_b__0(Sprite f)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(f);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DialogueAssetData.__c__DisplayClass7_0.NativeMethodInfoPtr__GetFace_b__0_Internal_Boolean_Sprite_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600531B RID: 21275 RVA: 0x0014ABD8 File Offset: 0x00148DD8
		// Note: this type is marked as 'beforefieldinit'.
		static __c__DisplayClass7_0()
		{
			Il2CppClassPointerStore<DialogueAssetData.__c__DisplayClass7_0>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<DialogueAssetData>.NativeClassPtr, "<>c__DisplayClass7_0");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DialogueAssetData.__c__DisplayClass7_0>.NativeClassPtr);
			DialogueAssetData.__c__DisplayClass7_0.NativeFieldInfoPtr_name = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DialogueAssetData.__c__DisplayClass7_0>.NativeClassPtr, "name");
			DialogueAssetData.__c__DisplayClass7_0.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DialogueAssetData.__c__DisplayClass7_0>.NativeClassPtr, 100668858);
			DialogueAssetData.__c__DisplayClass7_0.NativeMethodInfoPtr__GetFace_b__0_Internal_Boolean_Sprite_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DialogueAssetData.__c__DisplayClass7_0>.NativeClassPtr, 100668859);
		}

		// Token: 0x0600531C RID: 21276 RVA: 0x0000A74C File Offset: 0x0000894C
		public __c__DisplayClass7_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17001D90 RID: 7568
		// (get) Token: 0x0600531D RID: 21277 RVA: 0x0014AC40 File Offset: 0x00148E40
		// (set) Token: 0x0600531E RID: 21278 RVA: 0x0014AC69 File Offset: 0x00148E69
		public unsafe string name
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DialogueAssetData.__c__DisplayClass7_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(DialogueAssetData.__c__DisplayClass7_0.NativeFieldInfoPtr_name), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x040036A9 RID: 13993
		private static readonly IntPtr NativeFieldInfoPtr_name;

		// Token: 0x040036AA RID: 13994
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x040036AB RID: 13995
		private static readonly IntPtr NativeMethodInfoPtr__GetFace_b__0_Internal_Boolean_Sprite_0;
	}
}
