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

namespace MTAssets.UltimateLODSystem
{
	// Token: 0x02000606 RID: 1542
	public class RuntimeScanDemo : MonoBehaviour
	{
		// Token: 0x06009F05 RID: 40709 RVA: 0x0028B47C File Offset: 0x0028967C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622972, XrefRangeEnd = 622986, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RuntimeScanDemo.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009F06 RID: 40710 RVA: 0x0028B4C0 File Offset: 0x002896C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622986, XrefRangeEnd = 622992, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RuntimeScanDemo.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009F07 RID: 40711 RVA: 0x0028B504 File Offset: 0x00289704
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622992, XrefRangeEnd = 622999, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void StartUndoScan()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RuntimeScanDemo.NativeMethodInfoPtr_StartUndoScan_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009F08 RID: 40712 RVA: 0x0028B548 File Offset: 0x00289748
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe RuntimeScanDemo()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RuntimeScanDemo.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009F09 RID: 40713 RVA: 0x0028B594 File Offset: 0x00289794
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622999, XrefRangeEnd = 623006, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void _Start_b__5_0()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RuntimeScanDemo.NativeMethodInfoPtr__Start_b__5_0_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009F0A RID: 40714 RVA: 0x0028B5D8 File Offset: 0x002897D8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 623006, XrefRangeEnd = 623013, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void _Start_b__5_1()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RuntimeScanDemo.NativeMethodInfoPtr__Start_b__5_1_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009F0B RID: 40715 RVA: 0x0028B61C File Offset: 0x0028981C
		// Note: this type is marked as 'beforefieldinit'.
		static RuntimeScanDemo()
		{
			Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "MTAssets.UltimateLODSystem", "RuntimeScanDemo");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr);
			RuntimeScanDemo.NativeFieldInfoPtr_ulodOfScene = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, "ulodOfScene");
			RuntimeScanDemo.NativeFieldInfoPtr_buttonText = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, "buttonText");
			RuntimeScanDemo.NativeFieldInfoPtr_buttonObj = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, "buttonObj");
			RuntimeScanDemo.NativeFieldInfoPtr_scanStatus = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, "scanStatus");
			RuntimeScanDemo.NativeFieldInfoPtr_cameraAnimator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, "cameraAnimator");
			RuntimeScanDemo.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100675527);
			RuntimeScanDemo.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100675528);
			RuntimeScanDemo.NativeMethodInfoPtr_StartUndoScan_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100675529);
			RuntimeScanDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100675530);
			RuntimeScanDemo.NativeMethodInfoPtr__Start_b__5_0_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100675531);
			RuntimeScanDemo.NativeMethodInfoPtr__Start_b__5_1_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100675532);
		}

		// Token: 0x06009F0C RID: 40716 RVA: 0x0000351C File Offset: 0x0000171C
		public RuntimeScanDemo(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170035FB RID: 13819
		// (get) Token: 0x06009F0D RID: 40717 RVA: 0x0028B728 File Offset: 0x00289928
		// (set) Token: 0x06009F0E RID: 40718 RVA: 0x0028B75C File Offset: 0x0028995C
		public unsafe UltimateLevelOfDetail ulodOfScene
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_ulodOfScene);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new UltimateLevelOfDetail(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_ulodOfScene), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035FC RID: 13820
		// (get) Token: 0x06009F0F RID: 40719 RVA: 0x0028B784 File Offset: 0x00289984
		// (set) Token: 0x06009F10 RID: 40720 RVA: 0x0028B7B8 File Offset: 0x002899B8
		public unsafe Text buttonText
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_buttonText);
				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(RuntimeScanDemo.NativeFieldInfoPtr_buttonText), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035FD RID: 13821
		// (get) Token: 0x06009F11 RID: 40721 RVA: 0x0028B7E0 File Offset: 0x002899E0
		// (set) Token: 0x06009F12 RID: 40722 RVA: 0x0028B814 File Offset: 0x00289A14
		public unsafe GameObject buttonObj
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_buttonObj);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_buttonObj), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035FE RID: 13822
		// (get) Token: 0x06009F13 RID: 40723 RVA: 0x0028B83C File Offset: 0x00289A3C
		// (set) Token: 0x06009F14 RID: 40724 RVA: 0x0028B870 File Offset: 0x00289A70
		public unsafe Text scanStatus
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_scanStatus);
				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(RuntimeScanDemo.NativeFieldInfoPtr_scanStatus), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035FF RID: 13823
		// (get) Token: 0x06009F15 RID: 40725 RVA: 0x0028B898 File Offset: 0x00289A98
		// (set) Token: 0x06009F16 RID: 40726 RVA: 0x0028B8CC File Offset: 0x00289ACC
		public unsafe Animator cameraAnimator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_cameraAnimator);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Animator(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RuntimeScanDemo.NativeFieldInfoPtr_cameraAnimator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04006A81 RID: 27265
		private static readonly IntPtr NativeFieldInfoPtr_ulodOfScene;

		// Token: 0x04006A82 RID: 27266
		private static readonly IntPtr NativeFieldInfoPtr_buttonText;

		// Token: 0x04006A83 RID: 27267
		private static readonly IntPtr NativeFieldInfoPtr_buttonObj;

		// Token: 0x04006A84 RID: 27268
		private static readonly IntPtr NativeFieldInfoPtr_scanStatus;

		// Token: 0x04006A85 RID: 27269
		private static readonly IntPtr NativeFieldInfoPtr_cameraAnimator;

		// Token: 0x04006A86 RID: 27270
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006A87 RID: 27271
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04006A88 RID: 27272
		private static readonly IntPtr NativeMethodInfoPtr_StartUndoScan_Public_Void_0;

		// Token: 0x04006A89 RID: 27273
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x04006A8A RID: 27274
		private static readonly IntPtr NativeMethodInfoPtr__Start_b__5_0_Private_Void_0;

		// Token: 0x04006A8B RID: 27275
		private static readonly IntPtr NativeMethodInfoPtr__Start_b__5_1_Private_Void_0;
	}
}
