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

// Token: 0x02000393 RID: 915
public class ManualScripts : MonoBehaviour
{
	// Token: 0x060077BC RID: 30652 RVA: 0x001E746C File Offset: 0x001E566C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616609, XrefRangeEnd = 616623, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ManualScripts.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060077BD RID: 30653 RVA: 0x001E74B0 File Offset: 0x001E56B0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616623, XrefRangeEnd = 616638, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void ChangedPage(int i)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref i;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ManualScripts.NativeMethodInfoPtr_ChangedPage_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060077BE RID: 30654 RVA: 0x001E7504 File Offset: 0x001E5704
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616638, XrefRangeEnd = 616639, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ManualScripts()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ManualScripts.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060077BF RID: 30655 RVA: 0x001E7550 File Offset: 0x001E5750
	// Note: this type is marked as 'beforefieldinit'.
	static ManualScripts()
	{
		Il2CppClassPointerStore<ManualScripts>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ManualScripts");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr);
		ManualScripts.NativeFieldInfoPtr_PageObj = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, "PageObj");
		ManualScripts.NativeFieldInfoPtr_currentPage = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, "currentPage");
		ManualScripts.NativeFieldInfoPtr_minPage = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, "minPage");
		ManualScripts.NativeFieldInfoPtr_maxPage = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, "maxPage");
		ManualScripts.NativeFieldInfoPtr_txtPage = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, "txtPage");
		ManualScripts.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, 100672295);
		ManualScripts.NativeMethodInfoPtr_ChangedPage_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, 100672296);
		ManualScripts.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, 100672297);
	}

	// Token: 0x060077C0 RID: 30656 RVA: 0x0000351C File Offset: 0x0000171C
	public ManualScripts(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002919 RID: 10521
	// (get) Token: 0x060077C1 RID: 30657 RVA: 0x001E7620 File Offset: 0x001E5820
	// (set) Token: 0x060077C2 RID: 30658 RVA: 0x001E7654 File Offset: 0x001E5854
	public unsafe Il2CppReferenceArray<GameObject> PageObj
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_PageObj);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<GameObject>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_PageObj), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700291A RID: 10522
	// (get) Token: 0x060077C3 RID: 30659 RVA: 0x001E767C File Offset: 0x001E587C
	// (set) Token: 0x060077C4 RID: 30660 RVA: 0x001E76A4 File Offset: 0x001E58A4
	public unsafe int currentPage
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_currentPage);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_currentPage)) = value;
		}
	}

	// Token: 0x1700291B RID: 10523
	// (get) Token: 0x060077C5 RID: 30661 RVA: 0x001E76C8 File Offset: 0x001E58C8
	// (set) Token: 0x060077C6 RID: 30662 RVA: 0x001E76F0 File Offset: 0x001E58F0
	public unsafe int minPage
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_minPage);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_minPage)) = value;
		}
	}

	// Token: 0x1700291C RID: 10524
	// (get) Token: 0x060077C7 RID: 30663 RVA: 0x001E7714 File Offset: 0x001E5914
	// (set) Token: 0x060077C8 RID: 30664 RVA: 0x001E773C File Offset: 0x001E593C
	public unsafe int maxPage
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_maxPage);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_maxPage)) = value;
		}
	}

	// Token: 0x1700291D RID: 10525
	// (get) Token: 0x060077C9 RID: 30665 RVA: 0x001E7760 File Offset: 0x001E5960
	// (set) Token: 0x060077CA RID: 30666 RVA: 0x001E7794 File Offset: 0x001E5994
	public unsafe Text txtPage
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_txtPage);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Text(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ManualScripts.NativeFieldInfoPtr_txtPage), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004FAE RID: 20398
	private static readonly IntPtr NativeFieldInfoPtr_PageObj;

	// Token: 0x04004FAF RID: 20399
	private static readonly IntPtr NativeFieldInfoPtr_currentPage;

	// Token: 0x04004FB0 RID: 20400
	private static readonly IntPtr NativeFieldInfoPtr_minPage;

	// Token: 0x04004FB1 RID: 20401
	private static readonly IntPtr NativeFieldInfoPtr_maxPage;

	// Token: 0x04004FB2 RID: 20402
	private static readonly IntPtr NativeFieldInfoPtr_txtPage;

	// Token: 0x04004FB3 RID: 20403
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004FB4 RID: 20404
	private static readonly IntPtr NativeMethodInfoPtr_ChangedPage_Public_Void_Int32_0;

	// Token: 0x04004FB5 RID: 20405
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
