1679 lines
45 KiB
C#
1679 lines
45 KiB
C#
using System;
|
|
using Photon;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000B9 RID: 185
|
|
public class Radio : global::Photon.MonoBehaviour
|
|
{
|
|
// Token: 0x060025DE RID: 9694 RVA: 0x000B4604 File Offset: 0x000B2804
|
|
private void PKJCDIDJCAJ(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.IGIPCHFCFNN() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.CEGDLFAENEJ();
|
|
string text = "' Exception: ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[1];
|
|
array[1] = this.GDCPCDKJLEJ;
|
|
array[1] = this.audioSource.time;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025DF RID: 9695 RVA: 0x000B4664 File Offset: 0x000B2864
|
|
private void CNFIONDFCJK(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.BHCCHBHNHCG && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.CEGDLFAENEJ();
|
|
string text = "Keep-Alive";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[5];
|
|
array[1] = this.GDCPCDKJLEJ;
|
|
array[0] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025E0 RID: 9696 RVA: 0x000B46C4 File Offset: 0x000B28C4
|
|
protected virtual void FPMMBPEOBEE()
|
|
{
|
|
base.MPIHCILBGLM();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.PIJLPGMALJL);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.ABCFIIEGFOF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025E1 RID: 9697 RVA: 0x000B4728 File Offset: 0x000B2928
|
|
private void KMKGFMADHNJ(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 1) % this.tracks.Length;
|
|
PhotonView photonView = base.POOAOJPEDJD();
|
|
string text = "_load";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[0];
|
|
array[1] = num;
|
|
array[1] = 200f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x060025E2 RID: 9698 RVA: 0x000B4774 File Offset: 0x000B2974
|
|
protected virtual void MKPOPGKKMHA()
|
|
{
|
|
base.AECBOJELNAI();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.KMKGFMADHNJ;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.PILGLOPKOML);
|
|
}
|
|
|
|
// Token: 0x060025E3 RID: 9699 RVA: 0x000B47CC File Offset: 0x000B29CC
|
|
private void PILGLOPKOML(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.GANDPDNCOKF() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.CEGDLFAENEJ();
|
|
string text = "color";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[] { null, this.GDCPCDKJLEJ };
|
|
array[0] = this.audioSource.time;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025E4 RID: 9700 RVA: 0x000B482C File Offset: 0x000B2A2C
|
|
protected virtual void GLBKBCBIOFJ()
|
|
{
|
|
base.FNNCEMJECLP();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.PILGLOPKOML);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.KNBPCBFHOIJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025E6 RID: 9702 RVA: 0x000B4898 File Offset: 0x000B2A98
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.OnPhotonPlayerConnected);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.JHCMHEMLHPB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025E7 RID: 9703 RVA: 0x000B48FC File Offset: 0x000B2AFC
|
|
private void NICOCLOFMEF()
|
|
{
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.DMBCPJMJCDF(true);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.OMNGGJICBBI;
|
|
string text = ".";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[4];
|
|
array[0] = 0;
|
|
array[1] = 1664f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025E8 RID: 9704 RVA: 0x000B4960 File Offset: 0x000B2B60
|
|
private void CPMBBGHAEKK(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num += 0;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 1680f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1072f, this.tracks[num].audioClip.length * 1714f);
|
|
}
|
|
PhotonView photonView = base.MLNMONBHHBO();
|
|
string text = "Data";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[4];
|
|
array[0] = num;
|
|
array[1] = num2;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x060025E9 RID: 9705 RVA: 0x000B49F8 File Offset: 0x000B2BF8
|
|
public void MGGBMFDIJFH(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1163f;
|
|
object[] array = new object[2];
|
|
array[0] = "Failed to retrieve cached login profiles: ";
|
|
array[0] = this.audioSource.clip.length;
|
|
array[1] = "Play";
|
|
array[1] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025EA RID: 9706 RVA: 0x000B4AD0 File Offset: 0x000B2CD0
|
|
protected virtual void MIFPCGBMGMD()
|
|
{
|
|
base.OnDestroy();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.JHCMHEMLHPB;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.JFBNLGHNKKO);
|
|
}
|
|
|
|
// Token: 0x060025EB RID: 9707 RVA: 0x000B4B28 File Offset: 0x000B2D28
|
|
[BCENPNOIAOM]
|
|
public void RpcRadioPlayTrack(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 0f;
|
|
Debug.LogWarning(string.Concat(new object[]
|
|
{
|
|
"tried to set audiosource time for clip of length ",
|
|
this.audioSource.clip.length,
|
|
" to ",
|
|
GKICDGMMPBH
|
|
}));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025EC RID: 9708 RVA: 0x000B4C00 File Offset: 0x000B2E00
|
|
private void HFEJGMADFGH()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.DFJFKOLLEMK())
|
|
{
|
|
this.DMBCPJMJCDF(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025ED RID: 9709 RVA: 0x000B4C24 File Offset: 0x000B2E24
|
|
private void BODGCOMLFPC(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num += 0;
|
|
if (num > this.tracks.Length - 1)
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
float num2 = 491f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1909f, this.tracks[num].audioClip.length * 83f);
|
|
}
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "IntegrationTest Fail";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[6];
|
|
array[0] = num;
|
|
array[1] = num2;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x060025EE RID: 9710 RVA: 0x000B4CBC File Offset: 0x000B2EBC
|
|
public void KPBPKGKONEO(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 713f;
|
|
object[] array = new object[] { "Proxy returned - status code: " };
|
|
array[0] = this.audioSource.clip.length;
|
|
array[5] = "rotation";
|
|
array[2] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025EF RID: 9711 RVA: 0x000B4D94 File Offset: 0x000B2F94
|
|
private void JHCMHEMLHPB(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 1) % this.tracks.Length;
|
|
base.OMNGGJICBBI.RPC("RpcRadioPlayTrack", IHCPDNLJMMD.All, new object[] { num, 0f });
|
|
}
|
|
|
|
// Token: 0x060025F0 RID: 9712 RVA: 0x000B4DE0 File Offset: 0x000B2FE0
|
|
private void PBCNFAEFEEO()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.DFJFKOLLEMK())
|
|
{
|
|
this.CPMBBGHAEKK(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025F1 RID: 9713 RVA: 0x000B4E04 File Offset: 0x000B3004
|
|
private void Update()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.BHCCHBHNHCG)
|
|
{
|
|
this.AODCJDFCPLP(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025F2 RID: 9714 RVA: 0x000B4E28 File Offset: 0x000B3028
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.JHCMHEMLHPB;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.OnPhotonPlayerConnected);
|
|
}
|
|
|
|
// Token: 0x060025F3 RID: 9715 RVA: 0x000B4E80 File Offset: 0x000B3080
|
|
private void AGCEPCJHFBD()
|
|
{
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.GFKCNCHDIMI(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "b20uUHJvdG9idWZiBnByb3RvMw==";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[] { null, 0 };
|
|
array[0] = 1989f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025F4 RID: 9716 RVA: 0x000B4EE4 File Offset: 0x000B30E4
|
|
private void LEIBAMJBGPG(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 1688f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1686f, this.tracks[num].audioClip.length * 777f);
|
|
}
|
|
PhotonView photonView = base.ACEAACJNNAF();
|
|
string text = "__b";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[4];
|
|
array[1] = num;
|
|
array[1] = num2;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x060025F5 RID: 9717 RVA: 0x000B4F7C File Offset: 0x000B317C
|
|
private void ABCFIIEGFOF(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 0) % this.tracks.Length;
|
|
PhotonView photonView = base.CJKKPMHAMCN();
|
|
string text = ".";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[7];
|
|
array[0] = num;
|
|
array[1] = 787f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x060025F6 RID: 9718 RVA: 0x000B4FC8 File Offset: 0x000B31C8
|
|
protected virtual void DCHCOKIMPDJ()
|
|
{
|
|
base.PJFFNBKMKBI();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.KMKGFMADHNJ;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.GDGFIFIMBNC);
|
|
}
|
|
|
|
// Token: 0x060025F7 RID: 9719 RVA: 0x000B5020 File Offset: 0x000B3220
|
|
protected virtual void PPCCKMMADGK()
|
|
{
|
|
base.DDJMPFMAKDO();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.EDANELEJABK;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.PILGLOPKOML);
|
|
}
|
|
|
|
// Token: 0x060025F8 RID: 9720 RVA: 0x000B5078 File Offset: 0x000B3278
|
|
private void PJIPGBLHFNL()
|
|
{
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.KFAMMNNBEIE(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.ACEAACJNNAF();
|
|
string text = ", but the recommended MSAA level is ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[4];
|
|
array[0] = 1;
|
|
array[0] = 1285f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025F9 RID: 9721 RVA: 0x000B50DC File Offset: 0x000B32DC
|
|
protected virtual void LOFEIHMJJFA()
|
|
{
|
|
base.MICFHMAIGIB();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.PIHMDJFMOIB);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.EBFMBPIEADO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025FA RID: 9722 RVA: 0x000B5140 File Offset: 0x000B3340
|
|
protected override void DDJMPFMAKDO()
|
|
{
|
|
base.JDBELFHCDHB();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.EBDJNDKDGJN;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.CPIGEJPGKGI);
|
|
}
|
|
|
|
// Token: 0x060025FB RID: 9723 RVA: 0x000B5198 File Offset: 0x000B3398
|
|
private void POEDAMONBNL()
|
|
{
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.NPNPGMJHOBL(true);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.CEGDLFAENEJ();
|
|
string text = "[PV] Remote voices cleared";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[8];
|
|
array[1] = 0;
|
|
array[1] = 971f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025FC RID: 9724 RVA: 0x000B51FC File Offset: 0x000B33FC
|
|
private void KHLLKLGEBFL(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(0, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 662f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(59f, this.tracks[num].audioClip.length * 156f);
|
|
}
|
|
PhotonView photonView = base.CEGDLFAENEJ();
|
|
string text = "_DepthEpi";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[2];
|
|
array[0] = num;
|
|
array[0] = num2;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x060025FD RID: 9725 RVA: 0x000B5294 File Offset: 0x000B3494
|
|
private void EBDJNDKDGJN(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 1) % this.tracks.Length;
|
|
PhotonView photonView = base.OMNGGJICBBI;
|
|
string text = "disablenamed";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[8];
|
|
array[1] = num;
|
|
array[1] = 1953f;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x060025FE RID: 9726 RVA: 0x000B52E0 File Offset: 0x000B34E0
|
|
private void LIEPFLEGIMJ()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.GANDPDNCOKF())
|
|
{
|
|
this.AODCJDFCPLP(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060025FF RID: 9727 RVA: 0x000B5304 File Offset: 0x000B3504
|
|
private void OHEAOCDFEEG(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
float num2 = 908f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1242f, this.tracks[num].audioClip.length * 544f);
|
|
}
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "PUNVoice: connecting to region {0}";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[8];
|
|
array[1] = num;
|
|
array[0] = num2;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002600 RID: 9728 RVA: 0x000B539C File Offset: 0x000B359C
|
|
private void PIJLPGMALJL(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.IGIPCHFCFNN() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.OMNGGJICBBI;
|
|
string text = "HTTPCache";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[5];
|
|
array[0] = this.GDCPCDKJLEJ;
|
|
array[0] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002601 RID: 9729 RVA: 0x000B53FC File Offset: 0x000B35FC
|
|
private void DKDGOJGKHDM()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.GANDPDNCOKF())
|
|
{
|
|
this.KFAMMNNBEIE(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002602 RID: 9730 RVA: 0x000B5420 File Offset: 0x000B3620
|
|
private void GDGFIFIMBNC(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.BHCCHBHNHCG && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.ACEAACJNNAF();
|
|
string text = "PostProcess";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[6];
|
|
array[1] = this.GDCPCDKJLEJ;
|
|
array[0] = this.audioSource.time;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002603 RID: 9731 RVA: 0x000B5480 File Offset: 0x000B3680
|
|
protected virtual void CMOJIGDGBAB()
|
|
{
|
|
base.ILNOFPMNPKH();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.KMKGFMADHNJ;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.PEGEDHGHKCG);
|
|
}
|
|
|
|
// Token: 0x06002604 RID: 9732 RVA: 0x000B54D8 File Offset: 0x000B36D8
|
|
protected virtual void OJAIDLPNIEI()
|
|
{
|
|
base.NGOPCBJCNJM();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.APPCLIKJIAG);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.JHCMHEMLHPB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002605 RID: 9733 RVA: 0x000B553C File Offset: 0x000B373C
|
|
private void EAKGKEKHPOI()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.CPMBBGHAEKK(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "{0}v1/{1}";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[3];
|
|
array[0] = 1;
|
|
array[1] = 976f;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002606 RID: 9734 RVA: 0x000B55A0 File Offset: 0x000B37A0
|
|
private void LMMKLDIJLGJ()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.AODCJDFCPLP(true);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "time";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[3];
|
|
array[0] = 0;
|
|
array[1] = 1358f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002607 RID: 9735 RVA: 0x000B5604 File Offset: 0x000B3804
|
|
protected virtual void MCECFOCPOCA()
|
|
{
|
|
base.ELPAGAAOPFN();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.DBIFPNKHLOG);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.KNBPCBFHOIJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002608 RID: 9736 RVA: 0x000B5668 File Offset: 0x000B3868
|
|
private void PJELFJFCHGM(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(0, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 1)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 1137f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(710f, this.tracks[num].audioClip.length * 697f);
|
|
}
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "LogoutScene";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[5];
|
|
array[1] = num;
|
|
array[0] = num2;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002609 RID: 9737 RVA: 0x000B5700 File Offset: 0x000B3900
|
|
private void OEKOPBDDGCK()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.JNOCCMDBMIO())
|
|
{
|
|
this.KFAMMNNBEIE(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600260A RID: 9738 RVA: 0x000B5724 File Offset: 0x000B3924
|
|
public void ONKHAMDFMBJ(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1126f;
|
|
object[] array = new object[0];
|
|
array[1] = "hidden";
|
|
array[0] = this.audioSource.clip.length;
|
|
array[6] = "onupdateparams";
|
|
array[3] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600260B RID: 9739 RVA: 0x000B57FC File Offset: 0x000B39FC
|
|
private void AODCJDFCPLP(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(0, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 1)
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
float num2 = 0f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(0f, this.tracks[num].audioClip.length * 0.9f);
|
|
}
|
|
base.OMNGGJICBBI.RPC("RpcRadioPlayTrack", IHCPDNLJMMD.All, new object[] { num, num2 });
|
|
}
|
|
|
|
// Token: 0x0600260C RID: 9740 RVA: 0x000B5894 File Offset: 0x000B3A94
|
|
private void KNBPCBFHOIJ(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 1) % this.tracks.Length;
|
|
PhotonView photonView = base.HOPJELLOPNJ();
|
|
string text = "IsChargingMeleeAttack";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[8];
|
|
array[1] = num;
|
|
array[0] = 34f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x0600260D RID: 9741 RVA: 0x000B58E0 File Offset: 0x000B3AE0
|
|
private void FNHPFHOPCLL()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.BHCCHBHNHCG)
|
|
{
|
|
this.OHEAOCDFEEG(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600260E RID: 9742 RVA: 0x000B5904 File Offset: 0x000B3B04
|
|
private void PLKHINPPGPK()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.IGIPCHFCFNN())
|
|
{
|
|
this.KFAMMNNBEIE(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600260F RID: 9743 RVA: 0x000B5928 File Offset: 0x000B3B28
|
|
private void JFBNLGHNKKO(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.JNOCCMDBMIO() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.OMNGGJICBBI;
|
|
string text = "position";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[0];
|
|
array[1] = this.GDCPCDKJLEJ;
|
|
array[0] = this.audioSource.time;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002610 RID: 9744 RVA: 0x000B5988 File Offset: 0x000B3B88
|
|
private void DBIFPNKHLOG(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.JNOCCMDBMIO() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "Avg: {0:0.0}, Min: {1:0.0}";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[1];
|
|
array[0] = this.GDCPCDKJLEJ;
|
|
array[1] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002611 RID: 9745 RVA: 0x000B59E8 File Offset: 0x000B3BE8
|
|
private void KFAMMNNBEIE(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 454f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1393f, this.tracks[num].audioClip.length * 450f);
|
|
}
|
|
PhotonView photonView = base.EKPBHKFHMON();
|
|
string text = "cheer_category";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[4];
|
|
array[0] = num;
|
|
array[0] = num2;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002612 RID: 9746 RVA: 0x000B5A80 File Offset: 0x000B3C80
|
|
protected override void MICFHMAIGIB()
|
|
{
|
|
base.IPAPMGBLCNF();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.APPCLIKJIAG);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.ODNFICFHNJN;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002613 RID: 9747 RVA: 0x000B5AE4 File Offset: 0x000B3CE4
|
|
protected virtual void CJAHNDDKCPC()
|
|
{
|
|
base.PJFFNBKMKBI();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.JHCMHEMLHPB;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.OnPhotonPlayerConnected);
|
|
}
|
|
|
|
// Token: 0x06002614 RID: 9748 RVA: 0x000B5B3C File Offset: 0x000B3D3C
|
|
private void EBFMBPIEADO(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 0) % this.tracks.Length;
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "Error saving room: ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[7];
|
|
array[0] = num;
|
|
array[0] = 1582f;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002615 RID: 9749 RVA: 0x000B5B88 File Offset: 0x000B3D88
|
|
protected virtual void OCLLCNEHOID()
|
|
{
|
|
base.DCGCFFFPABH();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.JHCMHEMLHPB;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.PKJCDIDJCAJ);
|
|
}
|
|
|
|
// Token: 0x06002616 RID: 9750 RVA: 0x000B5BE0 File Offset: 0x000B3DE0
|
|
protected virtual void NEJLPPFGJPF()
|
|
{
|
|
base.PJFFNBKMKBI();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.ABCFIIEGFOF;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.PILGLOPKOML);
|
|
}
|
|
|
|
// Token: 0x06002617 RID: 9751 RVA: 0x000B5C38 File Offset: 0x000B3E38
|
|
private void NPNPGMJHOBL(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 851f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1474f, this.tracks[num].audioClip.length * 991f);
|
|
}
|
|
PhotonView photonView = base.HOPJELLOPNJ();
|
|
string text = "HideAllGUIs";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[] { null, num };
|
|
array[1] = num2;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002618 RID: 9752 RVA: 0x000B5CD0 File Offset: 0x000B3ED0
|
|
public void FELAKHFLDNE(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1403f;
|
|
object[] array = new object[] { null, "GamePlatform" };
|
|
array[1] = this.audioSource.clip.length;
|
|
array[6] = "Filtered out all possible spawn points due to spawn point overlap test. Falling back to overlapping spawn points.";
|
|
array[4] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002619 RID: 9753 RVA: 0x000B5DA8 File Offset: 0x000B3FA8
|
|
protected virtual void GCOFOGPIJJA()
|
|
{
|
|
base.ELPAGAAOPFN();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.CNFIONDFCJK);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.EBFMBPIEADO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600261A RID: 9754 RVA: 0x000B5E0C File Offset: 0x000B400C
|
|
private void LOGFBGOPLLO()
|
|
{
|
|
if (!this.audioSource.isPlaying && base.DGLKKANNBPD())
|
|
{
|
|
this.DPONNPELJOO(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600261B RID: 9755 RVA: 0x000B5E30 File Offset: 0x000B4030
|
|
public void IJOAEBEHPFJ(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 122f;
|
|
object[] array = new object[8];
|
|
array[0] = ". Check if the server is available.";
|
|
array[1] = this.audioSource.clip.length;
|
|
array[0] = "OperationResponse ignored while disconnecting. Code: ";
|
|
array[3] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600261C RID: 9756 RVA: 0x000B5F08 File Offset: 0x000B4108
|
|
private void JJEHDEOKOBB()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.DMBCPJMJCDF(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.LJILHDMCKME();
|
|
string text = "image";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[7];
|
|
array[0] = 0;
|
|
array[1] = 158f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600261D RID: 9757 RVA: 0x000B5F6C File Offset: 0x000B416C
|
|
private void Start()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.AODCJDFCPLP(true);
|
|
}
|
|
else
|
|
{
|
|
base.OMNGGJICBBI.RPC("RpcRadioPlayTrack", IHCPDNLJMMD.All, new object[] { 0, 0f });
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600261E RID: 9758 RVA: 0x000B5FD0 File Offset: 0x000B41D0
|
|
private void GFKCNCHDIMI(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num += 0;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
float num2 = 9f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1825f, this.tracks[num].audioClip.length * 483f);
|
|
}
|
|
PhotonView photonView = base.JNFDHNMMHGN();
|
|
string text = "time";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[5];
|
|
array[1] = num;
|
|
array[1] = num2;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x0600261F RID: 9759 RVA: 0x000B6068 File Offset: 0x000B4268
|
|
protected virtual void GHNJJCGKPJN()
|
|
{
|
|
base.Awake();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.OnPhotonPlayerConnected);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.EBFMBPIEADO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002620 RID: 9760 RVA: 0x000B60CC File Offset: 0x000B42CC
|
|
public void ENKBHKBDOPD(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1685f;
|
|
object[] array = new object[4];
|
|
array[0] = "AFAJJOMNENF";
|
|
array[1] = this.audioSource.clip.length;
|
|
array[1] = "iso-8859-1";
|
|
array[4] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002621 RID: 9761 RVA: 0x000B61A4 File Offset: 0x000B43A4
|
|
protected virtual void KJMPKKMGCLA()
|
|
{
|
|
base.NDHBFLHIAHM();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.EDANELEJABK;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.PKJCDIDJCAJ);
|
|
}
|
|
|
|
// Token: 0x06002622 RID: 9762 RVA: 0x000B61FC File Offset: 0x000B43FC
|
|
private void GEMPJFEKJKA()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.LEIBAMJBGPG(true);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "Can't close an array here";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[0];
|
|
array[0] = 0;
|
|
array[0] = 345f;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002623 RID: 9763 RVA: 0x000B6260 File Offset: 0x000B4460
|
|
private void EDANELEJABK(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 1) % this.tracks.Length;
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "]";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[2];
|
|
array[0] = num;
|
|
array[0] = 556f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002624 RID: 9764 RVA: 0x000B62AC File Offset: 0x000B44AC
|
|
private void JAOODGOIEMK(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.JNOCCMDBMIO() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.MLNMONBHHBO();
|
|
string text = "Attempting to deserialize scene object with ID {0}, but no corresponding PersistenceView was found in the scene.";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[8];
|
|
array[1] = this.GDCPCDKJLEJ;
|
|
array[0] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002625 RID: 9765 RVA: 0x000B630C File Offset: 0x000B450C
|
|
private void CGCBFFOFOFD()
|
|
{
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.NPNPGMJHOBL(true);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.MLNMONBHHBO();
|
|
string text = "Failed to InstantiateSceneObject prefab: ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[2];
|
|
array[0] = 0;
|
|
array[0] = 1706f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002626 RID: 9766 RVA: 0x000B6370 File Offset: 0x000B4570
|
|
private void DPONNPELJOO(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(0, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num += 0;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
float num2 = 21f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1203f, this.tracks[num].audioClip.length * 191f);
|
|
}
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "Failed to refresh relationship list: ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[4];
|
|
array[1] = num;
|
|
array[1] = num2;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002627 RID: 9767 RVA: 0x000B6408 File Offset: 0x000B4608
|
|
public void KAJEALOGGHM(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1403f;
|
|
object[] array = new object[0];
|
|
array[0] = "{0}v1/deletesaved";
|
|
array[0] = this.audioSource.clip.length;
|
|
array[3] = "Room does not exist";
|
|
array[0] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002628 RID: 9768 RVA: 0x000B64E0 File Offset: 0x000B46E0
|
|
private void OnPhotonPlayerConnected(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.BHCCHBHNHCG && this.audioSource.isPlaying)
|
|
{
|
|
base.OMNGGJICBBI.RPC("RpcRadioPlayTrack", IHCPDNLJMMD.All, new object[]
|
|
{
|
|
this.GDCPCDKJLEJ,
|
|
this.audioSource.time
|
|
});
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002629 RID: 9769 RVA: 0x000B6540 File Offset: 0x000B4740
|
|
public void EAMMJPCBBPA(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1287f;
|
|
object[] array = new object[1];
|
|
array[0] = "visible";
|
|
array[1] = this.audioSource.clip.length;
|
|
array[1] = ".";
|
|
array[3] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600262A RID: 9770 RVA: 0x000B6618 File Offset: 0x000B4818
|
|
protected virtual void NEGJDIFIHOE()
|
|
{
|
|
base.DCGCFFFPABH();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.EBDJNDKDGJN;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.JFBNLGHNKKO);
|
|
}
|
|
|
|
// Token: 0x0600262B RID: 9771 RVA: 0x000B6670 File Offset: 0x000B4870
|
|
protected virtual void HKJDCDEMIPG()
|
|
{
|
|
base.PJFFNBKMKBI();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL -= this.JHCMHEMLHPB;
|
|
}
|
|
IHFKMIAHBFP.GFFDICBLOFJ -= new Action<LNJFBGIBLHA>(this.PILGLOPKOML);
|
|
}
|
|
|
|
// Token: 0x0600262C RID: 9772 RVA: 0x000B66C8 File Offset: 0x000B48C8
|
|
private void ODNFICFHNJN(Tool ENBMEDIFBLM)
|
|
{
|
|
int num = (this.GDCPCDKJLEJ + 1) % this.tracks.Length;
|
|
PhotonView photonView = base.LJILHDMCKME();
|
|
string text = "long: ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[7];
|
|
array[1] = num;
|
|
array[0] = 1982f;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x0600262D RID: 9773 RVA: 0x000B6714 File Offset: 0x000B4914
|
|
private void PEGEDHGHKCG(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.IGIPCHFCFNN() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.EKPBHKFHMON();
|
|
string text = "Launching external application...";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[4];
|
|
array[1] = this.GDCPCDKJLEJ;
|
|
array[1] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600262E RID: 9774 RVA: 0x000B6774 File Offset: 0x000B4974
|
|
public void GEEJJMOFGPM(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1820f;
|
|
object[] array = new object[6];
|
|
array[1] = "{0}v2/";
|
|
array[1] = this.audioSource.clip.length;
|
|
array[1] = "/";
|
|
array[6] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600262F RID: 9775 RVA: 0x000B684C File Offset: 0x000B4A4C
|
|
private void GINCOALAOOC()
|
|
{
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.LEIBAMJBGPG(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "OnPress";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[7];
|
|
array[1] = 0;
|
|
array[1] = 1363f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002630 RID: 9776 RVA: 0x000B68B0 File Offset: 0x000B4AB0
|
|
private void FAJGMJFGMHP()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.PJELFJFCHGM(true);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.CEGDLFAENEJ();
|
|
string text = "SkinColor";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[5];
|
|
array[1] = 0;
|
|
array[0] = 1138f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002631 RID: 9777 RVA: 0x000B6914 File Offset: 0x000B4B14
|
|
public void FAHGABBLAEI(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1182f;
|
|
object[] array = new object[1];
|
|
array[0] = "empty";
|
|
array[1] = this.audioSource.clip.length;
|
|
array[4] = "LoginLockToken";
|
|
array[4] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002632 RID: 9778 RVA: 0x000B69EC File Offset: 0x000B4BEC
|
|
protected virtual void KJBPHNKFCAM()
|
|
{
|
|
base.MICFHMAIGIB();
|
|
IHFKMIAHBFP.GFFDICBLOFJ += new Action<LNJFBGIBLHA>(this.PEGEDHGHKCG);
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM != null)
|
|
{
|
|
this.ENBMEDIFBLM.PEOCFOCDAFL += this.JHCMHEMLHPB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002633 RID: 9779 RVA: 0x000B6A50 File Offset: 0x000B4C50
|
|
private void APPCLIKJIAG(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.BHCCHBHNHCG && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.MLNMONBHHBO();
|
|
string text = "<color=white>PhotonView Group: ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[] { null, this.GDCPCDKJLEJ };
|
|
array[0] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002634 RID: 9780 RVA: 0x000B6AB0 File Offset: 0x000B4CB0
|
|
private void NPHCJGJPHGA(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.DFJFKOLLEMK() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.LHEPJEHMAEC();
|
|
string text = "AppVersion";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[7];
|
|
array[1] = this.GDCPCDKJLEJ;
|
|
array[1] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002635 RID: 9781 RVA: 0x000B6B10 File Offset: 0x000B4D10
|
|
private void CNGKLNPCEGE(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(0, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 1)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 424f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(1693f, this.tracks[num].audioClip.length * 231f);
|
|
}
|
|
PhotonView photonView = base.JNFDHNMMHGN();
|
|
string text = "Play";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[8];
|
|
array[1] = num;
|
|
array[1] = num2;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x06002636 RID: 9782 RVA: 0x000B6BA8 File Offset: 0x000B4DA8
|
|
private void CPIGEJPGKGI(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.BHCCHBHNHCG && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "DODGEBALL_TIMER";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[8];
|
|
array[0] = this.GDCPCDKJLEJ;
|
|
array[1] = this.audioSource.time;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002637 RID: 9783 RVA: 0x000B6C08 File Offset: 0x000B4E08
|
|
private void GCHFDKPMNEE()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.CPMBBGHAEKK(true);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.ONAOMJAKKMA();
|
|
string text = "spillway3";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[4];
|
|
array[0] = 1;
|
|
array[1] = 340f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002638 RID: 9784 RVA: 0x000B6C6C File Offset: 0x000B4E6C
|
|
private void FLIBGBGHKCG()
|
|
{
|
|
if (base.GANDPDNCOKF())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.KFAMMNNBEIE(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.POOAOJPEDJD();
|
|
string text = "location";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[5];
|
|
array[0] = 0;
|
|
array[1] = 129f;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002639 RID: 9785 RVA: 0x000B6CD0 File Offset: 0x000B4ED0
|
|
private void BCEECLPFOAF()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.PJELFJFCHGM(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.POOAOJPEDJD();
|
|
string text = "partySize";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[8];
|
|
array[1] = 1;
|
|
array[0] = 719f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600263A RID: 9786 RVA: 0x000B6D34 File Offset: 0x000B4F34
|
|
private void DEBKBIIGAAN()
|
|
{
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
if (this.randomInitialTrack)
|
|
{
|
|
this.GDCPCDKJLEJ = -1;
|
|
this.KFAMMNNBEIE(false);
|
|
}
|
|
else
|
|
{
|
|
PhotonView photonView = base.MLNMONBHHBO();
|
|
string text = "_MainTex";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[0];
|
|
array[1] = 0;
|
|
array[1] = 1390f;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600263B RID: 9787 RVA: 0x000B6D98 File Offset: 0x000B4F98
|
|
private void DMBCPJMJCDF(bool FNONAOCEFCM = false)
|
|
{
|
|
int num = global::UnityEngine.Random.Range(1, this.tracks.Length);
|
|
if (num == this.GDCPCDKJLEJ)
|
|
{
|
|
num++;
|
|
if (num > this.tracks.Length - 0)
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
float num2 = 463f;
|
|
if (FNONAOCEFCM)
|
|
{
|
|
num2 = global::UnityEngine.Random.Range(647f, this.tracks[num].audioClip.length * 1071f);
|
|
}
|
|
PhotonView photonView = base.LHEPJEHMAEC();
|
|
string text = "FarthestShotPosition";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[7];
|
|
array[1] = num;
|
|
array[0] = num2;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
|
|
// Token: 0x0600263C RID: 9788 RVA: 0x000B6E30 File Offset: 0x000B5030
|
|
private void PIHMDJFMOIB(LNJFBGIBLHA BBLGGOBKKMC)
|
|
{
|
|
if (base.IGIPCHFCFNN() && this.audioSource.isPlaying)
|
|
{
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "_OutputTexDim";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[8];
|
|
array[0] = this.GDCPCDKJLEJ;
|
|
array[0] = this.audioSource.time;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600263D RID: 9789 RVA: 0x000B6E90 File Offset: 0x000B5090
|
|
public void JLFLMAFMPOH(int CPIGFPHOLPI, float GKICDGMMPBH)
|
|
{
|
|
if (CPIGFPHOLPI < this.tracks.Length && this.tracks[CPIGFPHOLPI] != null)
|
|
{
|
|
this.audioSource.Stop();
|
|
this.audioSource.clip = this.tracks[CPIGFPHOLPI].audioClip;
|
|
if (GKICDGMMPBH < this.audioSource.clip.length)
|
|
{
|
|
this.audioSource.time = GKICDGMMPBH;
|
|
}
|
|
else
|
|
{
|
|
this.audioSource.time = 1766f;
|
|
object[] array = new object[7];
|
|
array[0] = "YgZwcm90bzM=";
|
|
array[0] = this.audioSource.clip.length;
|
|
array[8] = "rw_dropped_frames_3to4p_perc";
|
|
array[1] = GKICDGMMPBH;
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
this.audioSource.Play();
|
|
this.GDCPCDKJLEJ = CPIGFPHOLPI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000507 RID: 1287
|
|
[Header("Audio")]
|
|
[SerializeField]
|
|
private AudioSource audioSource;
|
|
|
|
// Token: 0x04000508 RID: 1288
|
|
[SerializeField]
|
|
private RecRoomAudioClip[] tracks;
|
|
|
|
// Token: 0x04000509 RID: 1289
|
|
[SerializeField]
|
|
private bool randomInitialTrack;
|
|
|
|
// Token: 0x0400050A RID: 1290
|
|
private Tool ENBMEDIFBLM;
|
|
|
|
// Token: 0x0400050B RID: 1291
|
|
private int GDCPCDKJLEJ;
|
|
}
|