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

// Token: 0x020001E7 RID: 487
public class LightController : SceneEvent
{
	// Token: 0x06004E1A RID: 19994 RVA: 0x00137B68 File Offset: 0x00135D68
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572000, XrefRangeEnd = 572001, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void InitData(SceneEventManager SEM)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(SEM);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), LightController.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004E1B RID: 19995 RVA: 0x00137BCC File Offset: 0x00135DCC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572001, XrefRangeEnd = 572016, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightController.NativeMethodInfoPtr_Update_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004E1C RID: 19996 RVA: 0x00137C10 File Offset: 0x00135E10
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572016, XrefRangeEnd = 572019, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), LightController.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004E1D RID: 19997 RVA: 0x00137C60 File Offset: 0x00135E60
	[CallerCount(0)]
	public unsafe override void ReleaseEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), LightController.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004E1E RID: 19998 RVA: 0x00137CB0 File Offset: 0x00135EB0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572019, XrefRangeEnd = 572020, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe LightController()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LightController>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightController.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004E1F RID: 19999 RVA: 0x00137CFC File Offset: 0x00135EFC
	// Note: this type is marked as 'beforefieldinit'.
	static LightController()
	{
		Il2CppClassPointerStore<LightController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "LightController");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LightController>.NativeClassPtr);
		LightController.NativeFieldInfoPtr_LC = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightController>.NativeClassPtr, "LC");
		LightController.NativeFieldInfoPtr_DefaultEnable = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightController>.NativeClassPtr, "DefaultEnable");
		LightController.NativeFieldInfoPtr_DefaultIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightController>.NativeClassPtr, "DefaultIntensity");
		LightController.NativeFieldInfoPtr_RandomIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightController>.NativeClassPtr, "RandomIntensity");
		LightController.NativeFieldInfoPtr_Speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightController>.NativeClassPtr, "Speed");
		LightController.NativeFieldInfoPtr_g_fIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightController>.NativeClassPtr, "g_fIntensity");
		LightController.NativeFieldInfoPtr_g_fRandomIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightController>.NativeClassPtr, "g_fRandomIntensity");
		LightController.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668550);
		LightController.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668551);
		LightController.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668552);
		LightController.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668553);
		LightController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668554);
	}

	// Token: 0x06004E20 RID: 20000 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public LightController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001BF0 RID: 7152
	// (get) Token: 0x06004E21 RID: 20001 RVA: 0x00137E1C File Offset: 0x0013601C
	// (set) Token: 0x06004E22 RID: 20002 RVA: 0x00137E50 File Offset: 0x00136050
	public unsafe Il2CppReferenceArray<Light> LC
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_LC);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Light>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_LC), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001BF1 RID: 7153
	// (get) Token: 0x06004E23 RID: 20003 RVA: 0x00137E78 File Offset: 0x00136078
	// (set) Token: 0x06004E24 RID: 20004 RVA: 0x00137EA0 File Offset: 0x001360A0
	public unsafe bool DefaultEnable
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_DefaultEnable);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_DefaultEnable)) = value;
		}
	}

	// Token: 0x17001BF2 RID: 7154
	// (get) Token: 0x06004E25 RID: 20005 RVA: 0x00137EC4 File Offset: 0x001360C4
	// (set) Token: 0x06004E26 RID: 20006 RVA: 0x00137EEC File Offset: 0x001360EC
	public unsafe float DefaultIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_DefaultIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_DefaultIntensity)) = value;
		}
	}

	// Token: 0x17001BF3 RID: 7155
	// (get) Token: 0x06004E27 RID: 20007 RVA: 0x00137F10 File Offset: 0x00136110
	// (set) Token: 0x06004E28 RID: 20008 RVA: 0x00137F38 File Offset: 0x00136138
	public unsafe float RandomIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_RandomIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_RandomIntensity)) = value;
		}
	}

	// Token: 0x17001BF4 RID: 7156
	// (get) Token: 0x06004E29 RID: 20009 RVA: 0x00137F5C File Offset: 0x0013615C
	// (set) Token: 0x06004E2A RID: 20010 RVA: 0x00137F84 File Offset: 0x00136184
	public unsafe float Speed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_Speed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_Speed)) = value;
		}
	}

	// Token: 0x17001BF5 RID: 7157
	// (get) Token: 0x06004E2B RID: 20011 RVA: 0x00137FA8 File Offset: 0x001361A8
	// (set) Token: 0x06004E2C RID: 20012 RVA: 0x00137FD0 File Offset: 0x001361D0
	public unsafe float g_fIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_g_fIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_g_fIntensity)) = value;
		}
	}

	// Token: 0x17001BF6 RID: 7158
	// (get) Token: 0x06004E2D RID: 20013 RVA: 0x00137FF4 File Offset: 0x001361F4
	// (set) Token: 0x06004E2E RID: 20014 RVA: 0x0013801C File Offset: 0x0013621C
	public unsafe float g_fRandomIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_g_fRandomIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightController.NativeFieldInfoPtr_g_fRandomIntensity)) = value;
		}
	}

	// Token: 0x040033B1 RID: 13233
	private static readonly IntPtr NativeFieldInfoPtr_LC;

	// Token: 0x040033B2 RID: 13234
	private static readonly IntPtr NativeFieldInfoPtr_DefaultEnable;

	// Token: 0x040033B3 RID: 13235
	private static readonly IntPtr NativeFieldInfoPtr_DefaultIntensity;

	// Token: 0x040033B4 RID: 13236
	private static readonly IntPtr NativeFieldInfoPtr_RandomIntensity;

	// Token: 0x040033B5 RID: 13237
	private static readonly IntPtr NativeFieldInfoPtr_Speed;

	// Token: 0x040033B6 RID: 13238
	private static readonly IntPtr NativeFieldInfoPtr_g_fIntensity;

	// Token: 0x040033B7 RID: 13239
	private static readonly IntPtr NativeFieldInfoPtr_g_fRandomIntensity;

	// Token: 0x040033B8 RID: 13240
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x040033B9 RID: 13241
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;

	// Token: 0x040033BA RID: 13242
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040033BB RID: 13243
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x040033BC RID: 13244
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
