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

// Token: 0x02000334 RID: 820
public class csLightIntancityControl : MonoBehaviour
{
	// Token: 0x06006EF1 RID: 28401 RVA: 0x001C2A60 File Offset: 0x001C0C60
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584070, XrefRangeEnd = 584077, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(csLightIntancityControl.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006EF2 RID: 28402 RVA: 0x001C2AA4 File Offset: 0x001C0CA4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584077, XrefRangeEnd = 584078, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe csLightIntancityControl()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(csLightIntancityControl.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006EF3 RID: 28403 RVA: 0x001C2AF0 File Offset: 0x001C0CF0
	// Note: this type is marked as 'beforefieldinit'.
	static csLightIntancityControl()
	{
		Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "csLightIntancityControl");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr);
		csLightIntancityControl.NativeFieldInfoPtr__light = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr, "_light");
		csLightIntancityControl.NativeFieldInfoPtr__time = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr, "_time");
		csLightIntancityControl.NativeFieldInfoPtr_Delay = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr, "Delay");
		csLightIntancityControl.NativeFieldInfoPtr_Down = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr, "Down");
		csLightIntancityControl.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr, 100671548);
		csLightIntancityControl.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr, 100671549);
	}

	// Token: 0x06006EF4 RID: 28404 RVA: 0x0000351C File Offset: 0x0000171C
	public csLightIntancityControl(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002656 RID: 9814
	// (get) Token: 0x06006EF5 RID: 28405 RVA: 0x001C2B98 File Offset: 0x001C0D98
	// (set) Token: 0x06006EF6 RID: 28406 RVA: 0x001C2BCC File Offset: 0x001C0DCC
	public unsafe Light _light
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csLightIntancityControl.NativeFieldInfoPtr__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(csLightIntancityControl.NativeFieldInfoPtr__light), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002657 RID: 9815
	// (get) Token: 0x06006EF7 RID: 28407 RVA: 0x001C2BF4 File Offset: 0x001C0DF4
	// (set) Token: 0x06006EF8 RID: 28408 RVA: 0x001C2C1C File Offset: 0x001C0E1C
	public unsafe float _time
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csLightIntancityControl.NativeFieldInfoPtr__time);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csLightIntancityControl.NativeFieldInfoPtr__time)) = value;
		}
	}

	// Token: 0x17002658 RID: 9816
	// (get) Token: 0x06006EF9 RID: 28409 RVA: 0x001C2C40 File Offset: 0x001C0E40
	// (set) Token: 0x06006EFA RID: 28410 RVA: 0x001C2C68 File Offset: 0x001C0E68
	public unsafe float Delay
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csLightIntancityControl.NativeFieldInfoPtr_Delay);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csLightIntancityControl.NativeFieldInfoPtr_Delay)) = value;
		}
	}

	// Token: 0x17002659 RID: 9817
	// (get) Token: 0x06006EFB RID: 28411 RVA: 0x001C2C8C File Offset: 0x001C0E8C
	// (set) Token: 0x06006EFC RID: 28412 RVA: 0x001C2CB4 File Offset: 0x001C0EB4
	public unsafe float Down
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csLightIntancityControl.NativeFieldInfoPtr_Down);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csLightIntancityControl.NativeFieldInfoPtr_Down)) = value;
		}
	}

	// Token: 0x040049BF RID: 18879
	private static readonly IntPtr NativeFieldInfoPtr__light;

	// Token: 0x040049C0 RID: 18880
	private static readonly IntPtr NativeFieldInfoPtr__time;

	// Token: 0x040049C1 RID: 18881
	private static readonly IntPtr NativeFieldInfoPtr_Delay;

	// Token: 0x040049C2 RID: 18882
	private static readonly IntPtr NativeFieldInfoPtr_Down;

	// Token: 0x040049C3 RID: 18883
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040049C4 RID: 18884
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
