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

// Token: 0x02000213 RID: 531
public class SetVolumeProfile : SceneEvent
{
	// Token: 0x06005054 RID: 20564 RVA: 0x001403C4 File Offset: 0x0013E5C4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573897, XrefRangeEnd = 573906, 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: 0x06005055 RID: 20565 RVA: 0x00140414 File Offset: 0x0013E614
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573906, XrefRangeEnd = 573909, 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: 0x06005056 RID: 20566 RVA: 0x00140478 File Offset: 0x0013E678
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, 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: 0x06005057 RID: 20567 RVA: 0x001404C4 File Offset: 0x0013E6C4
	// 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, 100668701);
		SetVolumeProfile.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668702);
		SetVolumeProfile.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetVolumeProfile>.NativeClassPtr, 100668703);
	}

	// Token: 0x06005058 RID: 20568 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public SetVolumeProfile(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C9D RID: 7325
	// (get) Token: 0x06005059 RID: 20569 RVA: 0x00140558 File Offset: 0x0013E758
	// (set) Token: 0x0600505A RID: 20570 RVA: 0x0014058C File Offset: 0x0013E78C
	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: 0x17001C9E RID: 7326
	// (get) Token: 0x0600505B RID: 20571 RVA: 0x001405B4 File Offset: 0x0013E7B4
	// (set) Token: 0x0600505C RID: 20572 RVA: 0x001405DC File Offset: 0x0013E7DC
	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: 0x0400351F RID: 13599
	private static readonly IntPtr NativeFieldInfoPtr_profile;

	// Token: 0x04003520 RID: 13600
	private static readonly IntPtr NativeFieldInfoPtr_CheckPlayerExit;

	// Token: 0x04003521 RID: 13601
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003522 RID: 13602
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x04003523 RID: 13603
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
