Files
NobetaSource/Cpp2IL/Assembly-CSharp/SetVolumeProfile.cs
2023-09-06 22:19:13 +02:00

49 lines
1.3 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.Rendering;
// Token: 0x02000208 RID: 520
[Token(Token = "0x2000208")]
public class SetVolumeProfile : SceneEvent
{
// Token: 0x0600151D RID: 5405 RVA: 0x0003019C File Offset: 0x0002E39C
[Token(Token = "0x600151D")]
[Address(RVA = "0x1792080", Offset = "0x1791080", VA = "0x181792080", Slot = "5")]
public override void OpenEvent()
{
base.OpenEvent();
VolumeProfile volumeProfile = this.profile;
int num = 0;
if (volumeProfile != num)
{
Game.SetVolumeProfile(this.profile);
}
}
// Token: 0x0600151E RID: 5406 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600151E")]
[Address(RVA = "0x1792010", Offset = "0x1791010", VA = "0x181792010", Slot = "11")]
protected override void OnTriggerExit(Collider other)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600151F RID: 5407 RVA: 0x000301D0 File Offset: 0x0002E3D0
[Token(Token = "0x600151F")]
[Address(RVA = "0x32DFD0", Offset = "0x32CFD0", VA = "0x18032DFD0")]
public SetVolumeProfile()
{
}
// Token: 0x0400200C RID: 8204
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400200C")]
public VolumeProfile profile;
// Token: 0x0400200D RID: 8205
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400200D")]
public bool CheckPlayerExit;
}