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

// Token: 0x02000202 RID: 514
public class PlayerAudioMixer : SceneEvent
{
	// Token: 0x06004F7E RID: 20350 RVA: 0x0013CEA4 File Offset: 0x0013B0A4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572844, XrefRangeEnd = 572860, 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), PlayerAudioMixer.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004F7F RID: 20351 RVA: 0x0013CF08 File Offset: 0x0013B108
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572860, XrefRangeEnd = 572862, 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), PlayerAudioMixer.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F80 RID: 20352 RVA: 0x0013CF58 File Offset: 0x0013B158
	[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), PlayerAudioMixer.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004F81 RID: 20353 RVA: 0x0013CFBC File Offset: 0x0013B1BC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572862, XrefRangeEnd = 572863, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe PlayerAudioMixer()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlayerAudioMixer.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F82 RID: 20354 RVA: 0x0013D008 File Offset: 0x0013B208
	// Note: this type is marked as 'beforefieldinit'.
	static PlayerAudioMixer()
	{
		Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "PlayerAudioMixer");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr);
		PlayerAudioMixer.NativeFieldInfoPtr_g_PS = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "g_PS");
		PlayerAudioMixer.NativeFieldInfoPtr_Volume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "Volume");
		PlayerAudioMixer.NativeFieldInfoPtr_Room = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "Room");
		PlayerAudioMixer.NativeFieldInfoPtr_DecayTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "DecayTime");
		PlayerAudioMixer.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668635);
		PlayerAudioMixer.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668636);
		PlayerAudioMixer.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668637);
		PlayerAudioMixer.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668638);
	}

	// Token: 0x06004F83 RID: 20355 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public PlayerAudioMixer(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C5E RID: 7262
	// (get) Token: 0x06004F84 RID: 20356 RVA: 0x0013D0D8 File Offset: 0x0013B2D8
	// (set) Token: 0x06004F85 RID: 20357 RVA: 0x0013D10C File Offset: 0x0013B30C
	public unsafe PlayerSound g_PS
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_g_PS);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new PlayerSound(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_g_PS), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C5F RID: 7263
	// (get) Token: 0x06004F86 RID: 20358 RVA: 0x0013D134 File Offset: 0x0013B334
	// (set) Token: 0x06004F87 RID: 20359 RVA: 0x0013D15C File Offset: 0x0013B35C
	public unsafe float Volume
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Volume);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Volume)) = value;
		}
	}

	// Token: 0x17001C60 RID: 7264
	// (get) Token: 0x06004F88 RID: 20360 RVA: 0x0013D180 File Offset: 0x0013B380
	// (set) Token: 0x06004F89 RID: 20361 RVA: 0x0013D1A8 File Offset: 0x0013B3A8
	public unsafe float Room
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Room);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Room)) = value;
		}
	}

	// Token: 0x17001C61 RID: 7265
	// (get) Token: 0x06004F8A RID: 20362 RVA: 0x0013D1CC File Offset: 0x0013B3CC
	// (set) Token: 0x06004F8B RID: 20363 RVA: 0x0013D1F4 File Offset: 0x0013B3F4
	public unsafe float DecayTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_DecayTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_DecayTime)) = value;
		}
	}

	// Token: 0x04003488 RID: 13448
	private static readonly IntPtr NativeFieldInfoPtr_g_PS;

	// Token: 0x04003489 RID: 13449
	private static readonly IntPtr NativeFieldInfoPtr_Volume;

	// Token: 0x0400348A RID: 13450
	private static readonly IntPtr NativeFieldInfoPtr_Room;

	// Token: 0x0400348B RID: 13451
	private static readonly IntPtr NativeFieldInfoPtr_DecayTime;

	// Token: 0x0400348C RID: 13452
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x0400348D RID: 13453
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400348E RID: 13454
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x0400348F RID: 13455
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
