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

namespace MTAssets.UltimateLODSystem
{
	// Token: 0x0200065E RID: 1630
	public class RuntimeScanDemo : MonoBehaviour
	{
		// Token: 0x0600A758 RID: 42840 RVA: 0x002AE1B8 File Offset: 0x002AC3B8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 655274, XrefRangeEnd = 655288, 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: 0x0600A759 RID: 42841 RVA: 0x002AE1FC File Offset: 0x002AC3FC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 655288, XrefRangeEnd = 655294, 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: 0x0600A75A RID: 42842 RVA: 0x002AE240 File Offset: 0x002AC440
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 655294, XrefRangeEnd = 655301, 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: 0x0600A75B RID: 42843 RVA: 0x002AE284 File Offset: 0x002AC484
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x0600A75C RID: 42844 RVA: 0x002AE2D0 File Offset: 0x002AC4D0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 655301, XrefRangeEnd = 655308, 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: 0x0600A75D RID: 42845 RVA: 0x002AE314 File Offset: 0x002AC514
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 655308, XrefRangeEnd = 655315, 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: 0x0600A75E RID: 42846 RVA: 0x002AE358 File Offset: 0x002AC558
		// 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, 100676240);
			RuntimeScanDemo.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100676241);
			RuntimeScanDemo.NativeMethodInfoPtr_StartUndoScan_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100676242);
			RuntimeScanDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100676243);
			RuntimeScanDemo.NativeMethodInfoPtr__Start_b__5_0_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100676244);
			RuntimeScanDemo.NativeMethodInfoPtr__Start_b__5_1_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RuntimeScanDemo>.NativeClassPtr, 100676245);
		}

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

		// Token: 0x17003896 RID: 14486
		// (get) Token: 0x0600A760 RID: 42848 RVA: 0x002AE464 File Offset: 0x002AC664
		// (set) Token: 0x0600A761 RID: 42849 RVA: 0x002AE498 File Offset: 0x002AC698
		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: 0x17003897 RID: 14487
		// (get) Token: 0x0600A762 RID: 42850 RVA: 0x002AE4C0 File Offset: 0x002AC6C0
		// (set) Token: 0x0600A763 RID: 42851 RVA: 0x002AE4F4 File Offset: 0x002AC6F4
		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: 0x17003898 RID: 14488
		// (get) Token: 0x0600A764 RID: 42852 RVA: 0x002AE51C File Offset: 0x002AC71C
		// (set) Token: 0x0600A765 RID: 42853 RVA: 0x002AE550 File Offset: 0x002AC750
		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: 0x17003899 RID: 14489
		// (get) Token: 0x0600A766 RID: 42854 RVA: 0x002AE578 File Offset: 0x002AC778
		// (set) Token: 0x0600A767 RID: 42855 RVA: 0x002AE5AC File Offset: 0x002AC7AC
		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: 0x1700389A RID: 14490
		// (get) Token: 0x0600A768 RID: 42856 RVA: 0x002AE5D4 File Offset: 0x002AC7D4
		// (set) Token: 0x0600A769 RID: 42857 RVA: 0x002AE608 File Offset: 0x002AC808
		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: 0x0400702A RID: 28714
		private static readonly IntPtr NativeFieldInfoPtr_ulodOfScene;

		// Token: 0x0400702B RID: 28715
		private static readonly IntPtr NativeFieldInfoPtr_buttonText;

		// Token: 0x0400702C RID: 28716
		private static readonly IntPtr NativeFieldInfoPtr_buttonObj;

		// Token: 0x0400702D RID: 28717
		private static readonly IntPtr NativeFieldInfoPtr_scanStatus;

		// Token: 0x0400702E RID: 28718
		private static readonly IntPtr NativeFieldInfoPtr_cameraAnimator;

		// Token: 0x0400702F RID: 28719
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04007030 RID: 28720
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04007031 RID: 28721
		private static readonly IntPtr NativeMethodInfoPtr_StartUndoScan_Public_Void_0;

		// Token: 0x04007032 RID: 28722
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x04007033 RID: 28723
		private static readonly IntPtr NativeMethodInfoPtr__Start_b__5_0_Private_Void_0;

		// Token: 0x04007034 RID: 28724
		private static readonly IntPtr NativeMethodInfoPtr__Start_b__5_1_Private_Void_0;
	}
}
