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

// Token: 0x0200033B RID: 827
public class ManualScripts : MonoBehaviour
{
	// Token: 0x06006F69 RID: 28521 RVA: 0x001C4724 File Offset: 0x001C2924
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584308, XrefRangeEnd = 584322, 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: 0x06006F6A RID: 28522 RVA: 0x001C4768 File Offset: 0x001C2968
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584322, XrefRangeEnd = 584337, 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: 0x06006F6B RID: 28523 RVA: 0x001C47BC File Offset: 0x001C29BC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584337, XrefRangeEnd = 584338, 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: 0x06006F6C RID: 28524 RVA: 0x001C4808 File Offset: 0x001C2A08
	// 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, 100671582);
		ManualScripts.NativeMethodInfoPtr_ChangedPage_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, 100671583);
		ManualScripts.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ManualScripts>.NativeClassPtr, 100671584);
	}

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

	// Token: 0x1700267E RID: 9854
	// (get) Token: 0x06006F6E RID: 28526 RVA: 0x001C48D8 File Offset: 0x001C2AD8
	// (set) Token: 0x06006F6F RID: 28527 RVA: 0x001C490C File Offset: 0x001C2B0C
	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: 0x1700267F RID: 9855
	// (get) Token: 0x06006F70 RID: 28528 RVA: 0x001C4934 File Offset: 0x001C2B34
	// (set) Token: 0x06006F71 RID: 28529 RVA: 0x001C495C File Offset: 0x001C2B5C
	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: 0x17002680 RID: 9856
	// (get) Token: 0x06006F72 RID: 28530 RVA: 0x001C4980 File Offset: 0x001C2B80
	// (set) Token: 0x06006F73 RID: 28531 RVA: 0x001C49A8 File Offset: 0x001C2BA8
	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: 0x17002681 RID: 9857
	// (get) Token: 0x06006F74 RID: 28532 RVA: 0x001C49CC File Offset: 0x001C2BCC
	// (set) Token: 0x06006F75 RID: 28533 RVA: 0x001C49F4 File Offset: 0x001C2BF4
	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: 0x17002682 RID: 9858
	// (get) Token: 0x06006F76 RID: 28534 RVA: 0x001C4A18 File Offset: 0x001C2C18
	// (set) Token: 0x06006F77 RID: 28535 RVA: 0x001C4A4C File Offset: 0x001C2C4C
	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: 0x04004A05 RID: 18949
	private static readonly IntPtr NativeFieldInfoPtr_PageObj;

	// Token: 0x04004A06 RID: 18950
	private static readonly IntPtr NativeFieldInfoPtr_currentPage;

	// Token: 0x04004A07 RID: 18951
	private static readonly IntPtr NativeFieldInfoPtr_minPage;

	// Token: 0x04004A08 RID: 18952
	private static readonly IntPtr NativeFieldInfoPtr_maxPage;

	// Token: 0x04004A09 RID: 18953
	private static readonly IntPtr NativeFieldInfoPtr_txtPage;

	// Token: 0x04004A0A RID: 18954
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004A0B RID: 18955
	private static readonly IntPtr NativeMethodInfoPtr_ChangedPage_Public_Void_Int32_0;

	// Token: 0x04004A0C RID: 18956
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
