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

// Token: 0x02000366 RID: 870
public class FirstPersonLauncher : MonoBehaviour
{
	// Token: 0x060071B6 RID: 29110 RVA: 0x001CD18C File Offset: 0x001CB38C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585784, XrefRangeEnd = 585802, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FirstPersonLauncher.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060071B7 RID: 29111 RVA: 0x001CD1D0 File Offset: 0x001CB3D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585802, XrefRangeEnd = 585803, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe FirstPersonLauncher()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FirstPersonLauncher.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060071B8 RID: 29112 RVA: 0x001CD21C File Offset: 0x001CB41C
	// Note: this type is marked as 'beforefieldinit'.
	static FirstPersonLauncher()
	{
		Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "FirstPersonLauncher");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr);
		FirstPersonLauncher.NativeFieldInfoPtr_prefab = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr, "prefab");
		FirstPersonLauncher.NativeFieldInfoPtr_power = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr, "power");
		FirstPersonLauncher.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr, 100671752);
		FirstPersonLauncher.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr, 100671753);
	}

	// Token: 0x060071B9 RID: 29113 RVA: 0x0000351C File Offset: 0x0000171C
	public FirstPersonLauncher(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002732 RID: 10034
	// (get) Token: 0x060071BA RID: 29114 RVA: 0x001CD29C File Offset: 0x001CB49C
	// (set) Token: 0x060071BB RID: 29115 RVA: 0x001CD2D0 File Offset: 0x001CB4D0
	public unsafe GameObject prefab
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FirstPersonLauncher.NativeFieldInfoPtr_prefab);
			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(FirstPersonLauncher.NativeFieldInfoPtr_prefab), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002733 RID: 10035
	// (get) Token: 0x060071BC RID: 29116 RVA: 0x001CD2F8 File Offset: 0x001CB4F8
	// (set) Token: 0x060071BD RID: 29117 RVA: 0x001CD320 File Offset: 0x001CB520
	public unsafe float power
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FirstPersonLauncher.NativeFieldInfoPtr_power);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FirstPersonLauncher.NativeFieldInfoPtr_power)) = value;
		}
	}

	// Token: 0x04004B6D RID: 19309
	private static readonly IntPtr NativeFieldInfoPtr_prefab;

	// Token: 0x04004B6E RID: 19310
	private static readonly IntPtr NativeFieldInfoPtr_power;

	// Token: 0x04004B6F RID: 19311
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004B70 RID: 19312
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
