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

// Token: 0x02000105 RID: 261
public class IceChargeShotLightSet : MonoBehaviour
{
	// Token: 0x06003506 RID: 13574 RVA: 0x000D31B8 File Offset: 0x000D13B8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 541411, XrefRangeEnd = 541420, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IceChargeShotLightSet.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06003507 RID: 13575 RVA: 0x000D31FC File Offset: 0x000D13FC
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 541424, RefRangeEnd = 541430, XrefRangeStart = 541420, XrefRangeEnd = 541424, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetIntensity(float fIntensity)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref fIntensity;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IceChargeShotLightSet.NativeMethodInfoPtr_SetIntensity_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06003508 RID: 13576 RVA: 0x000D3250 File Offset: 0x000D1450
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 541431, RefRangeEnd = 541432, XrefRangeStart = 541430, XrefRangeEnd = 541431, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe IceChargeShotLightSet()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IceChargeShotLightSet.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06003509 RID: 13577 RVA: 0x000D329C File Offset: 0x000D149C
	// Note: this type is marked as 'beforefieldinit'.
	static IceChargeShotLightSet()
	{
		Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "IceChargeShotLightSet");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr);
		IceChargeShotLightSet.NativeFieldInfoPtr_g_Light = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr, "g_Light");
		IceChargeShotLightSet.NativeFieldInfoPtr_Attenuation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr, "Attenuation");
		IceChargeShotLightSet.NativeFieldInfoPtr_g_fIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr, "g_fIntensity");
		IceChargeShotLightSet.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr, 100666698);
		IceChargeShotLightSet.NativeMethodInfoPtr_SetIntensity_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr, 100666699);
		IceChargeShotLightSet.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IceChargeShotLightSet>.NativeClassPtr, 100666700);
	}

	// Token: 0x0600350A RID: 13578 RVA: 0x0000351C File Offset: 0x0000171C
	public IceChargeShotLightSet(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001349 RID: 4937
	// (get) Token: 0x0600350B RID: 13579 RVA: 0x000D3344 File Offset: 0x000D1544
	// (set) Token: 0x0600350C RID: 13580 RVA: 0x000D3378 File Offset: 0x000D1578
	public unsafe Light g_Light
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IceChargeShotLightSet.NativeFieldInfoPtr_g_Light);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Light(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(IceChargeShotLightSet.NativeFieldInfoPtr_g_Light), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700134A RID: 4938
	// (get) Token: 0x0600350D RID: 13581 RVA: 0x000D33A0 File Offset: 0x000D15A0
	// (set) Token: 0x0600350E RID: 13582 RVA: 0x000D33C8 File Offset: 0x000D15C8
	public unsafe float Attenuation
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IceChargeShotLightSet.NativeFieldInfoPtr_Attenuation);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IceChargeShotLightSet.NativeFieldInfoPtr_Attenuation)) = value;
		}
	}

	// Token: 0x1700134B RID: 4939
	// (get) Token: 0x0600350F RID: 13583 RVA: 0x000D33EC File Offset: 0x000D15EC
	// (set) Token: 0x06003510 RID: 13584 RVA: 0x000D3414 File Offset: 0x000D1614
	public unsafe float g_fIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IceChargeShotLightSet.NativeFieldInfoPtr_g_fIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IceChargeShotLightSet.NativeFieldInfoPtr_g_fIntensity)) = value;
		}
	}

	// Token: 0x04002339 RID: 9017
	private static readonly IntPtr NativeFieldInfoPtr_g_Light;

	// Token: 0x0400233A RID: 9018
	private static readonly IntPtr NativeFieldInfoPtr_Attenuation;

	// Token: 0x0400233B RID: 9019
	private static readonly IntPtr NativeFieldInfoPtr_g_fIntensity;

	// Token: 0x0400233C RID: 9020
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400233D RID: 9021
	private static readonly IntPtr NativeMethodInfoPtr_SetIntensity_Public_Void_Single_0;

	// Token: 0x0400233E RID: 9022
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
