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

// Token: 0x02000222 RID: 546
public class VideoData : Object
{
	// Token: 0x0600505D RID: 20573 RVA: 0x0013FF30 File Offset: 0x0013E130
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 551546, RefRangeEnd = 551547, XrefRangeStart = 551540, XrefRangeEnd = 551546, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe VideoData(string titleId, string imageName, string videoName, string timeLength, Il2CppReferenceArray<SubtitleData> subtitles)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VideoData>.NativeClassPtr))
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(titleId);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(imageName);
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(videoName);
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(timeLength);
		ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(subtitles);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VideoData.NativeMethodInfoPtr__ctor_Public_Void_String_String_String_String_Il2CppReferenceArray_1_SubtitleData_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600505E RID: 20574 RVA: 0x0013FFF4 File Offset: 0x0013E1F4
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 551557, RefRangeEnd = 551558, XrefRangeStart = 551547, XrefRangeEnd = 551557, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe string GetTitleText()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VideoData.NativeMethodInfoPtr_GetTitleText_Public_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return IL2CPP.Il2CppStringToManaged(intPtr);
	}

	// Token: 0x0600505F RID: 20575 RVA: 0x00140040 File Offset: 0x0013E240
	// Note: this type is marked as 'beforefieldinit'.
	static VideoData()
	{
		Il2CppClassPointerStore<VideoData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "VideoData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<VideoData>.NativeClassPtr);
		VideoData.NativeFieldInfoPtr_titleId = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VideoData>.NativeClassPtr, "titleId");
		VideoData.NativeFieldInfoPtr_imageName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VideoData>.NativeClassPtr, "imageName");
		VideoData.NativeFieldInfoPtr_videoName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VideoData>.NativeClassPtr, "videoName");
		VideoData.NativeFieldInfoPtr_timeLength = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VideoData>.NativeClassPtr, "timeLength");
		VideoData.NativeFieldInfoPtr_subtitles = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VideoData>.NativeClassPtr, "subtitles");
		VideoData.NativeMethodInfoPtr__ctor_Public_Void_String_String_String_String_Il2CppReferenceArray_1_SubtitleData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VideoData>.NativeClassPtr, 100668651);
		VideoData.NativeMethodInfoPtr_GetTitleText_Public_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VideoData>.NativeClassPtr, 100668652);
	}

	// Token: 0x06005060 RID: 20576 RVA: 0x0000A688 File Offset: 0x00008888
	public VideoData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CC8 RID: 7368
	// (get) Token: 0x06005061 RID: 20577 RVA: 0x001400FC File Offset: 0x0013E2FC
	// (set) Token: 0x06005062 RID: 20578 RVA: 0x00140124 File Offset: 0x0013E324
	public unsafe int titleId
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_titleId);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_titleId)) = value;
		}
	}

	// Token: 0x17001CC9 RID: 7369
	// (get) Token: 0x06005063 RID: 20579 RVA: 0x00140148 File Offset: 0x0013E348
	// (set) Token: 0x06005064 RID: 20580 RVA: 0x00140171 File Offset: 0x0013E371
	public unsafe string imageName
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_imageName);
			return IL2CPP.Il2CppStringToManaged(*intPtr);
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_imageName), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x17001CCA RID: 7370
	// (get) Token: 0x06005065 RID: 20581 RVA: 0x00140198 File Offset: 0x0013E398
	// (set) Token: 0x06005066 RID: 20582 RVA: 0x001401C1 File Offset: 0x0013E3C1
	public unsafe string videoName
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_videoName);
			return IL2CPP.Il2CppStringToManaged(*intPtr);
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_videoName), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x17001CCB RID: 7371
	// (get) Token: 0x06005067 RID: 20583 RVA: 0x001401E8 File Offset: 0x0013E3E8
	// (set) Token: 0x06005068 RID: 20584 RVA: 0x00140211 File Offset: 0x0013E411
	public unsafe string timeLength
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_timeLength);
			return IL2CPP.Il2CppStringToManaged(*intPtr);
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_timeLength), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x17001CCC RID: 7372
	// (get) Token: 0x06005069 RID: 20585 RVA: 0x00140238 File Offset: 0x0013E438
	// (set) Token: 0x0600506A RID: 20586 RVA: 0x0014026C File Offset: 0x0013E46C
	public unsafe Il2CppReferenceArray<SubtitleData> subtitles
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_subtitles);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<SubtitleData>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(VideoData.NativeFieldInfoPtr_subtitles), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003548 RID: 13640
	private static readonly IntPtr NativeFieldInfoPtr_titleId;

	// Token: 0x04003549 RID: 13641
	private static readonly IntPtr NativeFieldInfoPtr_imageName;

	// Token: 0x0400354A RID: 13642
	private static readonly IntPtr NativeFieldInfoPtr_videoName;

	// Token: 0x0400354B RID: 13643
	private static readonly IntPtr NativeFieldInfoPtr_timeLength;

	// Token: 0x0400354C RID: 13644
	private static readonly IntPtr NativeFieldInfoPtr_subtitles;

	// Token: 0x0400354D RID: 13645
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_String_String_Il2CppReferenceArray_1_SubtitleData_0;

	// Token: 0x0400354E RID: 13646
	private static readonly IntPtr NativeMethodInfoPtr_GetTitleText_Public_String_0;
}
