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

// Token: 0x0200022D RID: 557
public class Pos : MonoBehaviour
{
	// Token: 0x060050EC RID: 20716 RVA: 0x0014258C File Offset: 0x0014078C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552390, XrefRangeEnd = 552408, 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: 0x060050ED RID: 20717 RVA: 0x001425D0 File Offset: 0x001407D0
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, 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: 0x060050EE RID: 20718 RVA: 0x00142614 File Offset: 0x00140814
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x060050EF RID: 20719 RVA: 0x00142660 File Offset: 0x00140860
	// 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, 100668700);
		Pos.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Pos>.NativeClassPtr, 100668701);
		Pos.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Pos>.NativeClassPtr, 100668702);
	}

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

	// Token: 0x17001CED RID: 7405
	// (get) Token: 0x060050F1 RID: 20721 RVA: 0x001426F4 File Offset: 0x001408F4
	// (set) Token: 0x060050F2 RID: 20722 RVA: 0x00142728 File Offset: 0x00140928
	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: 0x17001CEE RID: 7406
	// (get) Token: 0x060050F3 RID: 20723 RVA: 0x00142750 File Offset: 0x00140950
	// (set) Token: 0x060050F4 RID: 20724 RVA: 0x00142778 File Offset: 0x00140978
	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: 0x0400359C RID: 13724
	private static readonly IntPtr NativeFieldInfoPtr_g_Camera;

	// Token: 0x0400359D RID: 13725
	private static readonly IntPtr NativeFieldInfoPtr_g_v3Center;

	// Token: 0x0400359E RID: 13726
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x0400359F RID: 13727
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040035A0 RID: 13728
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
