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

// Token: 0x0200022B RID: 555
public class NavTest : MonoBehaviour
{
	// Token: 0x0600521C RID: 21020 RVA: 0x00146F10 File Offset: 0x00145110
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 575588, XrefRangeEnd = 575593, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NavTest.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600521D RID: 21021 RVA: 0x00146F54 File Offset: 0x00145154
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 575593, XrefRangeEnd = 575614, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NavTest.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600521E RID: 21022 RVA: 0x00146F98 File Offset: 0x00145198
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 575614, XrefRangeEnd = 575615, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe NavTest()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<NavTest>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NavTest.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600521F RID: 21023 RVA: 0x00146FE4 File Offset: 0x001451E4
	// Note: this type is marked as 'beforefieldinit'.
	static NavTest()
	{
		Il2CppClassPointerStore<NavTest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "NavTest");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<NavTest>.NativeClassPtr);
		NavTest.NativeFieldInfoPtr_target = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NavTest>.NativeClassPtr, "target");
		NavTest.NativeFieldInfoPtr_path = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NavTest>.NativeClassPtr, "path");
		NavTest.NativeFieldInfoPtr_elapsed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NavTest>.NativeClassPtr, "elapsed");
		NavTest.NativeFieldInfoPtr_g_fSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NavTest>.NativeClassPtr, "g_fSpeed");
		NavTest.NativeFieldInfoPtr_g_iPathIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NavTest>.NativeClassPtr, "g_iPathIndex");
		NavTest.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NavTest>.NativeClassPtr, 100668805);
		NavTest.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NavTest>.NativeClassPtr, 100668806);
		NavTest.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NavTest>.NativeClassPtr, 100668807);
	}

	// Token: 0x06005220 RID: 21024 RVA: 0x0000351C File Offset: 0x0000171C
	public NavTest(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001D35 RID: 7477
	// (get) Token: 0x06005221 RID: 21025 RVA: 0x001470B4 File Offset: 0x001452B4
	// (set) Token: 0x06005222 RID: 21026 RVA: 0x001470E8 File Offset: 0x001452E8
	public unsafe Transform target
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_target);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_target), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D36 RID: 7478
	// (get) Token: 0x06005223 RID: 21027 RVA: 0x00147110 File Offset: 0x00145310
	// (set) Token: 0x06005224 RID: 21028 RVA: 0x00147144 File Offset: 0x00145344
	public unsafe NavMeshPath path
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_path);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new NavMeshPath(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_path), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D37 RID: 7479
	// (get) Token: 0x06005225 RID: 21029 RVA: 0x0014716C File Offset: 0x0014536C
	// (set) Token: 0x06005226 RID: 21030 RVA: 0x00147194 File Offset: 0x00145394
	public unsafe float elapsed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_elapsed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_elapsed)) = value;
		}
	}

	// Token: 0x17001D38 RID: 7480
	// (get) Token: 0x06005227 RID: 21031 RVA: 0x001471B8 File Offset: 0x001453B8
	// (set) Token: 0x06005228 RID: 21032 RVA: 0x001471E0 File Offset: 0x001453E0
	public unsafe float g_fSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_g_fSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_g_fSpeed)) = value;
		}
	}

	// Token: 0x17001D39 RID: 7481
	// (get) Token: 0x06005229 RID: 21033 RVA: 0x00147204 File Offset: 0x00145404
	// (set) Token: 0x0600522A RID: 21034 RVA: 0x0014722C File Offset: 0x0014542C
	public unsafe int g_iPathIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_g_iPathIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NavTest.NativeFieldInfoPtr_g_iPathIndex)) = value;
		}
	}

	// Token: 0x0400361F RID: 13855
	private static readonly IntPtr NativeFieldInfoPtr_target;

	// Token: 0x04003620 RID: 13856
	private static readonly IntPtr NativeFieldInfoPtr_path;

	// Token: 0x04003621 RID: 13857
	private static readonly IntPtr NativeFieldInfoPtr_elapsed;

	// Token: 0x04003622 RID: 13858
	private static readonly IntPtr NativeFieldInfoPtr_g_fSpeed;

	// Token: 0x04003623 RID: 13859
	private static readonly IntPtr NativeFieldInfoPtr_g_iPathIndex;

	// Token: 0x04003624 RID: 13860
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003625 RID: 13861
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003626 RID: 13862
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
