Files
2026-06-04 11:42:34 +02:00

2274 lines
98 KiB
C#

using System;
using System.Collections;
using System.Runtime.CompilerServices;
using RecNet;
using RecRoom.Storefronts;
using UnityEngine;
namespace RecRoom
{
// Token: 0x02000ED1 RID: 3793
public class TicketManager : SingletonMonoBehaviour<TicketManager>
{
// Token: 0x0601F634 RID: 128564 RVA: 0x0088DDD8 File Offset: 0x0088BFD8
private IEnumerator NEGOJNOLCKN(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
Quaternion quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
Vector3 eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
string text = string.Format(this.titleTemplate, "Tickets");
WorldSpaceNotification worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
string text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F635 RID: 128565 RVA: 0x0088DE18 File Offset: 0x0088C018
private static void PFAMCGDFCMK()
{
}
// Token: 0x0601F636 RID: 128566 RVA: 0x0088DE1C File Offset: 0x0088C01C
private static void PHCGBNOHGCH()
{
}
// Token: 0x17000E5F RID: 3679
// (get) Token: 0x0601F637 RID: 128567 RVA: 0x0088DE20 File Offset: 0x0088C020
public Collectible NEADEELOKJM
{
get
{
return this.collectableTicketPrefab;
}
}
// Token: 0x0601F638 RID: 128568 RVA: 0x0088DE28 File Offset: 0x0088C028
private static void MDDPOMCKNDM()
{
}
// Token: 0x0601F639 RID: 128569 RVA: 0x0088DE2C File Offset: 0x0088C02C
private static void FPIPJONHOBF()
{
}
// Token: 0x0601F63A RID: 128570 RVA: 0x0088DE30 File Offset: 0x0088C030
public Coroutine ACBMJHFDGEO(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.LKHIJCGHCNM(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F63B RID: 128571 RVA: 0x0088DE48 File Offset: 0x0088C048
public Coroutine MAJBCEJGLJI(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.PPNEAPKEIKK(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F63C RID: 128572 RVA: 0x0088DE60 File Offset: 0x0088C060
public Coroutine DPDHAJAACNI(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.NHANHBEHEDI(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F63D RID: 128573 RVA: 0x0088DE78 File Offset: 0x0088C078
private IEnumerator DFFFBHEDLKP(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
float num = EDDHBNGCLKJ.awardCountDuration;
float num2 = 0f;
int num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
int num4 = 0;
int num5 = 0;
int num6 = MPCANGFJPEE / num3;
string text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F63E RID: 128574 RVA: 0x0088DEC8 File Offset: 0x0088C0C8
private void KODDKONNPII(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.JOKEABHKBCA);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F63F RID: 128575 RVA: 0x0088DF24 File Offset: 0x0088C124
private IEnumerator BEEFNPECAED(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F640 RID: 128576 RVA: 0x0088DF74 File Offset: 0x0088C174
private IEnumerator IPJMMFKBFJM(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F641 RID: 128577 RVA: 0x0088DFB4 File Offset: 0x0088C1B4
private IEnumerator ECOJDKPEFOF(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F642 RID: 128578 RVA: 0x0088E004 File Offset: 0x0088C204
public Collectible ICHADDCHMPJ()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F643 RID: 128579 RVA: 0x0088E00C File Offset: 0x0088C20C
public Coroutine AwardGameCredits(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.BPJGKKKAMJC(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F644 RID: 128580 RVA: 0x0088E024 File Offset: 0x0088C224
private void PMCFPMMGBJN(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.ILCNFDNENLJ);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F645 RID: 128581 RVA: 0x0088E080 File Offset: 0x0088C280
public Coroutine HBDDMCHHNPN(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.ILEPIIAMHIA(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F646 RID: 128582 RVA: 0x0088E098 File Offset: 0x0088C298
private IEnumerator ILEPIIAMHIA(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F647 RID: 128583 RVA: 0x0088E0D8 File Offset: 0x0088C2D8
private static void DLBAAMCGOIM()
{
}
// Token: 0x0601F648 RID: 128584 RVA: 0x0088E0DC File Offset: 0x0088C2DC
private static void IAGLAHBJKKO()
{
}
// Token: 0x0601F649 RID: 128585 RVA: 0x0088E0E0 File Offset: 0x0088C2E0
private IEnumerator JHMJAJAJMNJ(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F64A RID: 128586 RVA: 0x0088E120 File Offset: 0x0088C320
private static void HOPMKEEEMHG()
{
}
// Token: 0x0601F64B RID: 128587 RVA: 0x0088E124 File Offset: 0x0088C324
private void GCFKIEHHJND(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = false;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.NHMIAHENNIF);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F64C RID: 128588 RVA: 0x0088E180 File Offset: 0x0088C380
private IEnumerator NDPEDIKFHHB(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F64D RID: 128589 RVA: 0x0088E1D0 File Offset: 0x0088C3D0
public Collectible HNDJBJFBLDN()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F64E RID: 128590 RVA: 0x0088E1D8 File Offset: 0x0088C3D8
private void NFODHNIPPDN(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.AFNCBCBDMPL);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F64F RID: 128591 RVA: 0x0088E234 File Offset: 0x0088C434
[CompilerGenerated]
private static void HEGNGDPFPJM()
{
}
// Token: 0x0601F650 RID: 128592 RVA: 0x0088E238 File Offset: 0x0088C438
private IEnumerator NHANHBEHEDI(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F651 RID: 128593 RVA: 0x0088E278 File Offset: 0x0088C478
private static void FDKFBBCCIBP()
{
}
// Token: 0x0601F652 RID: 128594 RVA: 0x0088E27C File Offset: 0x0088C47C
public Collectible CKBFAJHCPHD()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F653 RID: 128595 RVA: 0x0088E284 File Offset: 0x0088C484
private void HDMFFCLHGAD(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.HEGNGDPFPJM);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F654 RID: 128596 RVA: 0x0088E2E0 File Offset: 0x0088C4E0
public Coroutine MOIOFFDGJHG(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.NEGOJNOLCKN(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F655 RID: 128597 RVA: 0x0088E2F8 File Offset: 0x0088C4F8
private void LKAGFMPGKGL(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.HEGNGDPFPJM);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F656 RID: 128598 RVA: 0x0088E354 File Offset: 0x0088C554
private IEnumerator EIPJBFOGOJL(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F657 RID: 128599 RVA: 0x0088E3A4 File Offset: 0x0088C5A4
private void KKKAJFFMBFG(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = false;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.PMPCAEEBLHI);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F658 RID: 128600 RVA: 0x0088E400 File Offset: 0x0088C600
private void GJOBBGJGFMA(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = false;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.AFNCBCBDMPL);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F659 RID: 128601 RVA: 0x0088E45C File Offset: 0x0088C65C
public Collectible AIAJCLLIMBN()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F65A RID: 128602 RVA: 0x0088E464 File Offset: 0x0088C664
public Coroutine LLCHNELFFII(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.PPNEAPKEIKK(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F65B RID: 128603 RVA: 0x0088E47C File Offset: 0x0088C67C
public Coroutine HIDBOOJNFNN(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.MNPCLOLMDLI(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F65C RID: 128604 RVA: 0x0088E494 File Offset: 0x0088C694
private static void PFGIPLOPDMI()
{
}
// Token: 0x0601F65D RID: 128605 RVA: 0x0088E498 File Offset: 0x0088C698
private IEnumerator CBKIBCFKKLO(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F65E RID: 128606 RVA: 0x0088E4E8 File Offset: 0x0088C6E8
private IEnumerator LKHIJCGHCNM(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F65F RID: 128607 RVA: 0x0088E528 File Offset: 0x0088C728
private static void JOKEABHKBCA()
{
}
// Token: 0x0601F660 RID: 128608 RVA: 0x0088E52C File Offset: 0x0088C72C
private IEnumerator MBBNDBEACMI(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F661 RID: 128609 RVA: 0x0088E56C File Offset: 0x0088C76C
public Collectible KENNHENEJMA()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F662 RID: 128610 RVA: 0x0088E574 File Offset: 0x0088C774
private IEnumerator JICKBFEODCB(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F663 RID: 128611 RVA: 0x0088E5C4 File Offset: 0x0088C7C4
public Coroutine AHGENJFGLFO(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.JCCPJPCGCBL(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F664 RID: 128612 RVA: 0x0088E5DC File Offset: 0x0088C7DC
private void OKFBPKEOPDI(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.PHCGBNOHGCH);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F665 RID: 128613 RVA: 0x0088E638 File Offset: 0x0088C838
public Collectible FNNCPLEEHDC()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F666 RID: 128614 RVA: 0x0088E640 File Offset: 0x0088C840
public Coroutine PNHFOHFOEGL(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.JHMJAJAJMNJ(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F667 RID: 128615 RVA: 0x0088E658 File Offset: 0x0088C858
private IEnumerator MJDNCBBIBDH(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F668 RID: 128616 RVA: 0x0088E6A8 File Offset: 0x0088C8A8
private static void CAJAMAPDEDI()
{
}
// Token: 0x0601F669 RID: 128617 RVA: 0x0088E6AC File Offset: 0x0088C8AC
private IEnumerator PFBFBNGBNPA(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F66A RID: 128618 RVA: 0x0088E6FC File Offset: 0x0088C8FC
private IEnumerator MNIKIOGBLJK(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F66B RID: 128619 RVA: 0x0088E74C File Offset: 0x0088C94C
public Coroutine JILBDCBFAMN(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.PPNEAPKEIKK(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F66C RID: 128620 RVA: 0x0088E764 File Offset: 0x0088C964
private static void DJMCAJKODEE()
{
}
// Token: 0x0601F66D RID: 128621 RVA: 0x0088E768 File Offset: 0x0088C968
public Coroutine PEPJEBMMFON(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.IPCBEPJCEBP(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F66E RID: 128622 RVA: 0x0088E780 File Offset: 0x0088C980
private void PPBLMKKCBOJ(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = false;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.HEGNGDPFPJM);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F66F RID: 128623 RVA: 0x0088E7DC File Offset: 0x0088C9DC
public Collectible EHPAKDOFMCO()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F670 RID: 128624 RVA: 0x0088E7E4 File Offset: 0x0088C9E4
private IEnumerator JCCPJPCGCBL(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F671 RID: 128625 RVA: 0x0088E824 File Offset: 0x0088CA24
private void APDKOMIEIKO(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.HEGNGDPFPJM);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F672 RID: 128626 RVA: 0x0088E880 File Offset: 0x0088CA80
private static void GFKDDDDOLKC()
{
}
// Token: 0x0601F673 RID: 128627 RVA: 0x0088E884 File Offset: 0x0088CA84
public Collectible ANMPGHMCIEP()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F674 RID: 128628 RVA: 0x0088E88C File Offset: 0x0088CA8C
public Collectible BPGACLMNMBD()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F675 RID: 128629 RVA: 0x0088E894 File Offset: 0x0088CA94
private void DDKAHHIEGGP(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.GOJPCEEPCIL);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F676 RID: 128630 RVA: 0x0088E8F0 File Offset: 0x0088CAF0
private IEnumerator LKBOKCGGIMC(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F677 RID: 128631 RVA: 0x0088E930 File Offset: 0x0088CB30
private static void EBJJPPMAJMK()
{
}
// Token: 0x0601F678 RID: 128632 RVA: 0x0088E934 File Offset: 0x0088CB34
private static void HCONMFNNOEI()
{
}
// Token: 0x0601F679 RID: 128633 RVA: 0x0088E938 File Offset: 0x0088CB38
private void IJKEHDDBPIN(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.JOKEABHKBCA);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F67A RID: 128634 RVA: 0x0088E994 File Offset: 0x0088CB94
private IEnumerator HLLMNANIBNB(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F67B RID: 128635 RVA: 0x0088E9E4 File Offset: 0x0088CBE4
public Coroutine AILCFKPOFOA(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.NEGOJNOLCKN(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F67C RID: 128636 RVA: 0x0088E9FC File Offset: 0x0088CBFC
private IEnumerator IPCBEPJCEBP(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F67D RID: 128637 RVA: 0x0088EA3C File Offset: 0x0088CC3C
private IEnumerator DNEGEJAGOJE(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F67E RID: 128638 RVA: 0x0088EA8C File Offset: 0x0088CC8C
private IEnumerator AIDKFJDGCJI(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F67F RID: 128639 RVA: 0x0088EADC File Offset: 0x0088CCDC
private IEnumerator BPJGKKKAMJC(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F680 RID: 128640 RVA: 0x0088EB1C File Offset: 0x0088CD1C
private void PKJKDGCJLNF(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.BDMONDNHDPO);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F681 RID: 128641 RVA: 0x0088EB78 File Offset: 0x0088CD78
private void CHGEHABKACG(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.MDDPOMCKNDM);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F682 RID: 128642 RVA: 0x0088EBD4 File Offset: 0x0088CDD4
private IEnumerator DCLDKBCCJPG(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F683 RID: 128643 RVA: 0x0088EC24 File Offset: 0x0088CE24
private IEnumerator CDKLFILAJEC(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F684 RID: 128644 RVA: 0x0088EC74 File Offset: 0x0088CE74
private void HFJDCNPCAED(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.AFNCBCBDMPL);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F685 RID: 128645 RVA: 0x0088ECD0 File Offset: 0x0088CED0
private static void ILCNFDNENLJ()
{
}
// Token: 0x0601F686 RID: 128646 RVA: 0x0088ECD4 File Offset: 0x0088CED4
public Coroutine LHFLMPNNKNH(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.MBBNDBEACMI(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F687 RID: 128647 RVA: 0x0088ECEC File Offset: 0x0088CEEC
public Collectible GAMDAGLMJEK()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F688 RID: 128648 RVA: 0x0088ECF4 File Offset: 0x0088CEF4
private IEnumerator NNEMILIMNMK(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F689 RID: 128649 RVA: 0x0088ED44 File Offset: 0x0088CF44
private void APBDAHFMACD(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = false;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.DJMCAJKODEE);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F68A RID: 128650 RVA: 0x0088EDA0 File Offset: 0x0088CFA0
public Coroutine OBIAEPNDCBB(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.NEGOJNOLCKN(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F68B RID: 128651 RVA: 0x0088EDB8 File Offset: 0x0088CFB8
private IEnumerator PPNEAPKEIKK(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F68C RID: 128652 RVA: 0x0088EDF8 File Offset: 0x0088CFF8
private IEnumerator COPPAKKEIHN(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F68D RID: 128653 RVA: 0x0088EE48 File Offset: 0x0088D048
private IEnumerator HGAAKGKLNKH(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F68E RID: 128654 RVA: 0x0088EE98 File Offset: 0x0088D098
private static void PMPCAEEBLHI()
{
}
// Token: 0x0601F68F RID: 128655 RVA: 0x0088EE9C File Offset: 0x0088D09C
public Coroutine KCJJPJKJKJI(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
return base.StartCoroutine(this.FECHJJBPBHD(LOINBMIKPGA, FPPKDKAKHBD, LACFEKEHDCL, CLCCABINKHB, CLPIDGENLHJ));
}
// Token: 0x0601F690 RID: 128656 RVA: 0x0088EEB4 File Offset: 0x0088D0B4
private IEnumerator JKAOEGABKDC(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F691 RID: 128657 RVA: 0x0088EF04 File Offset: 0x0088D104
private static void BDMONDNHDPO()
{
}
// Token: 0x0601F692 RID: 128658 RVA: 0x0088EF08 File Offset: 0x0088D108
private IEnumerator FECHJJBPBHD(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F693 RID: 128659 RVA: 0x0088EF48 File Offset: 0x0088D148
private IEnumerator MNPCLOLMDLI(int LOINBMIKPGA, int FPPKDKAKHBD, int LACFEKEHDCL, int CLCCABINKHB, IICACCMPGKH.HBFHNBJCDKD CLPIDGENLHJ)
{
if (Player.LocalPlayer.ONCLKAJIHGK)
{
if (TicketManager.DKFCHMMLLEH.DINNJGHCFHI == null)
{
TicketManager.DKFCHMMLLEH.DINNJGHCFHI = new Func<bool>(TicketManager.DKFCHMMLLEH.OJKNBNGGBEC);
}
yield return new WaitUntil(TicketManager.DKFCHMMLLEH.DINNJGHCFHI);
yield return new WaitForSeconds(this.postSpawnDelay);
}
quaternion = Player.LocalPlayer.NGFPOMIFLMF.transform.rotation;
eulerAngles = quaternion.eulerAngles;
quaternion = Quaternion.Euler(0f, eulerAngles.y, eulerAngles.z);
vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + quaternion * Vector3.forward * 1.6f;
text = string.Format(this.titleTemplate, "Tickets");
worldSpaceNotification = WorldSpaceNotification.PlayNext(text, 5f, null, false, new Vector3?(vector), 0.9f, true);
yield return this.JKAOEGABKDC(worldSpaceNotification, string.Empty, LOINBMIKPGA, 0, vector, quaternion, this.baseAwardNotificationTimings);
yield return new WaitForSeconds(this.postBaseAwardDelay);
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)LOINBMIKPGA, "Ticket"));
if (FPPKDKAKHBD > 0)
{
text2 = string.Format(this.bonusSubtitleTemplate, LACFEKEHDCL, CLCCABINKHB);
worldSpaceNotification.RefreshNotificationText(text, 3f, text2);
yield return this.JKAOEGABKDC(worldSpaceNotification, text2, FPPKDKAKHBD, LOINBMIKPGA, vector, quaternion, this.bonusAwardNotificationTimings);
}
else if (CLPIDGENLHJ == IICACCMPGKH.HBFHNBJCDKD.WonGameRateLimited)
{
worldSpaceNotification.RefreshNotificationText(text, 3f, this.awardNoDailySubtitle);
}
yield return new WaitForSeconds(this.preFinishAudioDelay);
AudioManager.Play3DSFX(this.celebrationFinishAudio, vector, null);
yield break;
}
// Token: 0x0601F695 RID: 128661 RVA: 0x0088EFF0 File Offset: 0x0088D1F0
private static void GGLGOKHFOHM()
{
}
// Token: 0x0601F696 RID: 128662 RVA: 0x0088EFF4 File Offset: 0x0088D1F4
private static void NHMIAHENNIF()
{
}
// Token: 0x0601F697 RID: 128663 RVA: 0x0088EFF8 File Offset: 0x0088D1F8
private static void GOJPCEEPCIL()
{
}
// Token: 0x0601F698 RID: 128664 RVA: 0x0088EFFC File Offset: 0x0088D1FC
public Collectible HJADKAEBGDH()
{
return this.collectableTicketPrefab;
}
// Token: 0x0601F699 RID: 128665 RVA: 0x0088F004 File Offset: 0x0088D204
private void CJEHMDAHFIG(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = false;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.PFGIPLOPDMI);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F69A RID: 128666 RVA: 0x0088F060 File Offset: 0x0088D260
private IEnumerator OKHCJPNODGH(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F69B RID: 128667 RVA: 0x0088F0B0 File Offset: 0x0088D2B0
private IEnumerator HMHGKDBBJHE(WorldSpaceNotification BDELLKLCPMJ, string MAAALODLHPB, int MPCANGFJPEE, int DBOLCNMDCFE, Vector3 CIFHNCGLFKB, Quaternion IJGPPOIJDKO, TicketManager.NotificationTimings EDDHBNGCLKJ)
{
if (this.celebrateParticlePrefab != null)
{
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle != null)
{
pooledParticle.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.right * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
PooledParticle pooledParticle2 = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.celebrateParticlePrefab);
if (pooledParticle2 != null)
{
pooledParticle2.Play(CIFHNCGLFKB + IJGPPOIJDKO * Vector3.left * this.celebrateParticleSpacing, IJGPPOIJDKO, false);
}
}
AudioManager.Play3DSFX(EDDHBNGCLKJ.celebrationStartAudio, CIFHNCGLFKB, null);
yield return new WaitForSeconds(EDDHBNGCLKJ.preCollectableDelay);
this.LKAGFMPGKGL(CIFHNCGLFKB, MPCANGFJPEE, EDDHBNGCLKJ.collectableSpawnDuration);
yield return new WaitForSeconds(EDDHBNGCLKJ.postCollectableDelay);
num = EDDHBNGCLKJ.awardCountDuration;
num2 = 0f;
num3 = Mathf.CeilToInt(num / EDDHBNGCLKJ.awardCountTickFrequency);
num4 = 0;
num5 = 0;
num6 = MPCANGFJPEE / num3;
text = string.Empty;
while (num > 0f)
{
num2 += Time.deltaTime;
if (num2 >= EDDHBNGCLKJ.awardCountTickFrequency)
{
num -= num2;
num2 = 0f;
num4++;
this.countingTicketsAudioClip.pitchShift = (float)num4 * 0.6f / (float)num3;
AudioManager.Play3DSFX(this.countingTicketsAudioClip, CIFHNCGLFKB, null);
num5 += num6;
if (num5 > MPCANGFJPEE)
{
break;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + num5), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
}
yield return null;
}
text = string.Format(this.titleTemplate, Storefront.ToTicketString((long)(DBOLCNMDCFE + MPCANGFJPEE), "Ticket"));
BDELLKLCPMJ.RefreshNotificationText(text, 3f, MAAALODLHPB);
yield break;
}
// Token: 0x0601F69C RID: 128668 RVA: 0x0088F100 File Offset: 0x0088D300
private void HOEFONDNHFN(Vector3 CIFHNCGLFKB, int MKMDOLMHFLG, float DMKCHFGMPGJ)
{
AudioManager.Play3DSFX(this.dispensingCollectablesAudioClip, CIFHNCGLFKB, null);
Collectible collectible = this.collectableTicketPrefab;
int conofebimbd = this.CONOFEBIMBD;
Player localPlayer = Player.LocalPlayer;
bool flag = true;
if (TicketManager.DINNJGHCFHI == null)
{
TicketManager.DINNJGHCFHI = new Action(TicketManager.PHCGBNOHGCH);
}
base.StartCoroutine(Collectible.SpawnStaggeredCollectibleGroup(collectible, MKMDOLMHFLG, conofebimbd, CIFHNCGLFKB, localPlayer, flag, DMKCHFGMPGJ, TicketManager.DINNJGHCFHI));
}
// Token: 0x0601F69D RID: 128669 RVA: 0x0088F15C File Offset: 0x0088D35C
private static void AFNCBCBDMPL()
{
}
// Token: 0x04005156 RID: 20822
[SerializeField]
[Header("Award Timings")]
private TicketManager.NotificationTimings baseAwardNotificationTimings;
// Token: 0x04005157 RID: 20823
[SerializeField]
private TicketManager.NotificationTimings bonusAwardNotificationTimings;
// Token: 0x04005158 RID: 20824
[SerializeField]
private float postSpawnDelay = 0.5f;
// Token: 0x04005159 RID: 20825
[SerializeField]
private float postBaseAwardDelay = 0.65f;
// Token: 0x0400515A RID: 20826
[SerializeField]
public float preFinishAudioDelay = 0.5f;
// Token: 0x0400515B RID: 20827
[Header("Texts")]
[SerializeField]
private string bonusSubtitleTemplate = "Daily bonus {0}/{1}";
// Token: 0x0400515C RID: 20828
[SerializeField]
private string awardNoDailySubtitle = "Daily bonus complete";
// Token: 0x0400515D RID: 20829
[SerializeField]
private string titleTemplate = "You've won {0}";
// Token: 0x0400515E RID: 20830
[SerializeField]
[Header("Collectables")]
private Collectible collectableTicketPrefab;
// Token: 0x0400515F RID: 20831
[Header("Particles")]
[SerializeField]
private PooledParticle celebrateParticlePrefab;
// Token: 0x04005160 RID: 20832
[SerializeField]
private float celebrateParticleSpacing = 0.4f;
// Token: 0x04005161 RID: 20833
[SerializeField]
[Header("Audio")]
private RecRoomAudioClip celebrationFinishAudio;
// Token: 0x04005162 RID: 20834
[SerializeField]
private RecRoomAudioClip dispensingCollectablesAudioClip;
// Token: 0x04005163 RID: 20835
[SerializeField]
private RecRoomAudioClip countingTicketsAudioClip;
// Token: 0x04005164 RID: 20836
private int CONOFEBIMBD = 1;
// Token: 0x04005165 RID: 20837
[CompilerGenerated]
private static Action DINNJGHCFHI;
// Token: 0x02000ED2 RID: 3794
[Serializable]
public struct NotificationTimings
{
// Token: 0x04005166 RID: 20838
public float preCollectableDelay;
// Token: 0x04005167 RID: 20839
public float collectableSpawnDuration;
// Token: 0x04005168 RID: 20840
public float postCollectableDelay;
// Token: 0x04005169 RID: 20841
public float awardCountDuration;
// Token: 0x0400516A RID: 20842
public float awardCountTickFrequency;
// Token: 0x0400516B RID: 20843
public RecRoomAudioClip celebrationStartAudio;
}
}
}