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

// Token: 0x020001B0 RID: 432
public class LightController : SceneEvent
{
	// Token: 0x0600491F RID: 18719 RVA: 0x00123104 File Offset: 0x00121304
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544108, XrefRangeEnd = 544109, 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: 0x06004920 RID: 18720 RVA: 0x00123168 File Offset: 0x00121368
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544109, XrefRangeEnd = 544124, 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: 0x06004921 RID: 18721 RVA: 0x001231AC File Offset: 0x001213AC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544124, XrefRangeEnd = 544127, 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: 0x06004922 RID: 18722 RVA: 0x001231FC File Offset: 0x001213FC
	[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: 0x06004923 RID: 18723 RVA: 0x0012324C File Offset: 0x0012144C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544127, XrefRangeEnd = 544128, 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: 0x06004924 RID: 18724 RVA: 0x00123298 File Offset: 0x00121498
	// 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, 100668135);
		LightController.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668136);
		LightController.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668137);
		LightController.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668138);
		LightController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightController>.NativeClassPtr, 100668139);
	}

	// Token: 0x06004925 RID: 18725 RVA: 0x00117370 File Offset: 0x00115570
	public LightController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001A79 RID: 6777
	// (get) Token: 0x06004926 RID: 18726 RVA: 0x001233B8 File Offset: 0x001215B8
	// (set) Token: 0x06004927 RID: 18727 RVA: 0x001233EC File Offset: 0x001215EC
	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: 0x17001A7A RID: 6778
	// (get) Token: 0x06004928 RID: 18728 RVA: 0x00123414 File Offset: 0x00121614
	// (set) Token: 0x06004929 RID: 18729 RVA: 0x0012343C File Offset: 0x0012163C
	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: 0x17001A7B RID: 6779
	// (get) Token: 0x0600492A RID: 18730 RVA: 0x00123460 File Offset: 0x00121660
	// (set) Token: 0x0600492B RID: 18731 RVA: 0x00123488 File Offset: 0x00121688
	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: 0x17001A7C RID: 6780
	// (get) Token: 0x0600492C RID: 18732 RVA: 0x001234AC File Offset: 0x001216AC
	// (set) Token: 0x0600492D RID: 18733 RVA: 0x001234D4 File Offset: 0x001216D4
	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: 0x17001A7D RID: 6781
	// (get) Token: 0x0600492E RID: 18734 RVA: 0x001234F8 File Offset: 0x001216F8
	// (set) Token: 0x0600492F RID: 18735 RVA: 0x00123520 File Offset: 0x00121720
	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: 0x17001A7E RID: 6782
	// (get) Token: 0x06004930 RID: 18736 RVA: 0x00123544 File Offset: 0x00121744
	// (set) Token: 0x06004931 RID: 18737 RVA: 0x0012356C File Offset: 0x0012176C
	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: 0x17001A7F RID: 6783
	// (get) Token: 0x06004932 RID: 18738 RVA: 0x00123590 File Offset: 0x00121790
	// (set) Token: 0x06004933 RID: 18739 RVA: 0x001235B8 File Offset: 0x001217B8
	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: 0x04003054 RID: 12372
	private static readonly IntPtr NativeFieldInfoPtr_LC;

	// Token: 0x04003055 RID: 12373
	private static readonly IntPtr NativeFieldInfoPtr_DefaultEnable;

	// Token: 0x04003056 RID: 12374
	private static readonly IntPtr NativeFieldInfoPtr_DefaultIntensity;

	// Token: 0x04003057 RID: 12375
	private static readonly IntPtr NativeFieldInfoPtr_RandomIntensity;

	// Token: 0x04003058 RID: 12376
	private static readonly IntPtr NativeFieldInfoPtr_Speed;

	// Token: 0x04003059 RID: 12377
	private static readonly IntPtr NativeFieldInfoPtr_g_fIntensity;

	// Token: 0x0400305A RID: 12378
	private static readonly IntPtr NativeFieldInfoPtr_g_fRandomIntensity;

	// Token: 0x0400305B RID: 12379
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x0400305C RID: 12380
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;

	// Token: 0x0400305D RID: 12381
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400305E RID: 12382
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x0400305F RID: 12383
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
