using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001AC RID: 428
[Token(Token = "0x20001AC")]
public class BGMSwitch : SceneEvent
{
	// Token: 0x060013CE RID: 5070 RVA: 0x0002D004 File Offset: 0x0002B204
	[Token(Token = "0x60013CE")]
	[Address(RVA = "0x79E690", Offset = "0x79D690", VA = "0x18079E690", Slot = "5")]
	public override void OpenEvent()
	{
		base.OpenEvent();
		SceneBGMController bgm = Game.sceneManager.BGM;
		int bgmindex = this.BGMIndex;
		bgm.SwitchBGM(bgmindex);
	}

	// Token: 0x060013CF RID: 5071 RVA: 0x0002D038 File Offset: 0x0002B238
	[Token(Token = "0x60013CF")]
	[Address(RVA = "0x79E5A0", Offset = "0x79D5A0", VA = "0x18079E5A0", Slot = "11")]
	protected override void OnTriggerExit(Collider other)
	{
		base.OnTriggerExit(other);
		this.g_bOpenEvent = false;
		SceneBGMController bgm = Game.sceneManager.BGM;
		int exitBGMIndex = this.ExitBGMIndex;
		bgm.SwitchBGM(exitBGMIndex);
	}

	// Token: 0x060013D0 RID: 5072 RVA: 0x0002D074 File Offset: 0x0002B274
	[Token(Token = "0x60013D0")]
	[Address(RVA = "0x79E760", Offset = "0x79D760", VA = "0x18079E760")]
	public BGMSwitch()
	{
	}

	// Token: 0x04001DED RID: 7661
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001DED")]
	public int BGMIndex;

	// Token: 0x04001DEE RID: 7662
	[FieldOffset(Offset = "0x3C")]
	[Token(Token = "0x4001DEE")]
	public int ExitBGMIndex = (int)((ulong)4294967295L);
}
