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

// Token: 0x020001EE RID: 494
public class NavTest : MonoBehaviour
{
	// Token: 0x06004CEB RID: 19691 RVA: 0x001316F0 File Offset: 0x0012F8F0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 547505, XrefRangeEnd = 547510, 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: 0x06004CEC RID: 19692 RVA: 0x00131734 File Offset: 0x0012F934
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 547510, XrefRangeEnd = 547531, 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: 0x06004CED RID: 19693 RVA: 0x00131778 File Offset: 0x0012F978
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 547531, XrefRangeEnd = 547532, 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: 0x06004CEE RID: 19694 RVA: 0x001317C4 File Offset: 0x0012F9C4
	// 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, 100668368);
		NavTest.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NavTest>.NativeClassPtr, 100668369);
		NavTest.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NavTest>.NativeClassPtr, 100668370);
	}

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

	// Token: 0x17001BB2 RID: 7090
	// (get) Token: 0x06004CF0 RID: 19696 RVA: 0x00131894 File Offset: 0x0012FA94
	// (set) Token: 0x06004CF1 RID: 19697 RVA: 0x001318C8 File Offset: 0x0012FAC8
	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: 0x17001BB3 RID: 7091
	// (get) Token: 0x06004CF2 RID: 19698 RVA: 0x001318F0 File Offset: 0x0012FAF0
	// (set) Token: 0x06004CF3 RID: 19699 RVA: 0x00131924 File Offset: 0x0012FB24
	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: 0x17001BB4 RID: 7092
	// (get) Token: 0x06004CF4 RID: 19700 RVA: 0x0013194C File Offset: 0x0012FB4C
	// (set) Token: 0x06004CF5 RID: 19701 RVA: 0x00131974 File Offset: 0x0012FB74
	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: 0x17001BB5 RID: 7093
	// (get) Token: 0x06004CF6 RID: 19702 RVA: 0x00131998 File Offset: 0x0012FB98
	// (set) Token: 0x06004CF7 RID: 19703 RVA: 0x001319C0 File Offset: 0x0012FBC0
	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: 0x17001BB6 RID: 7094
	// (get) Token: 0x06004CF8 RID: 19704 RVA: 0x001319E4 File Offset: 0x0012FBE4
	// (set) Token: 0x06004CF9 RID: 19705 RVA: 0x00131A0C File Offset: 0x0012FC0C
	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: 0x0400329E RID: 12958
	private static readonly IntPtr NativeFieldInfoPtr_target;

	// Token: 0x0400329F RID: 12959
	private static readonly IntPtr NativeFieldInfoPtr_path;

	// Token: 0x040032A0 RID: 12960
	private static readonly IntPtr NativeFieldInfoPtr_elapsed;

	// Token: 0x040032A1 RID: 12961
	private static readonly IntPtr NativeFieldInfoPtr_g_fSpeed;

	// Token: 0x040032A2 RID: 12962
	private static readonly IntPtr NativeFieldInfoPtr_g_iPathIndex;

	// Token: 0x040032A3 RID: 12963
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x040032A4 RID: 12964
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040032A5 RID: 12965
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
