1820 lines
52 KiB
C#
1820 lines
52 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using ExitGames.Client.Photon.Voice;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000587 RID: 1415
|
|
public class EGJBPMIIJAE
|
|
{
|
|
// Token: 0x0600DFA3 RID: 57251 RVA: 0x00427F44 File Offset: 0x00426144
|
|
public void PLGEFANFPGN(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (-99 + MPBJHLCBJGK) * MMALNHHGFPC / -116 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 84 * MMALNHHGFPC / -12 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / -57 + this.PPKOOBNJICE;
|
|
this.FMFEBGIGJJO(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("onupdateparams", num, KNMCLNDOLJO, MMALNHHGFPC, false);
|
|
this.AGKKEIIHMLI = 0;
|
|
this.OAIGJFGGDPA(0);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFA4 RID: 57252 RVA: 0x00428014 File Offset: 0x00426214
|
|
public void JAMDPKFNJBF(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (-47 + MPBJHLCBJGK) * MMALNHHGFPC / -40 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 54 * MMALNHHGFPC / -50 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / -46 + this.PPKOOBNJICE;
|
|
this.IOAKCFKOJAO(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = false;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("type", num, KNMCLNDOLJO, MMALNHHGFPC, true);
|
|
this.AGKKEIIHMLI = 0;
|
|
this.PCEOMOJFAGP(0);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFA5 RID: 57253 RVA: 0x004280E4 File Offset: 0x004262E4
|
|
public void ENGBBPFBENE()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFA6 RID: 57254 RVA: 0x00428100 File Offset: 0x00426300
|
|
public bool LJCBAMIJDKJ()
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
|
|
// Token: 0x0600DFA7 RID: 57255 RVA: 0x00428110 File Offset: 0x00426310
|
|
public void CGCBFFOFOFD(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (83 + MPBJHLCBJGK) * MMALNHHGFPC / -17 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = -49 * MMALNHHGFPC / 28 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / 188 + this.PPKOOBNJICE;
|
|
this.MGPJJJIOMGH(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("Cannot set synchronized PersistenceView GUID that has already been set on: {0}", num, KNMCLNDOLJO, MMALNHHGFPC, true);
|
|
this.AGKKEIIHMLI = 1;
|
|
this.HNALBMLBAMN(0);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFA8 RID: 57256 RVA: 0x004281E0 File Offset: 0x004263E0
|
|
public int JJJGHEALKNP()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600DFA9 RID: 57257 RVA: 0x004281E8 File Offset: 0x004263E8
|
|
public void CBDDEPNKKDI()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x1700063C RID: 1596
|
|
// (get) Token: 0x0600DFAA RID: 57258 RVA: 0x00428204 File Offset: 0x00426404
|
|
public bool PGMFKJOFKMP
|
|
{
|
|
get
|
|
{
|
|
return this.ECFENKBBJOK.clip != null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFAB RID: 57259 RVA: 0x00428218 File Offset: 0x00426418
|
|
public void LHDDBIIAPND()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFAC RID: 57260 RVA: 0x00428238 File Offset: 0x00426438
|
|
public void JMDKEMLFPOG()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFAD RID: 57261 RVA: 0x00428258 File Offset: 0x00426458
|
|
public AudioSource KCJJHODJCIN()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600DFAE RID: 57262 RVA: 0x00428260 File Offset: 0x00426460
|
|
private void CHKAPOOFAAI(int NOBAPCOKFIL)
|
|
{
|
|
this.<ENLKGMCMLJD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600DFAF RID: 57263 RVA: 0x0042826C File Offset: 0x0042646C
|
|
public void BJMFLOPOLDK()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFB0 RID: 57264 RVA: 0x0042828C File Offset: 0x0042648C
|
|
public void MDMPLEHNNHO()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x17000638 RID: 1592
|
|
// (get) Token: 0x0600DFB1 RID: 57265 RVA: 0x004282A8 File Offset: 0x004264A8
|
|
// (set) Token: 0x0600E00A RID: 57354 RVA: 0x0042AAFC File Offset: 0x00428CFC
|
|
public int IILAFIDEIFA { get; private set; }
|
|
|
|
// Token: 0x0600DFB2 RID: 57266 RVA: 0x004282B0 File Offset: 0x004264B0
|
|
public bool MLGHNBCLJOH()
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
|
|
// Token: 0x0600DFB3 RID: 57267 RVA: 0x004282C0 File Offset: 0x004264C0
|
|
private void BBIBIKINIDG(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 0)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFB4 RID: 57268 RVA: 0x00428348 File Offset: 0x00426548
|
|
private void KABINJPBJJF(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFB5 RID: 57269 RVA: 0x004283D0 File Offset: 0x004265D0
|
|
public void DJNHFHJKAFG(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "pr";
|
|
object[] array = new object[8];
|
|
array[1] = this.IJMEDGHLDFP;
|
|
array[1] = KPMMDGIAGPC.Length;
|
|
array[1] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 1, array2, 1, this.JEFHDMHEMAH * 7);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFB6 RID: 57270 RVA: 0x0042847C File Offset: 0x0042667C
|
|
public void OLALCKFPLOL()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFB7 RID: 57271 RVA: 0x00428498 File Offset: 0x00426698
|
|
public bool LDBEBNAAIGF()
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
|
|
// Token: 0x0600DFB8 RID: 57272 RVA: 0x004284A8 File Offset: 0x004266A8
|
|
public void HEOBAIDFPII()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFB9 RID: 57273 RVA: 0x004284C4 File Offset: 0x004266C4
|
|
public void DJAOGANJIHG(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (76 + MPBJHLCBJGK) * MMALNHHGFPC / 172 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 78 * MMALNHHGFPC / 170 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / 191 + this.PPKOOBNJICE;
|
|
this.IILAFIDEIFA = this.BIIJJENNBJF;
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("looktime", num, KNMCLNDOLJO, MMALNHHGFPC, false);
|
|
this.AGKKEIIHMLI = 1;
|
|
this.OAIGJFGGDPA(1);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x17000639 RID: 1593
|
|
// (get) Token: 0x0600DFBA RID: 57274 RVA: 0x00428594 File Offset: 0x00426794
|
|
public AudioSource AMAFHCLALMM
|
|
{
|
|
get
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFBB RID: 57275 RVA: 0x0042859C File Offset: 0x0042679C
|
|
public void PIAHNMKBDJN()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFBC RID: 57276 RVA: 0x004285B8 File Offset: 0x004267B8
|
|
public void KGOONNLJDOI(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "Proxy-Connection";
|
|
object[] array = new object[7];
|
|
array[0] = this.IJMEDGHLDFP;
|
|
array[0] = KPMMDGIAGPC.Length;
|
|
array[2] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 0, array2, 1, this.JEFHDMHEMAH * 3);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFBD RID: 57277 RVA: 0x00428664 File Offset: 0x00426864
|
|
public int GFMBOKHBMLN()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600DFBE RID: 57278 RVA: 0x0042866C File Offset: 0x0042686C
|
|
private void HNALBMLBAMN(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFBF RID: 57279 RVA: 0x004286F4 File Offset: 0x004268F4
|
|
private void OAIGJFGGDPA(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 0)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFC0 RID: 57280 RVA: 0x0042877C File Offset: 0x0042697C
|
|
public void EEBJCCMFPHI()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFC1 RID: 57281 RVA: 0x00428798 File Offset: 0x00426998
|
|
private int CDOJHGADPAI()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 0 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600DFC2 RID: 57282 RVA: 0x004287E4 File Offset: 0x004269E4
|
|
public void NALDEPIPFJK(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
Debug.LogErrorFormat("{0} Audio frames are not of size: {1} != {2}", new object[] { this.IJMEDGHLDFP, KPMMDGIAGPC.Length, this.JEFHDMHEMAH });
|
|
return;
|
|
}
|
|
float[] array = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 0, array, 0, this.JEFHDMHEMAH * 4);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFC3 RID: 57283 RVA: 0x00428890 File Offset: 0x00426A90
|
|
public AudioSource GFACBGCGBLA()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600DFC4 RID: 57284 RVA: 0x00428898 File Offset: 0x00426A98
|
|
private void KKKMGPOPGOG(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFC5 RID: 57285 RVA: 0x00428920 File Offset: 0x00426B20
|
|
private int MDLMJGKLGHF()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 0 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600DFC6 RID: 57286 RVA: 0x0042896C File Offset: 0x00426B6C
|
|
public void JFLNOPOELNI()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFC7 RID: 57287 RVA: 0x0042898C File Offset: 0x00426B8C
|
|
private void DAJBBKKFKIN(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFC8 RID: 57288 RVA: 0x00428A14 File Offset: 0x00426C14
|
|
public void HFEJGMADFGH()
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
while (this.HANHECCOHAE.Count > 1)
|
|
{
|
|
float[] array = this.HANHECCOHAE.Dequeue();
|
|
this.ECFENKBBJOK.clip.SetData(array, this.AGKKEIIHMLI % this.ECFENKBBJOK.clip.samples);
|
|
this.ICBKNBFMENI.Release(array);
|
|
this.AGKKEIIHMLI += array.Length / this.ECFENKBBJOK.clip.channels;
|
|
}
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.ECFENKBBJOK.timeSamples < this.KJIMHPAEOCK)
|
|
{
|
|
this.NJLKAOKNBPJ += 0;
|
|
}
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
int num = this.EJMCIIMIGIB();
|
|
this.MGPJJJIOMGH((this.HFAFBGGKGHC() * 110 + (this.AGKKEIIHMLI - num)) / 120);
|
|
this.KJAJHLIFMBH = num + this.IILAFIDEIFA;
|
|
if (this.KJAJHLIFMBH > this.AGKKEIIHMLI)
|
|
{
|
|
this.KJAJHLIFMBH = this.AGKKEIIHMLI;
|
|
}
|
|
if (num < this.AGKKEIIHMLI - this.BIIJJENNBJF && !this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
this.ECFENKBBJOK.UnPause();
|
|
}
|
|
if (num > this.AGKKEIIHMLI - this.PPKOOBNJICE && this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text = "{0}v1/bulkignoreplatformusers";
|
|
object[] array2 = new object[3];
|
|
array2[1] = this.IJMEDGHLDFP;
|
|
array2[0] = num;
|
|
array2[6] = this.AGKKEIIHMLI;
|
|
array2[6] = this.KJAJHLIFMBH;
|
|
array2[8] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text, array2);
|
|
}
|
|
this.ECFENKBBJOK.Pause();
|
|
num = this.AGKKEIIHMLI;
|
|
this.AKCEOEJELFA(num);
|
|
this.MGPJJJIOMGH(this.BIIJJENNBJF);
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
int num2 = this.AGKKEIIHMLI - this.BIIJJENNBJF - this.NGCPGMPCIHM;
|
|
if (num < num2)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text2 = "RpcOnPurchaseSuccess";
|
|
object[] array3 = new object[3];
|
|
array3[1] = this.IJMEDGHLDFP;
|
|
array3[1] = num;
|
|
array3[4] = this.AGKKEIIHMLI;
|
|
array3[1] = this.KJAJHLIFMBH;
|
|
array3[1] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text2, array3);
|
|
}
|
|
num = this.AGKKEIIHMLI - this.BIIJJENNBJF;
|
|
this.HNALBMLBAMN(num);
|
|
this.MFCFJELIELI(this.BIIJJENNBJF);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFC9 RID: 57289 RVA: 0x00428CE0 File Offset: 0x00426EE0
|
|
private void PCEOMOJFAGP(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 0)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700063A RID: 1594
|
|
// (get) Token: 0x0600DFDF RID: 57311 RVA: 0x0042918C File Offset: 0x0042738C
|
|
// (set) Token: 0x0600DFCA RID: 57290 RVA: 0x00428D68 File Offset: 0x00426F68
|
|
private int CKIHBAOEIFO
|
|
{
|
|
get
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 0 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
set
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = value % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 0)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = value / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFCB RID: 57291 RVA: 0x00428DF0 File Offset: 0x00426FF0
|
|
public void KNAGEDGCEDL()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFCC RID: 57292 RVA: 0x00428E10 File Offset: 0x00427010
|
|
public bool NJMEBKLBPFE()
|
|
{
|
|
return this.ECFENKBBJOK.clip != null;
|
|
}
|
|
|
|
// Token: 0x0600DFCD RID: 57293 RVA: 0x00428E24 File Offset: 0x00427024
|
|
public void IEFFHOJKGMF(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = " Rounds";
|
|
object[] array = new object[0];
|
|
array[0] = this.IJMEDGHLDFP;
|
|
array[0] = KPMMDGIAGPC.Length;
|
|
array[4] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 1, array2, 0, this.JEFHDMHEMAH * 4);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFCE RID: 57294 RVA: 0x00428ED0 File Offset: 0x004270D0
|
|
private void MGPJJJIOMGH(int NOBAPCOKFIL)
|
|
{
|
|
this.<ENLKGMCMLJD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600DFCF RID: 57295 RVA: 0x00428EDC File Offset: 0x004270DC
|
|
public AudioSource FDDMBKDNAHI()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600DFD0 RID: 57296 RVA: 0x00428EE4 File Offset: 0x004270E4
|
|
public void IAAFKNMFOHF(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (-28 + MPBJHLCBJGK) * MMALNHHGFPC / 175 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = -97 * MMALNHHGFPC / -146 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / 68 + this.PPKOOBNJICE;
|
|
this.IOAKCFKOJAO(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create(" ", num, KNMCLNDOLJO, MMALNHHGFPC, false);
|
|
this.AGKKEIIHMLI = 0;
|
|
this.KABINJPBJJF(0);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFD1 RID: 57297 RVA: 0x00428FB4 File Offset: 0x004271B4
|
|
public void CAMGAFPKAMM(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (-43 + MPBJHLCBJGK) * MMALNHHGFPC / -14 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 90 * MMALNHHGFPC / 31 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / -140 + this.PPKOOBNJICE;
|
|
this.CHKAPOOFAAI(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("Hello World!", num, KNMCLNDOLJO, MMALNHHGFPC, true);
|
|
this.AGKKEIIHMLI = 0;
|
|
this.HNALBMLBAMN(1);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFD2 RID: 57298 RVA: 0x00429084 File Offset: 0x00427284
|
|
private int DGHKNCCGPAH()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 1 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600DFD3 RID: 57299 RVA: 0x004290D0 File Offset: 0x004272D0
|
|
public int HDEGCKHPLAP()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600DFD4 RID: 57300 RVA: 0x004290D8 File Offset: 0x004272D8
|
|
public bool NFNALEKLKMK()
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
|
|
// Token: 0x0600DFD5 RID: 57301 RVA: 0x004290E8 File Offset: 0x004272E8
|
|
public AudioSource DHHEHDIIGMI()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600DFD6 RID: 57302 RVA: 0x004290F0 File Offset: 0x004272F0
|
|
public bool KKMIALGGEKI()
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
|
|
// Token: 0x0600DFD7 RID: 57303 RVA: 0x00429100 File Offset: 0x00427300
|
|
public bool CHDHJNLBBFE()
|
|
{
|
|
return this.ECFENKBBJOK.clip != null;
|
|
}
|
|
|
|
// Token: 0x0600DFD8 RID: 57304 RVA: 0x00429114 File Offset: 0x00427314
|
|
public bool DMNKFDIKHDF()
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
|
|
// Token: 0x0600DFD9 RID: 57305 RVA: 0x00429124 File Offset: 0x00427324
|
|
public AudioSource JMGPKJDEGFL()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600DFDA RID: 57306 RVA: 0x0042912C File Offset: 0x0042732C
|
|
public void Stop()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFDB RID: 57307 RVA: 0x00429148 File Offset: 0x00427348
|
|
private void MFCFJELIELI(int NOBAPCOKFIL)
|
|
{
|
|
this.<ENLKGMCMLJD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600DFDC RID: 57308 RVA: 0x00429154 File Offset: 0x00427354
|
|
public bool AIOCLJGNMED()
|
|
{
|
|
return this.ECFENKBBJOK.clip != null;
|
|
}
|
|
|
|
// Token: 0x0600DFDD RID: 57309 RVA: 0x00429168 File Offset: 0x00427368
|
|
public int JJKPDAKOLOD()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600DFDE RID: 57310 RVA: 0x00429170 File Offset: 0x00427370
|
|
public void OEFDFFKFICE()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFE0 RID: 57312 RVA: 0x004291D8 File Offset: 0x004273D8
|
|
public void EFLEONOHHMD()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFE1 RID: 57313 RVA: 0x004291F8 File Offset: 0x004273F8
|
|
public void GCIGMHCIJDG(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "_DepthEpi";
|
|
object[] array = new object[4];
|
|
array[0] = this.IJMEDGHLDFP;
|
|
array[0] = KPMMDGIAGPC.Length;
|
|
array[4] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 0, array2, 0, this.JEFHDMHEMAH * 6);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFE2 RID: 57314 RVA: 0x004292A4 File Offset: 0x004274A4
|
|
public void KKIELOIIMOP(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "OBJECTIVE_FORCE_MIGRATION";
|
|
object[] array = new object[2];
|
|
array[0] = this.IJMEDGHLDFP;
|
|
array[0] = KPMMDGIAGPC.Length;
|
|
array[6] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 1, array2, 1, this.JEFHDMHEMAH * 5);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFE3 RID: 57315 RVA: 0x00429350 File Offset: 0x00427550
|
|
private void OBJNKCONONO(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 0)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFE4 RID: 57316 RVA: 0x004293D8 File Offset: 0x004275D8
|
|
public AudioSource NCGEFFBOBPA()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600DFE5 RID: 57317 RVA: 0x004293E0 File Offset: 0x004275E0
|
|
public void DLBPEOILIFL()
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
while (this.HANHECCOHAE.Count > 0)
|
|
{
|
|
float[] array = this.HANHECCOHAE.Dequeue();
|
|
this.ECFENKBBJOK.clip.SetData(array, this.AGKKEIIHMLI % this.ECFENKBBJOK.clip.samples);
|
|
this.ICBKNBFMENI.Release(array);
|
|
this.AGKKEIIHMLI += array.Length / this.ECFENKBBJOK.clip.channels;
|
|
}
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.ECFENKBBJOK.timeSamples < this.KJIMHPAEOCK)
|
|
{
|
|
this.NJLKAOKNBPJ++;
|
|
}
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
int num = this.CKIHBAOEIFO;
|
|
this.IILAFIDEIFA = (this.IILAFIDEIFA * 39 + (this.AGKKEIIHMLI - num)) / 40;
|
|
this.KJAJHLIFMBH = num + this.IILAFIDEIFA;
|
|
if (this.KJAJHLIFMBH > this.AGKKEIIHMLI)
|
|
{
|
|
this.KJAJHLIFMBH = this.AGKKEIIHMLI;
|
|
}
|
|
if (num < this.AGKKEIIHMLI - this.BIIJJENNBJF && !this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
this.ECFENKBBJOK.UnPause();
|
|
}
|
|
if (num > this.AGKKEIIHMLI - this.PPKOOBNJICE && this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
Debug.LogWarningFormat("{0} player overrun: {1}/{2}({3}) = {4}", new object[]
|
|
{
|
|
this.IJMEDGHLDFP,
|
|
num,
|
|
this.AGKKEIIHMLI,
|
|
this.KJAJHLIFMBH,
|
|
this.AGKKEIIHMLI - num
|
|
});
|
|
}
|
|
this.ECFENKBBJOK.Pause();
|
|
num = this.AGKKEIIHMLI;
|
|
this.CKIHBAOEIFO = num;
|
|
this.IILAFIDEIFA = this.BIIJJENNBJF;
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
int num2 = this.AGKKEIIHMLI - this.BIIJJENNBJF - this.NGCPGMPCIHM;
|
|
if (num < num2)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
Debug.LogWarningFormat("{0} player underrun: {1}/{2}({3}) = {4}", new object[]
|
|
{
|
|
this.IJMEDGHLDFP,
|
|
num,
|
|
this.AGKKEIIHMLI,
|
|
this.KJAJHLIFMBH,
|
|
this.AGKKEIIHMLI - num
|
|
});
|
|
}
|
|
num = this.AGKKEIIHMLI - this.BIIJJENNBJF;
|
|
this.CKIHBAOEIFO = num;
|
|
this.IILAFIDEIFA = this.BIIJJENNBJF;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFE6 RID: 57318 RVA: 0x004296AC File Offset: 0x004278AC
|
|
public void FLHFCMCNLEK(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (100 + MPBJHLCBJGK) * MMALNHHGFPC / 1000 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 100 * MMALNHHGFPC / 1000 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / 1000 + this.PPKOOBNJICE;
|
|
this.IILAFIDEIFA = this.BIIJJENNBJF;
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("AudioStreamPlayer", num, KNMCLNDOLJO, MMALNHHGFPC, false);
|
|
this.AGKKEIIHMLI = 0;
|
|
this.CKIHBAOEIFO = 0;
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFE7 RID: 57319 RVA: 0x0042977C File Offset: 0x0042797C
|
|
private int NMBAGBGKDAD()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 1 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600DFE8 RID: 57320 RVA: 0x004297C8 File Offset: 0x004279C8
|
|
public void PLKHINPPGPK()
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
while (this.HANHECCOHAE.Count > 1)
|
|
{
|
|
float[] array = this.HANHECCOHAE.Dequeue();
|
|
this.ECFENKBBJOK.clip.SetData(array, this.AGKKEIIHMLI % this.ECFENKBBJOK.clip.samples);
|
|
this.ICBKNBFMENI.Release(array);
|
|
this.AGKKEIIHMLI += array.Length / this.ECFENKBBJOK.clip.channels;
|
|
}
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.ECFENKBBJOK.timeSamples < this.KJIMHPAEOCK)
|
|
{
|
|
this.NJLKAOKNBPJ += 0;
|
|
}
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
int num = this.MNKFKAEABCJ();
|
|
this.FMFEBGIGJJO((this.JJKPDAKOLOD() * -76 + (this.AGKKEIIHMLI - num)) / -51);
|
|
this.KJAJHLIFMBH = num + this.IILAFIDEIFA;
|
|
if (this.KJAJHLIFMBH > this.AGKKEIIHMLI)
|
|
{
|
|
this.KJAJHLIFMBH = this.AGKKEIIHMLI;
|
|
}
|
|
if (num < this.AGKKEIIHMLI - this.BIIJJENNBJF && !this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
this.ECFENKBBJOK.UnPause();
|
|
}
|
|
if (num > this.AGKKEIIHMLI - this.PPKOOBNJICE && this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text = "Connected timed out";
|
|
object[] array2 = new object[2];
|
|
array2[0] = this.IJMEDGHLDFP;
|
|
array2[1] = num;
|
|
array2[3] = this.AGKKEIIHMLI;
|
|
array2[7] = this.KJAJHLIFMBH;
|
|
array2[0] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text, array2);
|
|
}
|
|
this.ECFENKBBJOK.Pause();
|
|
num = this.AGKKEIIHMLI;
|
|
this.OAIGJFGGDPA(num);
|
|
this.MFCFJELIELI(this.BIIJJENNBJF);
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
int num2 = this.AGKKEIIHMLI - this.BIIJJENNBJF - this.NGCPGMPCIHM;
|
|
if (num < num2)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text2 = "load";
|
|
object[] array3 = new object[4];
|
|
array3[0] = this.IJMEDGHLDFP;
|
|
array3[0] = num;
|
|
array3[8] = this.AGKKEIIHMLI;
|
|
array3[5] = this.KJAJHLIFMBH;
|
|
array3[4] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text2, array3);
|
|
}
|
|
num = this.AGKKEIIHMLI - this.BIIJJENNBJF;
|
|
this.PCEOMOJFAGP(num);
|
|
this.MGPJJJIOMGH(this.BIIJJENNBJF);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFE9 RID: 57321 RVA: 0x00429A94 File Offset: 0x00427C94
|
|
public int CNLFGLCNIBJ()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600DFEA RID: 57322 RVA: 0x00429A9C File Offset: 0x00427C9C
|
|
private void IOAKCFKOJAO(int NOBAPCOKFIL)
|
|
{
|
|
this.<ENLKGMCMLJD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600DFEB RID: 57323 RVA: 0x00429AA8 File Offset: 0x00427CA8
|
|
public int KBHJIGKFJNH()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600DFEC RID: 57324 RVA: 0x00429AB0 File Offset: 0x00427CB0
|
|
public void BFLJOHIKLAJ()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFED RID: 57325 RVA: 0x00429ACC File Offset: 0x00427CCC
|
|
private void FCMOMLKHJFG(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFEE RID: 57326 RVA: 0x00429B54 File Offset: 0x00427D54
|
|
private void MCIEMHGKJOD(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 0)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFEF RID: 57327 RVA: 0x00429BDC File Offset: 0x00427DDC
|
|
public AudioSource CDHDJBJBHDL()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600DFF0 RID: 57328 RVA: 0x00429BE4 File Offset: 0x00427DE4
|
|
public void OAGMGBGLOLM()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFF1 RID: 57329 RVA: 0x00429C00 File Offset: 0x00427E00
|
|
public void GPAKNLLHBOE()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFF2 RID: 57330 RVA: 0x00429C20 File Offset: 0x00427E20
|
|
private void OFCJAIDOMCG(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFF3 RID: 57331 RVA: 0x00429CA8 File Offset: 0x00427EA8
|
|
public void IAEEDINAJML(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
Debug.LogErrorFormat("Result", new object[] { this.IJMEDGHLDFP, KPMMDGIAGPC.Length, null, null, null, null, null, this.JEFHDMHEMAH });
|
|
return;
|
|
}
|
|
float[] array = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 0, array, 1, this.JEFHDMHEMAH * 0);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFF4 RID: 57332 RVA: 0x00429D54 File Offset: 0x00427F54
|
|
public void BJGMKLPJCPN(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (-114 + MPBJHLCBJGK) * MMALNHHGFPC / -16 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = -68 * MMALNHHGFPC / 126 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / -158 + this.PPKOOBNJICE;
|
|
this.MFCFJELIELI(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = false;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("\">Saves modification detected: ", num, KNMCLNDOLJO, MMALNHHGFPC, false);
|
|
this.AGKKEIIHMLI = 0;
|
|
this.KKKMGPOPGOG(0);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFF5 RID: 57333 RVA: 0x00429E24 File Offset: 0x00428024
|
|
public void IFELPFHBAFA()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600DFF6 RID: 57334 RVA: 0x00429E40 File Offset: 0x00428040
|
|
private int MNKFKAEABCJ()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 0 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600DFF7 RID: 57335 RVA: 0x00429E8C File Offset: 0x0042808C
|
|
public void GHMFIMPKNPM()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFF8 RID: 57336 RVA: 0x00429EAC File Offset: 0x004280AC
|
|
public int LKMACAOBCNL()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600DFF9 RID: 57337 RVA: 0x00429EB4 File Offset: 0x004280B4
|
|
public void GKFKPKMIEMJ(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (-104 + MPBJHLCBJGK) * MMALNHHGFPC / -84 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 61 * MMALNHHGFPC / 44 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / 145 + this.PPKOOBNJICE;
|
|
this.FMFEBGIGJJO(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("CheerCategory", num, KNMCLNDOLJO, MMALNHHGFPC, false);
|
|
this.AGKKEIIHMLI = 0;
|
|
this.BBIBIKINIDG(1);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600DFFA RID: 57338 RVA: 0x00429F84 File Offset: 0x00428184
|
|
public void LJICNBMGDMN()
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
while (this.HANHECCOHAE.Count > 1)
|
|
{
|
|
float[] array = this.HANHECCOHAE.Dequeue();
|
|
this.ECFENKBBJOK.clip.SetData(array, this.AGKKEIIHMLI % this.ECFENKBBJOK.clip.samples);
|
|
this.ICBKNBFMENI.Release(array);
|
|
this.AGKKEIIHMLI += array.Length / this.ECFENKBBJOK.clip.channels;
|
|
}
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.ECFENKBBJOK.timeSamples < this.KJIMHPAEOCK)
|
|
{
|
|
this.NJLKAOKNBPJ += 0;
|
|
}
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
int num = this.CDOJHGADPAI();
|
|
this.MGPJJJIOMGH((this.HFAFBGGKGHC() * 38 + (this.AGKKEIIHMLI - num)) / 6);
|
|
this.KJAJHLIFMBH = num + this.NLABEHCHHEJ();
|
|
if (this.KJAJHLIFMBH > this.AGKKEIIHMLI)
|
|
{
|
|
this.KJAJHLIFMBH = this.AGKKEIIHMLI;
|
|
}
|
|
if (num < this.AGKKEIIHMLI - this.BIIJJENNBJF && !this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
this.ECFENKBBJOK.UnPause();
|
|
}
|
|
if (num > this.AGKKEIIHMLI - this.PPKOOBNJICE && this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text = "Failed to 'network-remove' GameObject. Client is neither owner nor masterClient taking over for owner who left: ";
|
|
object[] array2 = new object[8];
|
|
array2[0] = this.IJMEDGHLDFP;
|
|
array2[1] = num;
|
|
array2[4] = this.AGKKEIIHMLI;
|
|
array2[3] = this.KJAJHLIFMBH;
|
|
array2[6] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text, array2);
|
|
}
|
|
this.ECFENKBBJOK.Pause();
|
|
num = this.AGKKEIIHMLI;
|
|
this.OCJAMJKHIDH(num);
|
|
this.IOAKCFKOJAO(this.BIIJJENNBJF);
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
int num2 = this.AGKKEIIHMLI - this.BIIJJENNBJF - this.NGCPGMPCIHM;
|
|
if (num < num2)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text2 = "items";
|
|
object[] array3 = new object[0];
|
|
array3[0] = this.IJMEDGHLDFP;
|
|
array3[0] = num;
|
|
array3[7] = this.AGKKEIIHMLI;
|
|
array3[5] = this.KJAJHLIFMBH;
|
|
array3[3] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text2, array3);
|
|
}
|
|
num = this.AGKKEIIHMLI - this.BIIJJENNBJF;
|
|
this.KKKMGPOPGOG(num);
|
|
this.MFCFJELIELI(this.BIIJJENNBJF);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFFB RID: 57339 RVA: 0x0042A250 File Offset: 0x00428450
|
|
public void JGFOPLONGBH()
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
while (this.HANHECCOHAE.Count > 0)
|
|
{
|
|
float[] array = this.HANHECCOHAE.Dequeue();
|
|
this.ECFENKBBJOK.clip.SetData(array, this.AGKKEIIHMLI % this.ECFENKBBJOK.clip.samples);
|
|
this.ICBKNBFMENI.Release(array);
|
|
this.AGKKEIIHMLI += array.Length / this.ECFENKBBJOK.clip.channels;
|
|
}
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.ECFENKBBJOK.timeSamples < this.KJIMHPAEOCK)
|
|
{
|
|
this.NJLKAOKNBPJ++;
|
|
}
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
int num = this.CKIHBAOEIFO;
|
|
this.CHKAPOOFAAI((this.NLABEHCHHEJ() * 50 + (this.AGKKEIIHMLI - num)) / 20);
|
|
this.KJAJHLIFMBH = num + this.JJJGHEALKNP();
|
|
if (this.KJAJHLIFMBH > this.AGKKEIIHMLI)
|
|
{
|
|
this.KJAJHLIFMBH = this.AGKKEIIHMLI;
|
|
}
|
|
if (num < this.AGKKEIIHMLI - this.BIIJJENNBJF && !this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
this.ECFENKBBJOK.UnPause();
|
|
}
|
|
if (num > this.AGKKEIIHMLI - this.PPKOOBNJICE && this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text = "turn";
|
|
object[] array2 = new object[7];
|
|
array2[1] = this.IJMEDGHLDFP;
|
|
array2[0] = num;
|
|
array2[7] = this.AGKKEIIHMLI;
|
|
array2[5] = this.KJAJHLIFMBH;
|
|
array2[8] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text, array2);
|
|
}
|
|
this.ECFENKBBJOK.Pause();
|
|
num = this.AGKKEIIHMLI;
|
|
this.AKCEOEJELFA(num);
|
|
this.MGPJJJIOMGH(this.BIIJJENNBJF);
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
int num2 = this.AGKKEIIHMLI - this.BIIJJENNBJF - this.NGCPGMPCIHM;
|
|
if (num < num2)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text2 = "Scale";
|
|
object[] array3 = new object[7];
|
|
array3[1] = this.IJMEDGHLDFP;
|
|
array3[0] = num;
|
|
array3[1] = this.AGKKEIIHMLI;
|
|
array3[5] = this.KJAJHLIFMBH;
|
|
array3[0] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text2, array3);
|
|
}
|
|
num = this.AGKKEIIHMLI - this.BIIJJENNBJF;
|
|
this.MCIEMHGKJOD(num);
|
|
this.FMFEBGIGJJO(this.BIIJJENNBJF);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFFC RID: 57340 RVA: 0x0042A51C File Offset: 0x0042871C
|
|
private int KHLMIABODGM()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 1 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600DFFD RID: 57341 RVA: 0x0042A568 File Offset: 0x00428768
|
|
public EGJBPMIIJAE(AudioSource IMBEAPMCGGF, string IJMEDGHLDFP, bool IJGJIHFNJIC)
|
|
{
|
|
this.ECFENKBBJOK = IMBEAPMCGGF;
|
|
this.IJMEDGHLDFP = IJMEDGHLDFP;
|
|
this.IJGJIHFNJIC = IJGJIHFNJIC;
|
|
}
|
|
|
|
// Token: 0x0600DFFE RID: 57342 RVA: 0x0042A5A4 File Offset: 0x004287A4
|
|
public bool DEHGBLHMMFB()
|
|
{
|
|
return this.ECFENKBBJOK.clip != null;
|
|
}
|
|
|
|
// Token: 0x0600DFFF RID: 57343 RVA: 0x0042A5B8 File Offset: 0x004287B8
|
|
private void FMFEBGIGJJO(int NOBAPCOKFIL)
|
|
{
|
|
this.<ENLKGMCMLJD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600E000 RID: 57344 RVA: 0x0042A5C4 File Offset: 0x004287C4
|
|
private void AKCEOEJELFA(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E001 RID: 57345 RVA: 0x0042A64C File Offset: 0x0042884C
|
|
public void HIJOFIKNJEE()
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
while (this.HANHECCOHAE.Count > 1)
|
|
{
|
|
float[] array = this.HANHECCOHAE.Dequeue();
|
|
this.ECFENKBBJOK.clip.SetData(array, this.AGKKEIIHMLI % this.ECFENKBBJOK.clip.samples);
|
|
this.ICBKNBFMENI.Release(array);
|
|
this.AGKKEIIHMLI += array.Length / this.ECFENKBBJOK.clip.channels;
|
|
}
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.ECFENKBBJOK.timeSamples < this.KJIMHPAEOCK)
|
|
{
|
|
this.NJLKAOKNBPJ += 0;
|
|
}
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
int num = this.CKIHBAOEIFO;
|
|
this.CHKAPOOFAAI((this.AHEBDBPCDJM() * -38 + (this.AGKKEIIHMLI - num)) / -95);
|
|
this.KJAJHLIFMBH = num + this.NLABEHCHHEJ();
|
|
if (this.KJAJHLIFMBH > this.AGKKEIIHMLI)
|
|
{
|
|
this.KJAJHLIFMBH = this.AGKKEIIHMLI;
|
|
}
|
|
if (num < this.AGKKEIIHMLI - this.BIIJJENNBJF && !this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
this.ECFENKBBJOK.UnPause();
|
|
}
|
|
if (num > this.AGKKEIIHMLI - this.PPKOOBNJICE && this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text = "open";
|
|
object[] array2 = new object[6];
|
|
array2[1] = this.IJMEDGHLDFP;
|
|
array2[0] = num;
|
|
array2[1] = this.AGKKEIIHMLI;
|
|
array2[4] = this.KJAJHLIFMBH;
|
|
array2[4] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text, array2);
|
|
}
|
|
this.ECFENKBBJOK.Pause();
|
|
num = this.AGKKEIIHMLI;
|
|
this.CKIHBAOEIFO = num;
|
|
this.IILAFIDEIFA = this.BIIJJENNBJF;
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
int num2 = this.AGKKEIIHMLI - this.BIIJJENNBJF - this.NGCPGMPCIHM;
|
|
if (num < num2)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text2 = "Failed!";
|
|
object[] array3 = new object[7];
|
|
array3[1] = this.IJMEDGHLDFP;
|
|
array3[1] = num;
|
|
array3[7] = this.AGKKEIIHMLI;
|
|
array3[3] = this.KJAJHLIFMBH;
|
|
array3[7] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text2, array3);
|
|
}
|
|
num = this.AGKKEIIHMLI - this.BIIJJENNBJF;
|
|
this.BBIBIKINIDG(num);
|
|
this.IOAKCFKOJAO(this.BIIJJENNBJF);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E002 RID: 57346 RVA: 0x0042A918 File Offset: 0x00428B18
|
|
public bool JKIMMPGFAJO()
|
|
{
|
|
return this.ECFENKBBJOK.clip != null;
|
|
}
|
|
|
|
// Token: 0x0600E003 RID: 57347 RVA: 0x0042A92C File Offset: 0x00428B2C
|
|
public AudioSource PBDPOAGGOEI()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600E004 RID: 57348 RVA: 0x0042A934 File Offset: 0x00428B34
|
|
public bool OMJNDNDMONM()
|
|
{
|
|
return this.ECFENKBBJOK.clip != null;
|
|
}
|
|
|
|
// Token: 0x1700063B RID: 1595
|
|
// (get) Token: 0x0600E005 RID: 57349 RVA: 0x0042A948 File Offset: 0x00428B48
|
|
public bool NAFMMILDKOO
|
|
{
|
|
get
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E006 RID: 57350 RVA: 0x0042A958 File Offset: 0x00428B58
|
|
public void MKJDPAGNNCL(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "time";
|
|
object[] array = new object[5];
|
|
array[0] = this.IJMEDGHLDFP;
|
|
array[0] = KPMMDGIAGPC.Length;
|
|
array[1] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 1, array2, 0, this.JEFHDMHEMAH * 3);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E007 RID: 57351 RVA: 0x0042AA04 File Offset: 0x00428C04
|
|
public void HCKKAHHGCGO(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (4 + MPBJHLCBJGK) * MMALNHHGFPC / 39 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 16 * MMALNHHGFPC / 153 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / -99 + this.PPKOOBNJICE;
|
|
this.IOAKCFKOJAO(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = true;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("Friendly Fire!", num, KNMCLNDOLJO, MMALNHHGFPC, false);
|
|
this.AGKKEIIHMLI = 1;
|
|
this.HNALBMLBAMN(0);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600E008 RID: 57352 RVA: 0x0042AAD4 File Offset: 0x00428CD4
|
|
public int HFAFBGGKGHC()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600E009 RID: 57353 RVA: 0x0042AADC File Offset: 0x00428CDC
|
|
public void KJMPKAGHHIE()
|
|
{
|
|
if (this.ECFENKBBJOK)
|
|
{
|
|
this.ECFENKBBJOK.Pause();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E00B RID: 57355 RVA: 0x0042AB08 File Offset: 0x00428D08
|
|
public int NLABEHCHHEJ()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600E00C RID: 57356 RVA: 0x0042AB10 File Offset: 0x00428D10
|
|
public void HLADMFFFENH()
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
while (this.HANHECCOHAE.Count > 0)
|
|
{
|
|
float[] array = this.HANHECCOHAE.Dequeue();
|
|
this.ECFENKBBJOK.clip.SetData(array, this.AGKKEIIHMLI % this.ECFENKBBJOK.clip.samples);
|
|
this.ICBKNBFMENI.Release(array);
|
|
this.AGKKEIIHMLI += array.Length / this.ECFENKBBJOK.clip.channels;
|
|
}
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.ECFENKBBJOK.timeSamples < this.KJIMHPAEOCK)
|
|
{
|
|
this.NJLKAOKNBPJ++;
|
|
}
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
int num = this.CJPBPJGEIKN();
|
|
this.CHKAPOOFAAI((this.NLABEHCHHEJ() * 10 + (this.AGKKEIIHMLI - num)) / -120);
|
|
this.KJAJHLIFMBH = num + this.HDEGCKHPLAP();
|
|
if (this.KJAJHLIFMBH > this.AGKKEIIHMLI)
|
|
{
|
|
this.KJAJHLIFMBH = this.AGKKEIIHMLI;
|
|
}
|
|
if (num < this.AGKKEIIHMLI - this.BIIJJENNBJF && !this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
this.ECFENKBBJOK.UnPause();
|
|
}
|
|
if (num > this.AGKKEIIHMLI - this.PPKOOBNJICE && this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text = "Check the sign for the next event";
|
|
object[] array2 = new object[5];
|
|
array2[1] = this.IJMEDGHLDFP;
|
|
array2[1] = num;
|
|
array2[5] = this.AGKKEIIHMLI;
|
|
array2[0] = this.KJAJHLIFMBH;
|
|
array2[2] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text, array2);
|
|
}
|
|
this.ECFENKBBJOK.Pause();
|
|
num = this.AGKKEIIHMLI;
|
|
this.OBJNKCONONO(num);
|
|
this.IOAKCFKOJAO(this.BIIJJENNBJF);
|
|
}
|
|
if (this.ECFENKBBJOK.isPlaying)
|
|
{
|
|
int num2 = this.AGKKEIIHMLI - this.BIIJJENNBJF - this.NGCPGMPCIHM;
|
|
if (num < num2)
|
|
{
|
|
if (this.IJGJIHFNJIC)
|
|
{
|
|
string text2 = "buffer error";
|
|
object[] array3 = new object[4];
|
|
array3[1] = this.IJMEDGHLDFP;
|
|
array3[1] = num;
|
|
array3[5] = this.AGKKEIIHMLI;
|
|
array3[8] = this.KJAJHLIFMBH;
|
|
array3[6] = this.AGKKEIIHMLI - num;
|
|
Debug.LogWarningFormat(text2, array3);
|
|
}
|
|
num = this.AGKKEIIHMLI - this.BIIJJENNBJF;
|
|
this.OFCJAIDOMCG(num);
|
|
this.IOAKCFKOJAO(this.BIIJJENNBJF);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E00D RID: 57357 RVA: 0x0042ADDC File Offset: 0x00428FDC
|
|
public int AHEBDBPCDJM()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600E00E RID: 57358 RVA: 0x0042ADE4 File Offset: 0x00428FE4
|
|
public void FPEFDADNNNC(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "Xp";
|
|
object[] array = new object[3];
|
|
array[0] = this.IJMEDGHLDFP;
|
|
array[1] = KPMMDGIAGPC.Length;
|
|
array[6] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 1, array2, 0, this.JEFHDMHEMAH * 7);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E00F RID: 57359 RVA: 0x0042AE90 File Offset: 0x00429090
|
|
public bool POPJNHHJCFC()
|
|
{
|
|
return this.ECFENKBBJOK.isPlaying;
|
|
}
|
|
|
|
// Token: 0x0600E010 RID: 57360 RVA: 0x0042AEA0 File Offset: 0x004290A0
|
|
public void BKHAFNDKCFH()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600E011 RID: 57361 RVA: 0x0042AEBC File Offset: 0x004290BC
|
|
private int EJMCIIMIGIB()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 1 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600E012 RID: 57362 RVA: 0x0042AF08 File Offset: 0x00429108
|
|
public void ANDEFIEGOMB(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "Teleport";
|
|
object[] array = new object[8];
|
|
array[0] = this.IJMEDGHLDFP;
|
|
array[1] = KPMMDGIAGPC.Length;
|
|
array[3] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 0, array2, 1, this.JEFHDMHEMAH * 4);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E013 RID: 57363 RVA: 0x0042AFB4 File Offset: 0x004291B4
|
|
public void INBIIDHINKC()
|
|
{
|
|
this.ECFENKBBJOK.Stop();
|
|
this.ECFENKBBJOK.clip = null;
|
|
}
|
|
|
|
// Token: 0x0600E014 RID: 57364 RVA: 0x0042AFD0 File Offset: 0x004291D0
|
|
private int CJPBPJGEIKN()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 1 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x0600E015 RID: 57365 RVA: 0x0042B01C File Offset: 0x0042921C
|
|
public int IJPALALLGMH()
|
|
{
|
|
return this.<ENLKGMCMLJD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600E016 RID: 57366 RVA: 0x0042B024 File Offset: 0x00429224
|
|
private void OCJAMJKHIDH(int NOBAPCOKFIL)
|
|
{
|
|
if (this.ECFENKBBJOK.clip != null)
|
|
{
|
|
int num = NOBAPCOKFIL % this.ECFENKBBJOK.clip.samples;
|
|
if (num < 1)
|
|
{
|
|
num += this.ECFENKBBJOK.clip.samples;
|
|
}
|
|
this.ECFENKBBJOK.timeSamples = num;
|
|
this.NJLKAOKNBPJ = NOBAPCOKFIL / this.ECFENKBBJOK.clip.samples;
|
|
this.KJIMHPAEOCK = this.ECFENKBBJOK.timeSamples;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E017 RID: 57367 RVA: 0x0042B0AC File Offset: 0x004292AC
|
|
public AudioSource JEPNBEMEHEI()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600E018 RID: 57368 RVA: 0x0042B0B4 File Offset: 0x004292B4
|
|
public AudioSource KGIBODONKPM()
|
|
{
|
|
return this.ECFENKBBJOK;
|
|
}
|
|
|
|
// Token: 0x0600E019 RID: 57369 RVA: 0x0042B0BC File Offset: 0x004292BC
|
|
public void IGIOGOMLOOO(float[] KPMMDGIAGPC)
|
|
{
|
|
if (KPMMDGIAGPC.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (KPMMDGIAGPC.Length != this.JEFHDMHEMAH)
|
|
{
|
|
string text = "X8";
|
|
object[] array = new object[] { this.IJMEDGHLDFP };
|
|
array[0] = KPMMDGIAGPC.Length;
|
|
array[7] = this.JEFHDMHEMAH;
|
|
Debug.LogErrorFormat(text, array);
|
|
return;
|
|
}
|
|
float[] array2 = this.ICBKNBFMENI.ANGEPMIBGOP();
|
|
Buffer.BlockCopy(KPMMDGIAGPC, 1, array2, 0, this.JEFHDMHEMAH * 3);
|
|
object hanheccohae = this.HANHECCOHAE;
|
|
lock (hanheccohae)
|
|
{
|
|
this.HANHECCOHAE.Enqueue(array2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E01A RID: 57370 RVA: 0x0042B168 File Offset: 0x00429368
|
|
public void NEOEKCJCKGP(int MMALNHHGFPC, int KNMCLNDOLJO, int PPKOOBNJICE, int MPBJHLCBJGK)
|
|
{
|
|
int num = (-28 + MPBJHLCBJGK) * MMALNHHGFPC / 38 + PPKOOBNJICE + MMALNHHGFPC;
|
|
this.PPKOOBNJICE = PPKOOBNJICE;
|
|
this.JEFHDMHEMAH = PPKOOBNJICE * KNMCLNDOLJO;
|
|
this.NGCPGMPCIHM = 0 * MMALNHHGFPC / 151 + this.PPKOOBNJICE;
|
|
this.BIIJJENNBJF = MPBJHLCBJGK * MMALNHHGFPC / -192 + this.PPKOOBNJICE;
|
|
this.FMFEBGIGJJO(this.BIIJJENNBJF);
|
|
this.KJAJHLIFMBH = this.BIIJJENNBJF;
|
|
this.ECFENKBBJOK.loop = false;
|
|
this.ECFENKBBJOK.clip = AudioClip.Create("el", num, KNMCLNDOLJO, MMALNHHGFPC, true);
|
|
this.AGKKEIIHMLI = 1;
|
|
this.OFCJAIDOMCG(1);
|
|
this.ECFENKBBJOK.Play();
|
|
this.ECFENKBBJOK.Pause();
|
|
this.ICBKNBFMENI.GBKFKKGNLGF(this.JEFHDMHEMAH);
|
|
}
|
|
|
|
// Token: 0x0600E01B RID: 57371 RVA: 0x0042B238 File Offset: 0x00429438
|
|
private int GDBJBEHDGCL()
|
|
{
|
|
return (!(this.ECFENKBBJOK.clip != null)) ? 0 : (this.NJLKAOKNBPJ * this.ECFENKBBJOK.clip.samples + this.ECFENKBBJOK.timeSamples);
|
|
}
|
|
|
|
// Token: 0x04002090 RID: 8336
|
|
private const int MKHHIKFBCBC = 100;
|
|
|
|
// Token: 0x04002091 RID: 8337
|
|
private int NGCPGMPCIHM;
|
|
|
|
// Token: 0x04002092 RID: 8338
|
|
private int BIIJJENNBJF;
|
|
|
|
// Token: 0x04002093 RID: 8339
|
|
private int JEFHDMHEMAH;
|
|
|
|
// Token: 0x04002094 RID: 8340
|
|
private int PPKOOBNJICE;
|
|
|
|
// Token: 0x04002095 RID: 8341
|
|
private int AGKKEIIHMLI;
|
|
|
|
// Token: 0x04002097 RID: 8343
|
|
private int KJAJHLIFMBH;
|
|
|
|
// Token: 0x04002098 RID: 8344
|
|
private AudioSource ECFENKBBJOK;
|
|
|
|
// Token: 0x04002099 RID: 8345
|
|
private string IJMEDGHLDFP;
|
|
|
|
// Token: 0x0400209A RID: 8346
|
|
private bool IJGJIHFNJIC;
|
|
|
|
// Token: 0x0400209B RID: 8347
|
|
private int KJIMHPAEOCK;
|
|
|
|
// Token: 0x0400209C RID: 8348
|
|
private int NJLKAOKNBPJ;
|
|
|
|
// Token: 0x0400209D RID: 8349
|
|
private Queue<float[]> HANHECCOHAE = new Queue<float[]>();
|
|
|
|
// Token: 0x0400209E RID: 8350
|
|
public const int JHFGAKPDKGP = 50;
|
|
|
|
// Token: 0x0400209F RID: 8351
|
|
private DNKIENDMPAC<float> ICBKNBFMENI = new DNKIENDMPAC<float>(50, "AudioStreamPlayer");
|
|
}
|