84 lines
2.4 KiB
C#
84 lines
2.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core.Rendering;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.SubScenes
|
|
{
|
|
// Token: 0x02002B8C RID: 11148
|
|
[Token(Token = "0x2002B8C")]
|
|
public class ActivitySubSceneLightingSettings : ActivitySubSceneBehaviour
|
|
{
|
|
// Token: 0x06012C18 RID: 76824 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6012C18")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "6")]
|
|
protected override void CNEJGKOACCI(BaseActivitySubScene DDEGOJKBEAN)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06012C19 RID: 76825 RVA: 0x0044FC20 File Offset: 0x0044DE20
|
|
[Token(Token = "0x6012C19")]
|
|
[Address(RVA = "0x9CF1E0", Offset = "0x9CDFE0", VA = "0x1809CF1E0", Slot = "7")]
|
|
protected override void MFLMMAOBIIL(BaseActivitySubScene DDEGOJKBEAN)
|
|
{
|
|
if (this.hasCustomLightingSettings)
|
|
{
|
|
this.customLightingSettings.ECPHANMBDHA();
|
|
}
|
|
if (this.hasCustomFogSettings)
|
|
{
|
|
this.customFogSettings.ECPHANMBDHA();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012C1A RID: 76826 RVA: 0x0044FC5C File Offset: 0x0044DE5C
|
|
[Token(Token = "0x6012C1A")]
|
|
[Address(RVA = "0x9CF150", Offset = "0x9CDF50", VA = "0x1809CF150", Slot = "8")]
|
|
protected override void IDHFECGJFJJ(BaseActivitySubScene DDEGOJKBEAN)
|
|
{
|
|
if (this.hasCustomLightingSettings)
|
|
{
|
|
EnvironmentLightingSettings.OBFPLLENOPL();
|
|
}
|
|
if (this.hasCustomFogSettings)
|
|
{
|
|
FogSettings.OBFPLLENOPL();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012C1B RID: 76827 RVA: 0x0044FC8C File Offset: 0x0044DE8C
|
|
[Token(Token = "0x6012C1B")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public ActivitySubSceneLightingSettings()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400C21E RID: 49694
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400C21E")]
|
|
[SerializeField]
|
|
private bool hasCustomLightingSettings;
|
|
|
|
// Token: 0x0400C21F RID: 49695
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400C21F")]
|
|
[SerializeField]
|
|
private EnvironmentLightingSettings customLightingSettings;
|
|
|
|
// Token: 0x0400C220 RID: 49696
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400C220")]
|
|
[SerializeField]
|
|
private bool hasCustomFogSettings;
|
|
|
|
// Token: 0x0400C221 RID: 49697
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400C221")]
|
|
[SerializeField]
|
|
private FogSettings customFogSettings;
|
|
}
|
|
}
|