2307 lines
73 KiB
C#
2307 lines
73 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Valve.VR.InteractionSystem
|
|
{
|
|
// Token: 0x020005CF RID: 1487
|
|
[RequireComponent(typeof(AudioSource))]
|
|
public class PlaySound : MonoBehaviour
|
|
{
|
|
// Token: 0x0600EB7B RID: 60283 RVA: 0x0046440C File Offset: 0x0046260C
|
|
public void DIJNNGLOCPK()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.FEABLMLKAOH();
|
|
}
|
|
else
|
|
{
|
|
this.HGEIHIIEMEL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB7C RID: 60284 RVA: 0x0046442C File Offset: 0x0046262C
|
|
public void KFAAELMDOIN(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("January", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("OnApplicationQuit Called!", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB7D RID: 60285 RVA: 0x00464458 File Offset: 0x00462658
|
|
public void MBJHGLODPOM()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.CLAEDCACHBL();
|
|
}
|
|
else
|
|
{
|
|
this.PlayOneShotSound();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB7E RID: 60286 RVA: 0x00464478 File Offset: 0x00462678
|
|
private void KAPEIKBAGFH()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1509f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB7F RID: 60287 RVA: 0x00464540 File Offset: 0x00462740
|
|
private void PFEFJLPMDGI()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 727f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB80 RID: 60288 RVA: 0x00464608 File Offset: 0x00462808
|
|
public void AKDIFNKAKJB()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EB81 RID: 60289 RVA: 0x00464618 File Offset: 0x00462818
|
|
public void KGBKFBIKPCO(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("false", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Join failed on GameServer. Changing back to MasterServer. Msg: ", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB82 RID: 60290 RVA: 0x00464644 File Offset: 0x00462844
|
|
private void OLACNENHFCN()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 516f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB83 RID: 60291 RVA: 0x0046470C File Offset: 0x0046290C
|
|
public AudioClip ACPFEJBBGFF()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.AMCBJOEIBKD();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("pb_Object: ", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB84 RID: 60292 RVA: 0x00464780 File Offset: 0x00462980
|
|
public void OPLNJKALDHG()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x0600EB85 RID: 60293 RVA: 0x00464790 File Offset: 0x00462990
|
|
public void MJHDLLBLJMC()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.KHKIEPJNEPA();
|
|
}
|
|
else
|
|
{
|
|
this.KJMBOAPELKK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB86 RID: 60294 RVA: 0x004647B0 File Offset: 0x004629B0
|
|
public void OMEDPBJJDDC()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EB87 RID: 60295 RVA: 0x004647C0 File Offset: 0x004629C0
|
|
public AudioClip NBOGMMGDGPK()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.OAMGCIKCAJJ();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke(" and encoder sampling rate ", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB88 RID: 60296 RVA: 0x00464834 File Offset: 0x00462A34
|
|
public void NHPBLHDPOLA()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.HJMHNCBOKEC();
|
|
}
|
|
else
|
|
{
|
|
this.KJIMOIEFJGJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB89 RID: 60297 RVA: 0x00464854 File Offset: 0x00462A54
|
|
private void OAMGCIKCAJJ()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1656f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB8A RID: 60298 RVA: 0x0046491C File Offset: 0x00462B1C
|
|
public AudioClip IDKHIHNJGKL()
|
|
{
|
|
this.GBMEBFHAICJ();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = true;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("EnableOutOfBoundsCheck", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB8B RID: 60299 RVA: 0x00464984 File Offset: 0x00462B84
|
|
public void FOFJPNEDENL(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("Graphics device: ", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("x", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB8C RID: 60300 RVA: 0x004649B0 File Offset: 0x00462BB0
|
|
public AudioClip DCBGMPGMFJI()
|
|
{
|
|
this.PLAHCDODCDK();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = true;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("Description", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB8D RID: 60301 RVA: 0x00464A18 File Offset: 0x00462C18
|
|
public void AGALNFLGGBF(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("time", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Facebook.IFacebook", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB8E RID: 60302 RVA: 0x00464A44 File Offset: 0x00462C44
|
|
private void MPOBELFOOPE()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 232f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB8F RID: 60303 RVA: 0x00464B0C File Offset: 0x00462D0C
|
|
public AudioClip ODFPGEEEFCD()
|
|
{
|
|
this.EACHHNPGNMA();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("score", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB90 RID: 60304 RVA: 0x00464B74 File Offset: 0x00462D74
|
|
private void PDCMKOCMIIF()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Message from Coach", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.IBHLAJKHNDI();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.BHPPHDKMPOH(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Error serializing RCCarRemoteControl {0}: Data already specified.", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.MAPPEMOMKMM(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating(" d=", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB91 RID: 60305 RVA: 0x00464C98 File Offset: 0x00462E98
|
|
public AudioClip CEIBILHBLBI()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.DNGEIMALCCL();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("FaceShirt2", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB92 RID: 60306 RVA: 0x00464D0C File Offset: 0x00462F0C
|
|
public void OPDFACEDKDJ()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EB93 RID: 60307 RVA: 0x00464D1C File Offset: 0x00462F1C
|
|
public void DIACAPLPBDD()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EB94 RID: 60308 RVA: 0x00464D2C File Offset: 0x00462F2C
|
|
public AudioClip FLBPIAJAJJN()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.OLACNENHFCN();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("GAME ON!", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB95 RID: 60309 RVA: 0x00464DA0 File Offset: 0x00462FA0
|
|
public AudioClip OLELLJOGGMD()
|
|
{
|
|
this.IJAOBOPNFPK();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = true;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke(". \"", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB96 RID: 60310 RVA: 0x00464E08 File Offset: 0x00463008
|
|
public AudioClip HGEIHIIEMEL()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.PFEFJLPMDGI();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("method", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB97 RID: 60311 RVA: 0x00464E7C File Offset: 0x0046307C
|
|
private void IJBGMICNPFO()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 640f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB98 RID: 60312 RVA: 0x00464F44 File Offset: 0x00463144
|
|
public void NBFDEBMGACM()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EB99 RID: 60313 RVA: 0x00464F54 File Offset: 0x00463154
|
|
public AudioClip MMBGCPJGDFI()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.PLAHCDODCDK();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("<pre style=\"font-family:Consolas;font-size:13;color:black;background:silver;\"><span style=\"color:blue;\">using</span> System;\r\n<span style=\"color:blue;\">using</span> System.Collections.Generic;\r\n\r\n<span style=\"color:blue;\">using</span> UnityEngine;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SignalR;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SignalR.Hubs;\r\n\r\n<span style=\"color:blue;\">sealed</span> <span style=\"color:blue;\">class</span> <span style=\"color:#2b91af;\">ConnectionStatusSample</span> : <span style=\"color:#2b91af;\">MonoBehaviour</span>\r\n{\r\n <span style=\"color:blue;\">readonly</span> <span style=\"color:#2b91af;\">Uri</span> URI = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Uri</span>(<span style=\"color:#a31515;\">"http://besthttpsignalr.azurewebsites.net/signalr"</span>);\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Reference to the SignalR Connection</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:#2b91af;\">Connection</span> signalRConnection;\r\n\r\n <span style=\"color:#2b91af;\">GUIMessageList</span> messages = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">GUIMessageList</span>();\r\n\r\n<span style=\"color:blue;\"> #region</span> Unity Events\r\n\r\n <span style=\"color:blue;\">void</span> Start()\r\n {\r\n <span style=\"color:green;\">// Connect to the StatusHub hub</span>\r\n signalRConnection = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Connection</span>(URI, <span style=\"color:#a31515;\">"StatusHub"</span>);\r\n\r\n <span style=\"color:green;\">// General events</span>\r\n signalRConnection.OnNonHubMessage += signalRConnection_OnNonHubMessage;\r\n signalRConnection.OnError += signalRConnection_OnError;\r\n signalRConnection.OnStateChanged += signalRConnection_OnStateChanged;\r\n\r\n <span style=\"color:green;\">// Set up a callback for Hub events</span>\r\n signalRConnection[<span style=\"color:#a31515;\">"StatusHub"</span>].OnMethodCall += statusHub_OnMethodCall;\r\n\r\n <span style=\"color:green;\">// Connect to the server</span>\r\n signalRConnection.Open();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnDestroy()\r\n {\r\n <span style=\"color:green;\">// Close the connection when we are closing the sample</span>\r\n signalRConnection.Close();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnGUI()\r\n {\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n <span style=\"color:#2b91af;\">GUILayout</span>.BeginHorizontal();\r\n\r\n <span style=\"color:blue;\">if</span> (<span style=\"color:#2b91af;\">GUILayout</span>.Button(<span style=\"color:#a31515;\">"START"</span>) && signalRConnection.State != <span style=\"color:#2b91af;\">ConnectionStates</span>.Connected)\r\n signalRConnection.Open();\r\n\r\n <span style=\"color:blue;\">if</span> (<span style=\"color:#2b91af;\">GUILayout</span>.Button(<span style=\"color:#a31515;\">"STOP"</span>) && signalRConnection.State == <span style=\"color:#2b91af;\">ConnectionStates</span>.Connected)\r\n {\r\n signalRConnection.Close();\r\n messages.Clear();\r\n }\r\n\r\n <span style=\"color:blue;\">if</span> (<span style=\"color:#2b91af;\">GUILayout</span>.Button(<span style=\"color:#a31515;\">"PING"</span>) && signalRConnection.State == <span style=\"color:#2b91af;\">ConnectionStates</span>.Connected)\r\n {\r\n <span style=\"color:green;\">// Call a Hub-method on the server.</span>\r\n signalRConnection[<span style=\"color:#a31515;\">"StatusHub"</span>].Call(<span style=\"color:#a31515;\">"Ping"</span>);\r\n }\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.EndHorizontal();\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Space(20);\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Label(<span style=\"color:#a31515;\">"Connection Status Messages"</span>);\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.BeginHorizontal();\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Space(20);\r\n messages.Draw(<span style=\"color:#2b91af;\">Screen</span>.width - 20, 0);\r\n <span style=\"color:#2b91af;\">GUILayout</span>.EndHorizontal();\r\n });\r\n }\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n\r\n<span style=\"color:blue;\"> #region</span> SignalR Events\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Called on server-sent non-hub messages.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">void</span> signalRConnection_OnNonHubMessage(<span style=\"color:#2b91af;\">Connection</span> manager, <span style=\"color:blue;\">object</span> data)\r\n {\r\n messages.Add(<span style=\"color:#a31515;\">"[Server Message] "</span> + data.ToString());\r\n }\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Called when the SignalR Connection's state changes.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">void</span> signalRConnection_OnStateChanged(<span style=\"color:#2b91af;\">Connection</span> manager, <span style=\"color:#2b91af;\">ConnectionStates</span> oldState, <span style=\"color:#2b91af;\">ConnectionStates</span> newState)\r\n {\r\n messages.Add(<span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"[State Change] {0} => {1}"</span>, oldState, newState));\r\n }\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Called when an error occures. The plugin may close the connection after this event.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">void</span> signalRConnection_OnError(<span style=\"color:#2b91af;\">Connection</span> manager, <span style=\"color:blue;\">string</span> error)\r\n {\r\n messages.Add(<span style=\"color:#a31515;\">"[Error] "</span> + error);\r\n }\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Called when the "StatusHub" hub wants to call a method on this client.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">void</span> statusHub_OnMethodCall(<span style=\"color:#2b91af;\">Hub</span> hub, <span style=\"color:blue;\">string</span> method, <span style=\"color:blue;\">params</span> <span style=\"color:blue;\">object</span>[] args)\r\n {\r\n <span style=\"color:blue;\">string</span> id = args.Length > 0 ? args[0] <span style=\"color:blue;\">as</span> <span style=\"color:blue;\">string</span> : <span style=\"color:blue;\">string</span>.Empty;\r\n <span style=\"color:blue;\">string</span> when = args.Length > 1 ? args[1].ToString() : <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:blue;\">switch</span> (method)\r\n {\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#a31515;\">"joined"</span>:\r\n messages.Add(<span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"[{0}] {1} joined at {2}"</span>, hub.Name, id, when));\r\n <span style=\"color:blue;\">break</span>;\r\n\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#a31515;\">"rejoined"</span>:\r\n messages.Add(<span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"[{0}] {1} reconnected at {2}"</span>, hub.Name, id, when));\r\n <span style=\"color:blue;\">break</span>;\r\n\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#a31515;\">"leave"</span>:\r\n messages.Add(<span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"[{0}] {1} leaved at {2}"</span>, hub.Name, id, when));\r\n <span style=\"color:blue;\">break</span>;\r\n\r\n <span style=\"color:blue;\">default</span>: <span style=\"color:green;\">// pong</span>\r\n messages.Add(<span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"[{0}] {1}"</span>, hub.Name, method));\r\n <span style=\"color:blue;\">break</span>;\r\n }\r\n }\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n}</pre>", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB9A RID: 60314 RVA: 0x00464FC8 File Offset: 0x004631C8
|
|
private void CHOLLIANPAL()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("GAME IN PROGRESS", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.GPEFKKIGJLG();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.BAGEBBGKGCP(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Ignored PU RPC, cause item is inactive. ", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.KFAAELMDOIN(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("OpGetGameList()", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB9B RID: 60315 RVA: 0x004650EC File Offset: 0x004632EC
|
|
public AudioClip HJMHNCBOKEC()
|
|
{
|
|
this.AHJILPIHCNJ();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("InputBuffer is null. ", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EB9C RID: 60316 RVA: 0x00465154 File Offset: 0x00463354
|
|
private void AMCBJOEIBKD()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 782f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB9D RID: 60317 RVA: 0x0046521C File Offset: 0x0046341C
|
|
public void NDFPOCIGDFK()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.JKMCPNBMODF();
|
|
}
|
|
else
|
|
{
|
|
this.KJIMOIEFJGJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB9E RID: 60318 RVA: 0x0046523C File Offset: 0x0046343C
|
|
private void EACHHNPGNMA()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 824f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB9F RID: 60319 RVA: 0x00465304 File Offset: 0x00463504
|
|
private void IJAOBOPNFPK()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1022f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBA0 RID: 60320 RVA: 0x004653CC File Offset: 0x004635CC
|
|
public void EEPAGPGFCKF()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EBA1 RID: 60321 RVA: 0x004653DC File Offset: 0x004635DC
|
|
public AudioClip CLAEDCACHBL()
|
|
{
|
|
this.EACHHNPGNMA();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("Request Aborted!", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBA2 RID: 60322 RVA: 0x00465444 File Offset: 0x00463644
|
|
public void OKFLEFKGFCE()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x0600EBA3 RID: 60323 RVA: 0x00465454 File Offset: 0x00463654
|
|
public void JLEIOKJCCDM(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("Missing or incomplete GZIP trailer. Expected 8 bytes, got {0}.", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke(" iterations for read and write", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBA4 RID: 60324 RVA: 0x00465480 File Offset: 0x00463680
|
|
public void MOKOJHEEGOE()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBA5 RID: 60325 RVA: 0x00465490 File Offset: 0x00463690
|
|
public void JMLAPLGEICJ(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("SendVacantViewIds()", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke(" iterations for read and write", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBA6 RID: 60326 RVA: 0x004654BC File Offset: 0x004636BC
|
|
public void CHBEOCCBLDC()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.AGJKEJCPPJE();
|
|
}
|
|
else
|
|
{
|
|
this.KJMBOAPELKK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBA7 RID: 60327 RVA: 0x004654DC File Offset: 0x004636DC
|
|
public void OGJPDPIOCAO()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EBA8 RID: 60328 RVA: 0x004654EC File Offset: 0x004636EC
|
|
public void AHKKPIPBPAH()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EBA9 RID: 60329 RVA: 0x004654FC File Offset: 0x004636FC
|
|
public void PlayWithDelay(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("PlayLooping", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("PlayOneShotSound", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBAA RID: 60330 RVA: 0x00465528 File Offset: 0x00463728
|
|
public void MOBAPNOHMGJ(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("CONTINUOUS_ROTATION_MODE", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Not assigned", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBAB RID: 60331 RVA: 0x00465554 File Offset: 0x00463754
|
|
private void ADKAPKKOHBC()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("ButtonDown_2", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.NDFPOCIGDFK();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.ELBFIAFOOFP(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("lifeBar", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.BAGEBBGKGCP(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Unmuted", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBAC RID: 60332 RVA: 0x00465678 File Offset: 0x00463878
|
|
private void GBMEBFHAICJ()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1078f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBAD RID: 60333 RVA: 0x00465740 File Offset: 0x00463940
|
|
public void IJFMMBEHIOD(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("Xp", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("RpcModerationBroadcastKickMessage", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBAE RID: 60334 RVA: 0x0046576C File Offset: 0x0046396C
|
|
private void Awake()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Play", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.Play();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.PlayWithDelay(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Play", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.PlayWithDelay(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Play", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBAF RID: 60335 RVA: 0x00465890 File Offset: 0x00463A90
|
|
private void OPKCGBFGDNM()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 352f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBB0 RID: 60336 RVA: 0x00465958 File Offset: 0x00463B58
|
|
public void Disable()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x0600EBB1 RID: 60337 RVA: 0x00465968 File Offset: 0x00463B68
|
|
public void PKCAGGAHPGE()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.JKMCPNBMODF();
|
|
}
|
|
else
|
|
{
|
|
this.ACPFEJBBGFF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBB2 RID: 60338 RVA: 0x00465988 File Offset: 0x00463B88
|
|
public AudioClip MFBOLDBACNC()
|
|
{
|
|
this.MFBKNPFNBPO();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("Connection Timed Out!", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBB3 RID: 60339 RVA: 0x004659F0 File Offset: 0x00463BF0
|
|
public void Stop()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBB4 RID: 60340 RVA: 0x00465A00 File Offset: 0x00463C00
|
|
public AudioClip IDOKAMBIPJO()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.OLACNENHFCN();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("current_step", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBB5 RID: 60341 RVA: 0x00465A74 File Offset: 0x00463C74
|
|
public void CBJDLADCKLI()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EBB6 RID: 60342 RVA: 0x00465A84 File Offset: 0x00463C84
|
|
private void GLFFDJBKMNE()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 836f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBB7 RID: 60343 RVA: 0x00465B4C File Offset: 0x00463D4C
|
|
public void FHIJEIOCFGB()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBB8 RID: 60344 RVA: 0x00465B5C File Offset: 0x00463D5C
|
|
public AudioClip ICLHIOIAJKD()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.OAMGCIKCAJJ();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("How your position is stored in memory when obscured: (", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBB9 RID: 60345 RVA: 0x00465BD0 File Offset: 0x00463DD0
|
|
public void BHPPHDKMPOH(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("\n", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Writing with decompression is not supported.", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBBA RID: 60346 RVA: 0x00465BFC File Offset: 0x00463DFC
|
|
public void BAGEBBGKGCP(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("utm_medium", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("event_type", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBBB RID: 60347 RVA: 0x00465C28 File Offset: 0x00463E28
|
|
public void IAJLHMIMJCO()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EBBC RID: 60348 RVA: 0x00465C38 File Offset: 0x00463E38
|
|
private void BNHAIBIGCIJ()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 0f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBBD RID: 60349 RVA: 0x00465D00 File Offset: 0x00463F00
|
|
private void MFBKNPFNBPO()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1256f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBBE RID: 60350 RVA: 0x00465DC8 File Offset: 0x00463FC8
|
|
private void DNMJFOLGALA()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1114f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBBF RID: 60351 RVA: 0x00465E90 File Offset: 0x00464090
|
|
public void MCHPMGGPJKC(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("Campaign ID", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Index", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBC0 RID: 60352 RVA: 0x00465EBC File Offset: 0x004640BC
|
|
private void JBNPJGLJDAM()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 793f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBC1 RID: 60353 RVA: 0x00465F84 File Offset: 0x00464184
|
|
public void JEENMLAFBBP()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBC2 RID: 60354 RVA: 0x00465F94 File Offset: 0x00464194
|
|
public AudioClip KJIMOIEFJGJ()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.GLFFDJBKMNE();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("Triggers once dependent encounters are finished.", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBC3 RID: 60355 RVA: 0x00466008 File Offset: 0x00464208
|
|
private void PAKPLLPDIOG()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Screenshot took {0} seconds.", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.DPNBDDBJEDE();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.HEHEAIMHLDO(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("COLORED_OFF", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.BHPPHDKMPOH(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Xp", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBC4 RID: 60356 RVA: 0x0046612C File Offset: 0x0046432C
|
|
public void HMBDOACENFC()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.FEABLMLKAOH();
|
|
}
|
|
else
|
|
{
|
|
this.NIPPLJCDJEC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBC5 RID: 60357 RVA: 0x0046614C File Offset: 0x0046434C
|
|
public void PGNBONAHFOO(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("{", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("S", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBC6 RID: 60358 RVA: 0x00466178 File Offset: 0x00464378
|
|
public void INBIIDHINKC()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBC7 RID: 60359 RVA: 0x00466188 File Offset: 0x00464388
|
|
public AudioClip DGPJHEIPFHN()
|
|
{
|
|
this.DNGEIMALCCL();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = true;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("One.png", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBC8 RID: 60360 RVA: 0x004661F0 File Offset: 0x004643F0
|
|
public void EPHJFGKDNKB()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.CLAEDCACHBL();
|
|
}
|
|
else
|
|
{
|
|
this.HGEIHIIEMEL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBC9 RID: 60361 RVA: 0x00466210 File Offset: 0x00464410
|
|
public void GPEFKKIGJLG()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.DCBGMPGMFJI();
|
|
}
|
|
else
|
|
{
|
|
this.HMLOFKHAMPG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBCA RID: 60362 RVA: 0x00466230 File Offset: 0x00464430
|
|
private void DNGEIMALCCL()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 441f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(0, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBCB RID: 60363 RVA: 0x004662F8 File Offset: 0x004644F8
|
|
private void DFBDHMKDJOB()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Expected a StackedUIBase, but none found!", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.Play();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.AGALNFLGGBF(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Check back later!", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.ELBFIAFOOFP(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("scale", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBCC RID: 60364 RVA: 0x0046641C File Offset: 0x0046461C
|
|
private void HDBKDFABEJN()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1640f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBCD RID: 60365 RVA: 0x004664E4 File Offset: 0x004646E4
|
|
public void GOMJEFNJNOK()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBCF RID: 60367 RVA: 0x00466544 File Offset: 0x00464744
|
|
public void KCCIILCOJMP()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.AGPFOILJALE();
|
|
}
|
|
else
|
|
{
|
|
this.HGEIHIIEMEL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBD0 RID: 60368 RVA: 0x00466564 File Offset: 0x00464764
|
|
public void DPNBDDBJEDE()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.CLAEDCACHBL();
|
|
}
|
|
else
|
|
{
|
|
this.ICLHIOIAJKD();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBD1 RID: 60369 RVA: 0x00466584 File Offset: 0x00464784
|
|
public AudioClip OCMMEBBAEEL()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.KAPEIKBAGFH();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("Reset", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBD2 RID: 60370 RVA: 0x004665F8 File Offset: 0x004647F8
|
|
public void EPHFIILBDGJ(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("demoRect", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("PUNVoice: Voice Client state: {0}", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBD3 RID: 60371 RVA: 0x00466624 File Offset: 0x00464824
|
|
private void AHJILPIHCNJ()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 736f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 1)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBD4 RID: 60372 RVA: 0x004666EC File Offset: 0x004648EC
|
|
public void PPMNOGEFFPP()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.OAICKLOPDCA();
|
|
}
|
|
else
|
|
{
|
|
this.KEGFFCGHAAM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBD5 RID: 60373 RVA: 0x0046670C File Offset: 0x0046490C
|
|
public AudioClip BKPKKIPOIMB()
|
|
{
|
|
this.OLACNENHFCN();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("IsMember", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBD6 RID: 60374 RVA: 0x00466774 File Offset: 0x00464974
|
|
public AudioClip KHKIEPJNEPA()
|
|
{
|
|
this.OPMKONALLON();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("__c", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBD7 RID: 60375 RVA: 0x004667DC File Offset: 0x004649DC
|
|
public AudioClip AGJKEJCPPJE()
|
|
{
|
|
this.OPMKONALLON();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = true;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("Connect() to '", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBD8 RID: 60376 RVA: 0x00466844 File Offset: 0x00464A44
|
|
public void DPGANHGADIF()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EBD9 RID: 60377 RVA: 0x00466854 File Offset: 0x00464A54
|
|
public AudioClip NIPPLJCDJEC()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.KAPEIKBAGFH();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("DiscGolfParticles", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBDA RID: 60378 RVA: 0x004668C8 File Offset: 0x00464AC8
|
|
public AudioClip AONDNGGINBD()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.DNMJFOLGALA();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("Unable to connect to RecNet game servers", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBDB RID: 60379 RVA: 0x0046693C File Offset: 0x00464B3C
|
|
public AudioClip HKIIJJCBPOI()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.GLFFDJBKMNE();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("): ", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBDC RID: 60380 RVA: 0x004669B0 File Offset: 0x00464BB0
|
|
public void IBHLAJKHNDI()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.BDNCHKGBCLA();
|
|
}
|
|
else
|
|
{
|
|
this.HMLOFKHAMPG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBDD RID: 60381 RVA: 0x004669D0 File Offset: 0x00464BD0
|
|
public void DDINFKFHDPK(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("PersistenceViews", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke(", Remote = ", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBDE RID: 60382 RVA: 0x004669FC File Offset: 0x00464BFC
|
|
public void EHHNNNHPPLG()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x0600EBDF RID: 60383 RVA: 0x00466A0C File Offset: 0x00464C0C
|
|
public void EKJCMDIOOAA()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBE0 RID: 60384 RVA: 0x00466A1C File Offset: 0x00464C1C
|
|
public void ONJGJKGHFHE(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke(":", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Error deserializing DrawingSurface {0}: data empty.", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBE1 RID: 60385 RVA: 0x00466A48 File Offset: 0x00464C48
|
|
public void MBLONEJGILJ(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("{0:D2}:{1:D2}:{2:D2}:{3:D2}", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("DURATION", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBE2 RID: 60386 RVA: 0x00466A74 File Offset: 0x00464C74
|
|
public AudioClip KKBNIBMAIBM()
|
|
{
|
|
this.AHJILPIHCNJ();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("rotation", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBE3 RID: 60387 RVA: 0x00466ADC File Offset: 0x00464CDC
|
|
public void PAHKOCPEDMB()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.CLAEDCACHBL();
|
|
}
|
|
else
|
|
{
|
|
this.HGEIHIIEMEL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBE4 RID: 60388 RVA: 0x00466AFC File Offset: 0x00464CFC
|
|
public AudioClip LJBEKOPFHCJ()
|
|
{
|
|
this.PFEFJLPMDGI();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("Failed to load render model texture for render model ", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBE5 RID: 60389 RVA: 0x00466B64 File Offset: 0x00464D64
|
|
public AudioClip HMLOFKHAMPG()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.OLACNENHFCN();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("Score", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBE6 RID: 60390 RVA: 0x00466BD8 File Offset: 0x00464DD8
|
|
public AudioClip JKMCPNBMODF()
|
|
{
|
|
this.DNMJFOLGALA();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("type", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBE7 RID: 60391 RVA: 0x00466C40 File Offset: 0x00464E40
|
|
private void NDIKALAHLIJ()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("demoByteArray", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.EPHJFGKDNKB();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.BHPPHDKMPOH(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("to", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.EPHFIILBDGJ(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("unity_SHBr", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBE8 RID: 60392 RVA: 0x00466D64 File Offset: 0x00464F64
|
|
private void LOFEIHMJJFA()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("B", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.KFBDIHJJJNL();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.KFAAELMDOIN(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("Flying Speed ({0:0.00})", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.BHPPHDKMPOH(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("FPS: {0:F2}", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBE9 RID: 60393 RVA: 0x00466E88 File Offset: 0x00465088
|
|
public AudioClip KEGFFCGHAAM()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.PLAHCDODCDK();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("ObscuredDouble:", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBEA RID: 60394 RVA: 0x00466EFC File Offset: 0x004650FC
|
|
public void ELBFIAFOOFP(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("The word was: ", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Channel ", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBEB RID: 60395 RVA: 0x00466F28 File Offset: 0x00465128
|
|
public void FLIKINFOOED()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.OLELLJOGGMD();
|
|
}
|
|
else
|
|
{
|
|
this.HMLOFKHAMPG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBEC RID: 60396 RVA: 0x00466F48 File Offset: 0x00465148
|
|
public void FKLMNHHHNMK()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x0600EBED RID: 60397 RVA: 0x00466F58 File Offset: 0x00465158
|
|
public void Play()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.PlayLooping();
|
|
}
|
|
else
|
|
{
|
|
this.PlayOneShotSound();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBEE RID: 60398 RVA: 0x00466F78 File Offset: 0x00465178
|
|
public void EJENPFGCNEH()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.MFBOLDBACNC();
|
|
}
|
|
else
|
|
{
|
|
this.AONDNGGINBD();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBEF RID: 60399 RVA: 0x00466F98 File Offset: 0x00465198
|
|
public void POKOGBMMPAG()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EBF0 RID: 60400 RVA: 0x00466FA8 File Offset: 0x004651A8
|
|
public void MFMJKLAKCJN()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBF1 RID: 60401 RVA: 0x00466FB8 File Offset: 0x004651B8
|
|
public AudioClip FEABLMLKAOH()
|
|
{
|
|
this.HDBKDFABEJN();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("PUNVoice: Player {0} voice #{1} speaker replaced.", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBF2 RID: 60402 RVA: 0x00467020 File Offset: 0x00465220
|
|
public AudioClip OAICKLOPDCA()
|
|
{
|
|
this.GLFFDJBKMNE();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("_ColorMappingParams", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBF3 RID: 60403 RVA: 0x00467088 File Offset: 0x00465288
|
|
public void KFBDIHJJJNL()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.JKMCPNBMODF();
|
|
}
|
|
else
|
|
{
|
|
this.ACPFEJBBGFF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBF4 RID: 60404 RVA: 0x004670A8 File Offset: 0x004652A8
|
|
public AudioClip KJMBOAPELKK()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.IJAOBOPNFPK();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke(" ", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBF5 RID: 60405 RVA: 0x0046711C File Offset: 0x0046531C
|
|
public void HEHEAIMHLDO(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke(".", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("RpcRadioPlayTrack", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBF6 RID: 60406 RVA: 0x00467148 File Offset: 0x00465348
|
|
public void DJODHCOMLCG(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("HTTPConnection", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Start Download", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBF7 RID: 60407 RVA: 0x00467174 File Offset: 0x00465374
|
|
public void AEDBHFIJFDK()
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
|
|
// Token: 0x0600EBF8 RID: 60408 RVA: 0x00467184 File Offset: 0x00465384
|
|
private void JLOMELEDCLK()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("UploadStream", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.EJENPFGCNEH();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.AGALNFLGGBF(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("PS4PlatformManager: Failed to retrieve PSN friends: ", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.BAGEBBGKGCP(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("CHGADJKJGPL", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBF9 RID: 60409 RVA: 0x004672A8 File Offset: 0x004654A8
|
|
public AudioClip MMPAKODKOOO()
|
|
{
|
|
this.KAPEIKBAGFH();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = true;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("curScn", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBFA RID: 60410 RVA: 0x00467310 File Offset: 0x00465510
|
|
public void DHOBEEPBHGH(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("hh_mm_ss", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("from", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBFB RID: 60411 RVA: 0x0046733C File Offset: 0x0046553C
|
|
public AudioClip PlayOneShotSound()
|
|
{
|
|
if (!this.IMBEAPMCGGF.isActiveAndEnabled)
|
|
{
|
|
return null;
|
|
}
|
|
this.BNHAIBIGCIJ();
|
|
if (this.stopOnPlay)
|
|
{
|
|
this.IMBEAPMCGGF.Stop();
|
|
}
|
|
if (this.disableOnEnd)
|
|
{
|
|
base.Invoke("Disable", this.NKFIPAKNCBE.length);
|
|
}
|
|
this.IMBEAPMCGGF.PlayOneShot(this.NKFIPAKNCBE);
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBFC RID: 60412 RVA: 0x004673B0 File Offset: 0x004655B0
|
|
private void PLAHCDODCDK()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(0, 0) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 1534f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBFD RID: 60413 RVA: 0x00467478 File Offset: 0x00465678
|
|
public void BPNDDBMFIFE(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("Instance Created!", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("ApplyDamage", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBFE RID: 60414 RVA: 0x004674A4 File Offset: 0x004656A4
|
|
public AudioClip AGPFOILJALE()
|
|
{
|
|
this.EACHHNPGNMA();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("ServerTime", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EBFF RID: 60415 RVA: 0x0046750C File Offset: 0x0046570C
|
|
public AudioClip BDNCHKGBCLA()
|
|
{
|
|
this.PLAHCDODCDK();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = false;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("partyId", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EC00 RID: 60416 RVA: 0x00467574 File Offset: 0x00465774
|
|
public void LDJJAPFMEAM()
|
|
{
|
|
if (this.looping)
|
|
{
|
|
this.FEABLMLKAOH();
|
|
}
|
|
else
|
|
{
|
|
this.PlayOneShotSound();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EC01 RID: 60417 RVA: 0x00467594 File Offset: 0x00465794
|
|
public void OJMHGLIGGNJ()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x0600EC02 RID: 60418 RVA: 0x004675A4 File Offset: 0x004657A4
|
|
private void IPAPMGBLCNF()
|
|
{
|
|
this.IMBEAPMCGGF = base.GetComponent<AudioSource>();
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
if (this.IMBEAPMCGGF.playOnAwake)
|
|
{
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("...is now online!", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
else
|
|
{
|
|
this.EJENPFGCNEH();
|
|
}
|
|
}
|
|
else if (!this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.DJODHCOMLCG(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("RpcMasterRequestPlayerRevive", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
else if (this.IMBEAPMCGGF.playOnAwake && this.playOnAwakeWithDelay)
|
|
{
|
|
this.MAPPEMOMKMM(this.delayOffsetTime);
|
|
if (this.useRetriggerTime)
|
|
{
|
|
base.InvokeRepeating("GlobalOverall", this.timeInitial, global::UnityEngine.Random.Range(this.timeMin, this.timeMax));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EC03 RID: 60419 RVA: 0x004676C8 File Offset: 0x004658C8
|
|
public AudioClip PlayLooping()
|
|
{
|
|
this.BNHAIBIGCIJ();
|
|
if (!this.IMBEAPMCGGF.loop)
|
|
{
|
|
this.IMBEAPMCGGF.loop = true;
|
|
}
|
|
this.IMBEAPMCGGF.Play();
|
|
if (this.stopOnEnd)
|
|
{
|
|
base.Invoke("Stop", this.IMBEAPMCGGF.clip.length);
|
|
}
|
|
return this.NKFIPAKNCBE;
|
|
}
|
|
|
|
// Token: 0x0600EC04 RID: 60420 RVA: 0x00467730 File Offset: 0x00465930
|
|
public void MAPPEMOMKMM(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke(".unity", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("api/PlayersBanned/", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EC05 RID: 60421 RVA: 0x0046775C File Offset: 0x0046595C
|
|
private void OPMKONALLON()
|
|
{
|
|
if (this.useRandomVolume)
|
|
{
|
|
this.IMBEAPMCGGF.volume = global::UnityEngine.Random.Range(this.volMin, this.volMax);
|
|
if (this.useRandomSilence && (float)global::UnityEngine.Random.Range(1, 1) < this.percentToNotPlay)
|
|
{
|
|
this.IMBEAPMCGGF.volume = 163f;
|
|
}
|
|
}
|
|
if (this.useRandomPitch)
|
|
{
|
|
this.IMBEAPMCGGF.pitch = global::UnityEngine.Random.Range(this.pitchMin, this.pitchMax);
|
|
}
|
|
if (this.waveFile.Length > 0)
|
|
{
|
|
this.IMBEAPMCGGF.clip = this.waveFile[global::UnityEngine.Random.Range(1, this.waveFile.Length)];
|
|
this.NKFIPAKNCBE = this.IMBEAPMCGGF.clip;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EC06 RID: 60422 RVA: 0x00467824 File Offset: 0x00465A24
|
|
public void KFCPKHBJFKJ()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x0600EC07 RID: 60423 RVA: 0x00467834 File Offset: 0x00465A34
|
|
public void HOGCOAIBFAM(float LODJOJAACNP)
|
|
{
|
|
if (this.looping)
|
|
{
|
|
base.Invoke("Reply", LODJOJAACNP);
|
|
}
|
|
else
|
|
{
|
|
base.Invoke("Avoid using this directly. Thanks.", LODJOJAACNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x040021F9 RID: 8697
|
|
[Tooltip("List of audio clips to play.")]
|
|
public AudioClip[] waveFile;
|
|
|
|
// Token: 0x040021FA RID: 8698
|
|
[Tooltip("Stops the currently playing clip in the audioSource. Otherwise clips will overlap/mix.")]
|
|
public bool stopOnPlay;
|
|
|
|
// Token: 0x040021FB RID: 8699
|
|
[Tooltip("After the audio clip finishes playing, disable the game object the sound is on.")]
|
|
public bool disableOnEnd;
|
|
|
|
// Token: 0x040021FC RID: 8700
|
|
[Tooltip("Loop the sound after the wave file variation has been chosen.")]
|
|
public bool looping;
|
|
|
|
// Token: 0x040021FD RID: 8701
|
|
[Tooltip("If the sound is looping and updating it's position every frame, stop the sound at the end of the wav/clip length. ")]
|
|
public bool stopOnEnd;
|
|
|
|
// Token: 0x040021FE RID: 8702
|
|
[Tooltip("Start a wave file playing on awake, but after a delay.")]
|
|
public bool playOnAwakeWithDelay;
|
|
|
|
// Token: 0x040021FF RID: 8703
|
|
[Header("Random Volume")]
|
|
public bool useRandomVolume = true;
|
|
|
|
// Token: 0x04002200 RID: 8704
|
|
[Range(0f, 1f)]
|
|
[Tooltip("Minimum volume that will be used when randomly set.")]
|
|
public float volMin = 1f;
|
|
|
|
// Token: 0x04002201 RID: 8705
|
|
[Tooltip("Maximum volume that will be used when randomly set.")]
|
|
[Range(0f, 1f)]
|
|
public float volMax = 1f;
|
|
|
|
// Token: 0x04002202 RID: 8706
|
|
[Tooltip("Use min and max random pitch levels when playing sounds.")]
|
|
[Header("Random Pitch")]
|
|
public bool useRandomPitch = true;
|
|
|
|
// Token: 0x04002203 RID: 8707
|
|
[Range(-3f, 3f)]
|
|
[Tooltip("Minimum pitch that will be used when randomly set.")]
|
|
public float pitchMin = 1f;
|
|
|
|
// Token: 0x04002204 RID: 8708
|
|
[Range(-3f, 3f)]
|
|
[Tooltip("Maximum pitch that will be used when randomly set.")]
|
|
public float pitchMax = 1f;
|
|
|
|
// Token: 0x04002205 RID: 8709
|
|
[Tooltip("Use Retrigger Time to repeat the sound within a time range")]
|
|
[Header("Random Time")]
|
|
public bool useRetriggerTime;
|
|
|
|
// Token: 0x04002206 RID: 8710
|
|
[Range(0f, 360f)]
|
|
[Tooltip("Inital time before the first repetion starts")]
|
|
public float timeInitial;
|
|
|
|
// Token: 0x04002207 RID: 8711
|
|
[Range(0f, 360f)]
|
|
[Tooltip("Minimum time that will pass before the sound is retriggered")]
|
|
public float timeMin;
|
|
|
|
// Token: 0x04002208 RID: 8712
|
|
[Tooltip("Maximum pitch that will be used when randomly set.")]
|
|
[Range(0f, 360f)]
|
|
public float timeMax;
|
|
|
|
// Token: 0x04002209 RID: 8713
|
|
[Tooltip("Use Retrigger Time to repeat the sound within a time range")]
|
|
[Header("Random Silence")]
|
|
public bool useRandomSilence;
|
|
|
|
// Token: 0x0400220A RID: 8714
|
|
[Range(0f, 1f)]
|
|
[Tooltip("Percent chance that the wave file will not play")]
|
|
public float percentToNotPlay;
|
|
|
|
// Token: 0x0400220B RID: 8715
|
|
[Tooltip("Time to offset playback of sound")]
|
|
[Header("Delay Time")]
|
|
public float delayOffsetTime;
|
|
|
|
// Token: 0x0400220C RID: 8716
|
|
private AudioSource IMBEAPMCGGF;
|
|
|
|
// Token: 0x0400220D RID: 8717
|
|
private AudioClip NKFIPAKNCBE;
|
|
}
|
|
}
|