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

// Token: 0x020003BE RID: 958
public class FirstPersonLauncher : MonoBehaviour
{
	// Token: 0x06007A09 RID: 31241 RVA: 0x001EFED4 File Offset: 0x001EE0D4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618085, XrefRangeEnd = 618103, 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: 0x06007A0A RID: 31242 RVA: 0x001EFF18 File Offset: 0x001EE118
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618103, XrefRangeEnd = 618104, 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: 0x06007A0B RID: 31243 RVA: 0x001EFF64 File Offset: 0x001EE164
	// 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, 100672465);
		FirstPersonLauncher.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FirstPersonLauncher>.NativeClassPtr, 100672466);
	}

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

	// Token: 0x170029CD RID: 10701
	// (get) Token: 0x06007A0D RID: 31245 RVA: 0x001EFFE4 File Offset: 0x001EE1E4
	// (set) Token: 0x06007A0E RID: 31246 RVA: 0x001F0018 File Offset: 0x001EE218
	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: 0x170029CE RID: 10702
	// (get) Token: 0x06007A0F RID: 31247 RVA: 0x001F0040 File Offset: 0x001EE240
	// (set) Token: 0x06007A10 RID: 31248 RVA: 0x001F0068 File Offset: 0x001EE268
	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: 0x04005116 RID: 20758
	private static readonly IntPtr NativeFieldInfoPtr_prefab;

	// Token: 0x04005117 RID: 20759
	private static readonly IntPtr NativeFieldInfoPtr_power;

	// Token: 0x04005118 RID: 20760
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04005119 RID: 20761
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
