using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001F7 RID: 503
[Token(Token = "0x20001F7")]
public class PlayerAudioMixer : SceneEvent
{
	// Token: 0x060014DB RID: 5339 RVA: 0x0002F868 File Offset: 0x0002DA68
	[Token(Token = "0x60014DB")]
	[Address(RVA = "0x3340C0", Offset = "0x3330C0", VA = "0x1803340C0", 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: 0x060014DC RID: 5340 RVA: 0x0002F8B4 File Offset: 0x0002DAB4
	[Token(Token = "0x60014DC")]
	[Address(RVA = "0x3341E0", Offset = "0x3331E0", VA = "0x1803341E0", 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: 0x060014DD RID: 5341 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014DD")]
	[Address(RVA = "0x3341D0", Offset = "0x3331D0", VA = "0x1803341D0", Slot = "11")]
	protected override void OnTriggerExit(Collider other)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060014DE RID: 5342 RVA: 0x0002F8F4 File Offset: 0x0002DAF4
	[Token(Token = "0x60014DE")]
	[Address(RVA = "0x334230", Offset = "0x333230", VA = "0x180334230")]
	public PlayerAudioMixer()
	{
	}

	// Token: 0x04001FB7 RID: 8119
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001FB7")]
	private PlayerSound g_PS;

	// Token: 0x04001FB8 RID: 8120
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001FB8")]
	public float Volume;

	// Token: 0x04001FB9 RID: 8121
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x4001FB9")]
	public float Room = -1000f;

	// Token: 0x04001FBA RID: 8122
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4001FBA")]
	public float DecayTime = 1f;
}
