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

// Token: 0x020001D6 RID: 470
public class SetVolumeProfile : SceneEvent
{
	// Token: 0x06004B24 RID: 19236 RVA: 0x0012AC18 File Offset: 0x00128E18
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545798, XrefRangeEnd = 545807, 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), SetVolumeProfile.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004B25 RID: 19237 RVA: 0x0012AC68 File Offset: 0x00128E68
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545807, XrefRangeEnd = 545810, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	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), SetVolumeProfile.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004B26 RID: 19238 RVA: 0x0012ACCC File Offset: 0x00128ECC
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SetVolumeProfile()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SetVolumeProfile.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004B27 RID: 19239 RVA: 0x0012AD18 File Offset: 0x00128F18
	// Note: this type is marked as 'beforefieldinit'.
	static SetVolumeProfile()
	{
		Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SetVolumeProfile");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr);
		SetVolumeProfile.NativeFieldInfoPtr_profile = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, "profile");
		SetVolumeProfile.NativeFieldInfoPtr_CheckPlayerExit = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, "CheckPlayerExit");
		SetVolumeProfile.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668265);
		SetVolumeProfile.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668266);
		SetVolumeProfile.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668267);
	}

	// Token: 0x06004B28 RID: 19240 RVA: 0x00117370 File Offset: 0x00115570
	public SetVolumeProfile(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B1A RID: 6938
	// (get) Token: 0x06004B29 RID: 19241 RVA: 0x0012ADAC File Offset: 0x00128FAC
	// (set) Token: 0x06004B2A RID: 19242 RVA: 0x0012ADE0 File Offset: 0x00128FE0
	public unsafe VolumeProfile profile
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_profile);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new VolumeProfile(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_profile), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001B1B RID: 6939
	// (get) Token: 0x06004B2B RID: 19243 RVA: 0x0012AE08 File Offset: 0x00129008
	// (set) Token: 0x06004B2C RID: 19244 RVA: 0x0012AE30 File Offset: 0x00129030
	public unsafe bool CheckPlayerExit
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_CheckPlayerExit);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetVolumeProfile.NativeFieldInfoPtr_CheckPlayerExit)) = value;
		}
	}

	// Token: 0x0400319F RID: 12703
	private static readonly IntPtr NativeFieldInfoPtr_profile;

	// Token: 0x040031A0 RID: 12704
	private static readonly IntPtr NativeFieldInfoPtr_CheckPlayerExit;

	// Token: 0x040031A1 RID: 12705
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040031A2 RID: 12706
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x040031A3 RID: 12707
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
