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

// Token: 0x0200026E RID: 622
public class Pos : MonoBehaviour
{
	// Token: 0x0600565D RID: 22109 RVA: 0x00158F44 File Offset: 0x00157144
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580605, XrefRangeEnd = 580623, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Pos.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600565E RID: 22110 RVA: 0x00158F88 File Offset: 0x00157188
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Pos.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600565F RID: 22111 RVA: 0x00158FCC File Offset: 0x001571CC
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Pos()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<Pos>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Pos.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005660 RID: 22112 RVA: 0x00159018 File Offset: 0x00157218
	// Note: this type is marked as 'beforefieldinit'.
	static Pos()
	{
		Il2CppClassPointerStore<Pos>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "Pos");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Pos>.NativeClassPtr);
		Pos.NativeFieldInfoPtr_g_Camera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Pos>.NativeClassPtr, "g_Camera");
		Pos.NativeFieldInfoPtr_g_v3Center = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Pos>.NativeClassPtr, "g_v3Center");
		Pos.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Pos>.NativeClassPtr, 100669159);
		Pos.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Pos>.NativeClassPtr, 100669160);
		Pos.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Pos>.NativeClassPtr, 100669161);
	}

	// Token: 0x06005661 RID: 22113 RVA: 0x0000351C File Offset: 0x0000171C
	public Pos(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E8E RID: 7822
	// (get) Token: 0x06005662 RID: 22114 RVA: 0x001590AC File Offset: 0x001572AC
	// (set) Token: 0x06005663 RID: 22115 RVA: 0x001590E0 File Offset: 0x001572E0
	public unsafe Camera g_Camera
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Pos.NativeFieldInfoPtr_g_Camera);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Camera(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(Pos.NativeFieldInfoPtr_g_Camera), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E8F RID: 7823
	// (get) Token: 0x06005664 RID: 22116 RVA: 0x00159108 File Offset: 0x00157308
	// (set) Token: 0x06005665 RID: 22117 RVA: 0x00159130 File Offset: 0x00157330
	public unsafe Vector3 g_v3Center
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Pos.NativeFieldInfoPtr_g_v3Center);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Pos.NativeFieldInfoPtr_g_v3Center)) = value;
		}
	}

	// Token: 0x04003967 RID: 14695
	private static readonly IntPtr NativeFieldInfoPtr_g_Camera;

	// Token: 0x04003968 RID: 14696
	private static readonly IntPtr NativeFieldInfoPtr_g_v3Center;

	// Token: 0x04003969 RID: 14697
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x0400396A RID: 14698
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400396B RID: 14699
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
