using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001BC RID: 444
[Token(Token = "0x20001BC")]
public class PlayerAudioMixer : SceneEvent
{
	// Token: 0x06001333 RID: 4915 RVA: 0x0002C0D0 File Offset: 0x0002A2D0
	[Token(Token = "0x6001333")]
	[Address(RVA = "0x313740", Offset = "0x312540", VA = "0x180313740", Slot = "4")]
	public override void InitData(SceneEventManager SEM)
	{
		base.InitData(SEM);
		PlayerSound g_Sound = Game.GetPlayerManager().g_Sound;
		this.g_PS = g_Sound;
		PlayerSound playerSound = this.g_PS;
		int num = 0;
		if (playerSound == num)
		{
			Debug.LogError("取得PlayerSound錯誤");
		}
	}

	// Token: 0x06001334 RID: 4916 RVA: 0x0002C11C File Offset: 0x0002A31C
	[Token(Token = "0x6001334")]
	[Address(RVA = "0x313860", Offset = "0x312660", VA = "0x180313860", Slot = "5")]
	public override void OpenEvent()
	{
		base.OpenEvent();
		PlayerSound playerSound = this.g_PS;
		float decayTime = this.DecayTime;
		float room = this.Room;
		float volume = this.Volume;
		playerSound.SetAudioMixer(volume, room, decayTime);
	}

	// Token: 0x06001335 RID: 4917 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001335")]
	[Address(RVA = "0x313850", Offset = "0x312650", VA = "0x180313850", Slot = "11")]
	protected override void OnTriggerExit(Collider other)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001336 RID: 4918 RVA: 0x0002C15C File Offset: 0x0002A35C
	[Token(Token = "0x6001336")]
	[Address(RVA = "0x3138B0", Offset = "0x3126B0", VA = "0x1803138B0")]
	public PlayerAudioMixer()
	{
	}

	// Token: 0x04001DE7 RID: 7655
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001DE7")]
	private PlayerSound g_PS;

	// Token: 0x04001DE8 RID: 7656
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001DE8")]
	public float Volume;

	// Token: 0x04001DE9 RID: 7657
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x4001DE9")]
	public float Room = -1000f;

	// Token: 0x04001DEA RID: 7658
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4001DEA")]
	public float DecayTime = 1f;
}
