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

// Token: 0x0200038C RID: 908
public class csLightIntancityControl : MonoBehaviour
{
	// Token: 0x06007744 RID: 30532 RVA: 0x001E57A8 File Offset: 0x001E39A8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616371, XrefRangeEnd = 616378, 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: 0x06007745 RID: 30533 RVA: 0x001E57EC File Offset: 0x001E39EC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616378, XrefRangeEnd = 616379, 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: 0x06007746 RID: 30534 RVA: 0x001E5838 File Offset: 0x001E3A38
	// 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, 100672261);
		csLightIntancityControl.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csLightIntancityControl>.NativeClassPtr, 100672262);
	}

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

	// Token: 0x170028F1 RID: 10481
	// (get) Token: 0x06007748 RID: 30536 RVA: 0x001E58E0 File Offset: 0x001E3AE0
	// (set) Token: 0x06007749 RID: 30537 RVA: 0x001E5914 File Offset: 0x001E3B14
	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: 0x170028F2 RID: 10482
	// (get) Token: 0x0600774A RID: 30538 RVA: 0x001E593C File Offset: 0x001E3B3C
	// (set) Token: 0x0600774B RID: 30539 RVA: 0x001E5964 File Offset: 0x001E3B64
	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: 0x170028F3 RID: 10483
	// (get) Token: 0x0600774C RID: 30540 RVA: 0x001E5988 File Offset: 0x001E3B88
	// (set) Token: 0x0600774D RID: 30541 RVA: 0x001E59B0 File Offset: 0x001E3BB0
	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: 0x170028F4 RID: 10484
	// (get) Token: 0x0600774E RID: 30542 RVA: 0x001E59D4 File Offset: 0x001E3BD4
	// (set) Token: 0x0600774F RID: 30543 RVA: 0x001E59FC File Offset: 0x001E3BFC
	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: 0x04004F68 RID: 20328
	private static readonly IntPtr NativeFieldInfoPtr__light;

	// Token: 0x04004F69 RID: 20329
	private static readonly IntPtr NativeFieldInfoPtr__time;

	// Token: 0x04004F6A RID: 20330
	private static readonly IntPtr NativeFieldInfoPtr_Delay;

	// Token: 0x04004F6B RID: 20331
	private static readonly IntPtr NativeFieldInfoPtr_Down;

	// Token: 0x04004F6C RID: 20332
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004F6D RID: 20333
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
