86 lines
2.1 KiB
C#
86 lines
2.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Audio
|
|
{
|
|
// Token: 0x0200241B RID: 9243
|
|
[Token(Token = "0x200241B")]
|
|
[StructLayout(3)]
|
|
public class VoiceAudioRolloffZone : MonoBehaviour
|
|
{
|
|
// Token: 0x06010022 RID: 65570 RVA: 0x003BF520 File Offset: 0x003BD720
|
|
[Token(Token = "0x6010022")]
|
|
[Address(RVA = "0x12B1680", Offset = "0x12B0080", VA = "0x1812B1680")]
|
|
private void Start()
|
|
{
|
|
Action<float> action = new Action(this.IONJHHDNPEB);
|
|
IDisposable disposable = ScheduledUpdateMonoBehaviourExtensions.Update1hz(this, action);
|
|
}
|
|
|
|
// Token: 0x06010023 RID: 65571 RVA: 0x003BF544 File Offset: 0x003BD744
|
|
[Token(Token = "0x6010023")]
|
|
[Address(RVA = "0x12B13E0", Offset = "0x12AFDE0", VA = "0x1812B13E0")]
|
|
private void IONJHHDNPEB(float POGAEJIEPIM)
|
|
{
|
|
this.OBPJJDOEGAJ();
|
|
}
|
|
|
|
// Token: 0x06010024 RID: 65572 RVA: 0x003BF558 File Offset: 0x003BD758
|
|
[Token(Token = "0x6010024")]
|
|
[Address(RVA = "0x12B13F0", Offset = "0x12AFDF0", VA = "0x1812B13F0")]
|
|
private void OBPJJDOEGAJ()
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
if (!SingletonMonoBehaviour.IsInitialized)
|
|
{
|
|
break;
|
|
}
|
|
List<Player> all = Player.All;
|
|
List.Enumerator enumerator;
|
|
if (enumerator != 0)
|
|
{
|
|
bool flag;
|
|
while (flag)
|
|
{
|
|
}
|
|
if (this.zoneVolume.DOMABBDEAKJ == 0)
|
|
{
|
|
}
|
|
AudioRolloff audioRolloff = this.rolloff;
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06010025 RID: 65573 RVA: 0x003BF5C0 File Offset: 0x003BD7C0
|
|
[Token(Token = "0x6010025")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public VoiceAudioRolloffZone()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400AA09 RID: 43529
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400AA09")]
|
|
[SerializeField]
|
|
private AudioRolloff rolloff;
|
|
|
|
// Token: 0x0400AA0A RID: 43530
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400AA0A")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private SimpleVolume zoneVolume;
|
|
}
|
|
}
|