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

// Token: 0x020001C7 RID: 455
public class ChangeFog : SceneEvent
{
	// Token: 0x06004B7A RID: 19322 RVA: 0x0012DC48 File Offset: 0x0012BE48
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569881, XrefRangeEnd = 569883, 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), ChangeFog.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004B7B RID: 19323 RVA: 0x0012DC98 File Offset: 0x0012BE98
	[CallerCount(0)]
	public unsafe override void OnTriggerExit(Collider other)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(other);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ChangeFog.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004B7C RID: 19324 RVA: 0x0012DCFC File Offset: 0x0012BEFC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569883, XrefRangeEnd = 569884, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ChangeFog()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ChangeFog.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004B7D RID: 19325 RVA: 0x0012DD48 File Offset: 0x0012BF48
	// Note: this type is marked as 'beforefieldinit'.
	static ChangeFog()
	{
		Il2CppClassPointerStore<ChangeFog>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ChangeFog");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr);
		ChangeFog.NativeFieldInfoPtr_FogColor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, "FogColor");
		ChangeFog.NativeFieldInfoPtr_FogStart = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, "FogStart");
		ChangeFog.NativeFieldInfoPtr_FogEnd = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, "FogEnd");
		ChangeFog.NativeFieldInfoPtr_Speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, "Speed");
		ChangeFog.NativeFieldInfoPtr_g_fChangeTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, "g_fChangeTime");
		ChangeFog.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, 100668396);
		ChangeFog.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, 100668397);
		ChangeFog.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ChangeFog>.NativeClassPtr, 100668398);
	}

	// Token: 0x06004B7E RID: 19326 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public ChangeFog(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B07 RID: 6919
	// (get) Token: 0x06004B7F RID: 19327 RVA: 0x0012DE18 File Offset: 0x0012C018
	// (set) Token: 0x06004B80 RID: 19328 RVA: 0x0012DE40 File Offset: 0x0012C040
	public unsafe Color FogColor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_FogColor);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_FogColor)) = value;
		}
	}

	// Token: 0x17001B08 RID: 6920
	// (get) Token: 0x06004B81 RID: 19329 RVA: 0x0012DE64 File Offset: 0x0012C064
	// (set) Token: 0x06004B82 RID: 19330 RVA: 0x0012DE8C File Offset: 0x0012C08C
	public unsafe float FogStart
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_FogStart);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_FogStart)) = value;
		}
	}

	// Token: 0x17001B09 RID: 6921
	// (get) Token: 0x06004B83 RID: 19331 RVA: 0x0012DEB0 File Offset: 0x0012C0B0
	// (set) Token: 0x06004B84 RID: 19332 RVA: 0x0012DED8 File Offset: 0x0012C0D8
	public unsafe float FogEnd
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_FogEnd);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_FogEnd)) = value;
		}
	}

	// Token: 0x17001B0A RID: 6922
	// (get) Token: 0x06004B85 RID: 19333 RVA: 0x0012DEFC File Offset: 0x0012C0FC
	// (set) Token: 0x06004B86 RID: 19334 RVA: 0x0012DF24 File Offset: 0x0012C124
	public unsafe float Speed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_Speed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_Speed)) = value;
		}
	}

	// Token: 0x17001B0B RID: 6923
	// (get) Token: 0x06004B87 RID: 19335 RVA: 0x0012DF48 File Offset: 0x0012C148
	// (set) Token: 0x06004B88 RID: 19336 RVA: 0x0012DF70 File Offset: 0x0012C170
	public unsafe float g_fChangeTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_g_fChangeTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ChangeFog.NativeFieldInfoPtr_g_fChangeTime)) = value;
		}
	}

	// Token: 0x04003211 RID: 12817
	private static readonly IntPtr NativeFieldInfoPtr_FogColor;

	// Token: 0x04003212 RID: 12818
	private static readonly IntPtr NativeFieldInfoPtr_FogStart;

	// Token: 0x04003213 RID: 12819
	private static readonly IntPtr NativeFieldInfoPtr_FogEnd;

	// Token: 0x04003214 RID: 12820
	private static readonly IntPtr NativeFieldInfoPtr_Speed;

	// Token: 0x04003215 RID: 12821
	private static readonly IntPtr NativeFieldInfoPtr_g_fChangeTime;

	// Token: 0x04003216 RID: 12822
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003217 RID: 12823
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x04003218 RID: 12824
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
