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

// Token: 0x02000263 RID: 611
public class VideoData : Object
{
	// Token: 0x060055CE RID: 21966 RVA: 0x001568E8 File Offset: 0x00154AE8
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 579765, RefRangeEnd = 579766, XrefRangeStart = 579759, XrefRangeEnd = 579765, 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: 0x060055CF RID: 21967 RVA: 0x001569AC File Offset: 0x00154BAC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 579776, RefRangeEnd = 579777, XrefRangeStart = 579766, XrefRangeEnd = 579776, 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: 0x060055D0 RID: 21968 RVA: 0x001569F8 File Offset: 0x00154BF8
	// 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, 100669110);
		VideoData.NativeMethodInfoPtr_GetTitleText_Public_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VideoData>.NativeClassPtr, 100669111);
	}

	// Token: 0x060055D1 RID: 21969 RVA: 0x0000A74C File Offset: 0x0000894C
	public VideoData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E69 RID: 7785
	// (get) Token: 0x060055D2 RID: 21970 RVA: 0x00156AB4 File Offset: 0x00154CB4
	// (set) Token: 0x060055D3 RID: 21971 RVA: 0x00156ADC File Offset: 0x00154CDC
	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: 0x17001E6A RID: 7786
	// (get) Token: 0x060055D4 RID: 21972 RVA: 0x00156B00 File Offset: 0x00154D00
	// (set) Token: 0x060055D5 RID: 21973 RVA: 0x00156B29 File Offset: 0x00154D29
	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: 0x17001E6B RID: 7787
	// (get) Token: 0x060055D6 RID: 21974 RVA: 0x00156B50 File Offset: 0x00154D50
	// (set) Token: 0x060055D7 RID: 21975 RVA: 0x00156B79 File Offset: 0x00154D79
	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: 0x17001E6C RID: 7788
	// (get) Token: 0x060055D8 RID: 21976 RVA: 0x00156BA0 File Offset: 0x00154DA0
	// (set) Token: 0x060055D9 RID: 21977 RVA: 0x00156BC9 File Offset: 0x00154DC9
	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: 0x17001E6D RID: 7789
	// (get) Token: 0x060055DA RID: 21978 RVA: 0x00156BF0 File Offset: 0x00154DF0
	// (set) Token: 0x060055DB RID: 21979 RVA: 0x00156C24 File Offset: 0x00154E24
	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: 0x04003913 RID: 14611
	private static readonly IntPtr NativeFieldInfoPtr_titleId;

	// Token: 0x04003914 RID: 14612
	private static readonly IntPtr NativeFieldInfoPtr_imageName;

	// Token: 0x04003915 RID: 14613
	private static readonly IntPtr NativeFieldInfoPtr_videoName;

	// Token: 0x04003916 RID: 14614
	private static readonly IntPtr NativeFieldInfoPtr_timeLength;

	// Token: 0x04003917 RID: 14615
	private static readonly IntPtr NativeFieldInfoPtr_subtitles;

	// Token: 0x04003918 RID: 14616
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_String_String_Il2CppReferenceArray_1_SubtitleData_0;

	// Token: 0x04003919 RID: 14617
	private static readonly IntPtr NativeMethodInfoPtr_GetTitleText_Public_String_0;
}
