m
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Activities.SubScenes
|
||||
{
|
||||
// Token: 0x02002C77 RID: 11383
|
||||
[Token(Token = "0x2002C77")]
|
||||
public class ActivitySubSceneMusic : ActivitySubSceneBehaviour
|
||||
{
|
||||
// Token: 0x06013064 RID: 77924 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6013064")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "6")]
|
||||
protected override void CNEJGKOACCI(BaseActivitySubScene DDEGOJKBEAN)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06013065 RID: 77925 RVA: 0x00459BC8 File Offset: 0x00457DC8
|
||||
[Token(Token = "0x6013065")]
|
||||
[Address(RVA = "0x14E74E0", Offset = "0x14E64E0", VA = "0x1814E74E0", Slot = "9")]
|
||||
protected override void LALEKKCHBHD(BaseActivitySubScene DDEGOJKBEAN)
|
||||
{
|
||||
if (this.hasCustomGameplayMusic)
|
||||
{
|
||||
AudioManager.CCJPMJMBJKC.MCMNIEIJAPG();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06013066 RID: 77926 RVA: 0x00459BF4 File Offset: 0x00457DF4
|
||||
[Token(Token = "0x6013066")]
|
||||
[Address(RVA = "0x14E7550", Offset = "0x14E6550", VA = "0x1814E7550", Slot = "7")]
|
||||
protected override void MFLMMAOBIIL(BaseActivitySubScene DDEGOJKBEAN)
|
||||
{
|
||||
if (this.hasCustomAmbience)
|
||||
{
|
||||
AudioManager.AddAmbientAudio(this.customAmbience, this);
|
||||
AudioManager.PlayAmbientAudio();
|
||||
}
|
||||
if (this.hasCustomGameplayMusic)
|
||||
{
|
||||
CCJPMJMBJKC musicMixer = AudioManager.CCJPMJMBJKC;
|
||||
RecRoomAudioClip recRoomAudioClip = this.customGameplayMusic;
|
||||
musicMixer.ILIMMHNEEBO(recRoomAudioClip, this);
|
||||
AudioManager.CCJPMJMBJKC.AKGLMCJAMFK();
|
||||
}
|
||||
if (this.hasCustomActionMusic)
|
||||
{
|
||||
CCJPMJMBJKC musicMixer2 = AudioManager.CCJPMJMBJKC;
|
||||
ExtendedRecRoomAudioClips extendedRecRoomAudioClips = this.customActionMusicClips;
|
||||
musicMixer2.LHDOOKNEOJN(extendedRecRoomAudioClips, this);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06013067 RID: 77927 RVA: 0x00459C78 File Offset: 0x00457E78
|
||||
[Token(Token = "0x6013067")]
|
||||
[Address(RVA = "0x14E7400", Offset = "0x14E6400", VA = "0x1814E7400", Slot = "8")]
|
||||
protected override void IDHFECGJFJJ(BaseActivitySubScene DDEGOJKBEAN)
|
||||
{
|
||||
if (this.hasCustomAmbience)
|
||||
{
|
||||
AudioManager.RemoveAmbientAudio(this);
|
||||
}
|
||||
if (this.hasCustomGameplayMusic)
|
||||
{
|
||||
AudioManager.CCJPMJMBJKC.HGIJOLAGEGF(this);
|
||||
}
|
||||
if (this.hasCustomActionMusic)
|
||||
{
|
||||
AudioManager.CCJPMJMBJKC.GEMBMDMIJJK(this);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06013068 RID: 77928 RVA: 0x00459CC8 File Offset: 0x00457EC8
|
||||
[Token(Token = "0x6013068")]
|
||||
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
||||
public ActivitySubSceneMusic()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400C43B RID: 50235
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400C43B")]
|
||||
[SerializeField]
|
||||
private bool hasCustomAmbience;
|
||||
|
||||
// Token: 0x0400C43C RID: 50236
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400C43C")]
|
||||
[SerializeField]
|
||||
private RecRoomAudioClip customAmbience;
|
||||
|
||||
// Token: 0x0400C43D RID: 50237
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400C43D")]
|
||||
[SerializeField]
|
||||
private bool hasCustomGameplayMusic;
|
||||
|
||||
// Token: 0x0400C43E RID: 50238
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400C43E")]
|
||||
[SerializeField]
|
||||
private RecRoomAudioClip customGameplayMusic;
|
||||
|
||||
// Token: 0x0400C43F RID: 50239
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400C43F")]
|
||||
[SerializeField]
|
||||
private bool hasCustomActionMusic;
|
||||
|
||||
// Token: 0x0400C440 RID: 50240
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400C440")]
|
||||
[SerializeField]
|
||||
public ExtendedRecRoomAudioClips customActionMusicClips;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user