using System; using RecNet; using RecRoom; using UnityEngine; using UnityEngine.UI; // Token: 0x02001225 RID: 4645 [RequireComponent(typeof(PlayerSpecificUIBehaviour))] public class PlayerSpecificCheerBadges : MonoBehaviour { // Token: 0x06027E5F RID: 163423 RVA: 0x00B1C944 File Offset: 0x00B1AB44 protected PlayerSpecificUIBehaviour IDJFIDDCIHB() { return this.playerWatcher; } // Token: 0x06027E60 RID: 163424 RVA: 0x00B1C94C File Offset: 0x00B1AB4C protected virtual void ABFMBPJPIPE() { this.GMAGKEKKGEM(); } // Token: 0x06027E61 RID: 163425 RVA: 0x00B1C954 File Offset: 0x00B1AB54 protected virtual void NJOCMEGFEAG() { this.GMAGKEKKGEM(); } // Token: 0x06027E62 RID: 163426 RVA: 0x00B1C95C File Offset: 0x00B1AB5C private void KKBAINBHLCK() { this.cheerBadge_General.gameObject.SetActive(false); this.cheerBadge_Helpful.gameObject.SetActive(false); this.cheerBadge_Sportsman.gameObject.SetActive(false); this.cheerBadge_GreatHost.gameObject.SetActive(false); this.cheerBadge_Creative.gameObject.SetActive(false); if (this.playerWatcher.NAJBCPFNBAB != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(this.playerWatcher.NAJBCPFNBAB.Value); if (eebplecpegd != null) { if (eebplecpegd.HOLNFPNKNGB.DPFOPFKIHPN > 0) { this.cheerBadge_General.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.HACILGPCILI > 0) { this.cheerBadge_Helpful.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.LPDJLLMFGJH > 0) { this.cheerBadge_Sportsman.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.MGJPCMPKEHE > 0) { this.cheerBadge_GreatHost.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.EKMADHEBDPI > 0) { this.cheerBadge_Creative.gameObject.SetActive(true); } } } } // Token: 0x06027E63 RID: 163427 RVA: 0x00B1CAA0 File Offset: 0x00B1ACA0 protected virtual void PPCCKMMADGK() { if (this.playerWatcher != null) { this.playerWatcher.KKBAINBHLCK -= this.MNFEIKGBIOA; } } // Token: 0x06027E64 RID: 163428 RVA: 0x00B1CACC File Offset: 0x00B1ACCC protected virtual void OnDestroy() { if (this.playerWatcher != null) { this.playerWatcher.KKBAINBHLCK -= this.KKBAINBHLCK; } } // Token: 0x06027E65 RID: 163429 RVA: 0x00B1CAF8 File Offset: 0x00B1ACF8 protected virtual void Awake() { this.playerWatcher = base.GetComponent(); this.playerWatcher.KKBAINBHLCK += this.KKBAINBHLCK; } // Token: 0x06027E66 RID: 163430 RVA: 0x00B1CB20 File Offset: 0x00B1AD20 protected virtual void FMPFANDFGIP() { if (this.playerWatcher != null) { this.playerWatcher.KKBAINBHLCK -= this.EPPDECDJDAK; } } // Token: 0x06027E67 RID: 163431 RVA: 0x00B1CB4C File Offset: 0x00B1AD4C protected virtual void BDKMGEHDIIH() { this.playerWatcher = base.GetComponent(); this.playerWatcher.JNECEJBEIFL(new Action(this.EPPDECDJDAK)); } // Token: 0x06027E68 RID: 163432 RVA: 0x00B1CB74 File Offset: 0x00B1AD74 private void EPPDECDJDAK() { this.cheerBadge_General.gameObject.SetActive(true); this.cheerBadge_Helpful.gameObject.SetActive(false); this.cheerBadge_Sportsman.gameObject.SetActive(false); this.cheerBadge_GreatHost.gameObject.SetActive(true); this.cheerBadge_Creative.gameObject.SetActive(true); if (this.playerWatcher.ICDMMMDEHLO() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(this.playerWatcher.JFFNNICEAIJ().Value); if (eebplecpegd != null) { if (eebplecpegd.FADLBKAKHEL().GMIJNDIFGBK() > 1) { this.cheerBadge_General.gameObject.SetActive(false); } if (eebplecpegd.HOLNFPNKNGB.HACILGPCILI > 0) { this.cheerBadge_Helpful.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().LOCKCJPFFLG() > 0) { this.cheerBadge_Sportsman.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().HFCDNKDBGGN() > 0) { this.cheerBadge_GreatHost.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().IBPPBOHOJLC() > 0) { this.cheerBadge_Creative.gameObject.SetActive(false); } } } } // Token: 0x06027E69 RID: 163433 RVA: 0x00B1CCB8 File Offset: 0x00B1AEB8 protected virtual void ILLNBMHNHNI() { this.GMAGKEKKGEM(); } // Token: 0x06027E6A RID: 163434 RVA: 0x00B1CCC0 File Offset: 0x00B1AEC0 protected virtual void CHHOKIFAEDF() { if (this.playerWatcher != null) { this.playerWatcher.OMLJNAINNID(new Action(this.HNILFOMMLCC)); } } // Token: 0x06027E6B RID: 163435 RVA: 0x00B1CCEC File Offset: 0x00B1AEEC protected virtual void AHLMADACOLB() { this.playerWatcher = base.GetComponent(); this.playerWatcher.KKBAINBHLCK += this.PCHAPFBLCJA; } // Token: 0x06027E6C RID: 163436 RVA: 0x00B1CD14 File Offset: 0x00B1AF14 protected virtual void AGDGJOLCPDL() { this.HNILFOMMLCC(); } // Token: 0x06027E6D RID: 163437 RVA: 0x00B1CD1C File Offset: 0x00B1AF1C private void PCHAPFBLCJA() { this.cheerBadge_General.gameObject.SetActive(false); this.cheerBadge_Helpful.gameObject.SetActive(false); this.cheerBadge_Sportsman.gameObject.SetActive(false); this.cheerBadge_GreatHost.gameObject.SetActive(true); this.cheerBadge_Creative.gameObject.SetActive(false); if (this.playerWatcher.JFFNNICEAIJ() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(this.playerWatcher.JFFNNICEAIJ().Value); if (eebplecpegd != null) { if (eebplecpegd.HOLNFPNKNGB.BJKPPNFAJIH() > 1) { this.cheerBadge_General.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().HAJODPFPGOI() > 0) { this.cheerBadge_Helpful.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().LPDJLLMFGJH > 1) { this.cheerBadge_Sportsman.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().BEGDINIKPOP() > 1) { this.cheerBadge_GreatHost.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().GMBMCBDIMEI() > 0) { this.cheerBadge_Creative.gameObject.SetActive(true); } } } } // Token: 0x06027E6E RID: 163438 RVA: 0x00B1CE60 File Offset: 0x00B1B060 protected virtual void OnEnable() { this.KKBAINBHLCK(); } // Token: 0x06027E6F RID: 163439 RVA: 0x00B1CE68 File Offset: 0x00B1B068 protected virtual void BFHHJINKJBH() { this.MFEBMBGBDCJ(); } // Token: 0x06027E70 RID: 163440 RVA: 0x00B1CE70 File Offset: 0x00B1B070 protected virtual void OFFIMPEKLCL() { if (this.playerWatcher != null) { this.playerWatcher.KKBAINBHLCK -= this.EPPDECDJDAK; } } // Token: 0x06027E71 RID: 163441 RVA: 0x00B1CE9C File Offset: 0x00B1B09C protected PlayerSpecificUIBehaviour DLEBELLFPGC() { return this.playerWatcher; } // Token: 0x06027E72 RID: 163442 RVA: 0x00B1CEA4 File Offset: 0x00B1B0A4 private void MFEBMBGBDCJ() { this.cheerBadge_General.gameObject.SetActive(true); this.cheerBadge_Helpful.gameObject.SetActive(true); this.cheerBadge_Sportsman.gameObject.SetActive(false); this.cheerBadge_GreatHost.gameObject.SetActive(true); this.cheerBadge_Creative.gameObject.SetActive(true); if (this.playerWatcher.GDINIDIFDBE() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(this.playerWatcher.JFFNNICEAIJ().Value); if (eebplecpegd != null) { if (eebplecpegd.FADLBKAKHEL().JOJBLEEGKHL() > 1) { this.cheerBadge_General.gameObject.SetActive(false); } if (eebplecpegd.HOLNFPNKNGB.HAJODPFPGOI() > 1) { this.cheerBadge_Helpful.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.OCNEKFBIDEK() > 0) { this.cheerBadge_Sportsman.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.MGJPCMPKEHE > 0) { this.cheerBadge_GreatHost.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().IBPPBOHOJLC() > 1) { this.cheerBadge_Creative.gameObject.SetActive(true); } } } } // Token: 0x06027E73 RID: 163443 RVA: 0x00B1CFE8 File Offset: 0x00B1B1E8 private void BFGHAAPDIJC() { this.cheerBadge_General.gameObject.SetActive(false); this.cheerBadge_Helpful.gameObject.SetActive(false); this.cheerBadge_Sportsman.gameObject.SetActive(false); this.cheerBadge_GreatHost.gameObject.SetActive(true); this.cheerBadge_Creative.gameObject.SetActive(false); if (this.playerWatcher.JFFNNICEAIJ() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.LBEOGKBEFJD(this.playerWatcher.ICDMMMDEHLO().Value); if (eebplecpegd != null) { if (eebplecpegd.FADLBKAKHEL().BAEMJHENKMI() > 0) { this.cheerBadge_General.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().HACILGPCILI > 0) { this.cheerBadge_Helpful.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.HBMLAGCGKHA() > 1) { this.cheerBadge_Sportsman.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.BPJAAKDPJNE() > 1) { this.cheerBadge_GreatHost.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.MOPEBIGFOFI() > 0) { this.cheerBadge_Creative.gameObject.SetActive(true); } } } } // Token: 0x170011F8 RID: 4600 // (get) Token: 0x06027E74 RID: 163444 RVA: 0x00B1D12C File Offset: 0x00B1B32C protected PlayerSpecificUIBehaviour EOGBHDBIGNE { get { return this.playerWatcher; } } // Token: 0x06027E75 RID: 163445 RVA: 0x00B1D134 File Offset: 0x00B1B334 protected PlayerSpecificUIBehaviour KKFNADBBHOF() { return this.playerWatcher; } // Token: 0x06027E77 RID: 163447 RVA: 0x00B1D144 File Offset: 0x00B1B344 private void HNILFOMMLCC() { this.cheerBadge_General.gameObject.SetActive(true); this.cheerBadge_Helpful.gameObject.SetActive(true); this.cheerBadge_Sportsman.gameObject.SetActive(true); this.cheerBadge_GreatHost.gameObject.SetActive(false); this.cheerBadge_Creative.gameObject.SetActive(true); if (this.playerWatcher.GDINIDIFDBE() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.GJNOBDENGJL(this.playerWatcher.GDINIDIFDBE().Value); if (eebplecpegd != null) { if (eebplecpegd.HOLNFPNKNGB.BJKPPNFAJIH() > 1) { this.cheerBadge_General.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().PLJIBHPKAME() > 0) { this.cheerBadge_Helpful.gameObject.SetActive(false); } if (eebplecpegd.HOLNFPNKNGB.JOCFIFGIJKK() > 0) { this.cheerBadge_Sportsman.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.LAOFEPEPJDI() > 0) { this.cheerBadge_GreatHost.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().EKMADHEBDPI > 0) { this.cheerBadge_Creative.gameObject.SetActive(false); } } } } // Token: 0x06027E78 RID: 163448 RVA: 0x00B1D288 File Offset: 0x00B1B488 protected virtual void ACOKDCDBNHM() { if (this.playerWatcher != null) { this.playerWatcher.BKMAHOEHFAD(new Action(this.GMAGKEKKGEM)); } } // Token: 0x06027E79 RID: 163449 RVA: 0x00B1D2B4 File Offset: 0x00B1B4B4 protected virtual void AKBMLDPIIKM() { this.BFGHAAPDIJC(); } // Token: 0x06027E7A RID: 163450 RVA: 0x00B1D2BC File Offset: 0x00B1B4BC private void MNFEIKGBIOA() { this.cheerBadge_General.gameObject.SetActive(false); this.cheerBadge_Helpful.gameObject.SetActive(false); this.cheerBadge_Sportsman.gameObject.SetActive(true); this.cheerBadge_GreatHost.gameObject.SetActive(true); this.cheerBadge_Creative.gameObject.SetActive(false); if (this.playerWatcher.ICDMMMDEHLO() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.LBEOGKBEFJD(this.playerWatcher.ICDMMMDEHLO().Value); if (eebplecpegd != null) { if (eebplecpegd.HOLNFPNKNGB.DPFOPFKIHPN > 0) { this.cheerBadge_General.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().DOKJFKGDDMA() > 1) { this.cheerBadge_Helpful.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.JOCFIFGIJKK() > 0) { this.cheerBadge_Sportsman.gameObject.SetActive(false); } if (eebplecpegd.HOLNFPNKNGB.EJNAOLIIKAI() > 1) { this.cheerBadge_GreatHost.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().BHFNPMDKCHE() > 1) { this.cheerBadge_Creative.gameObject.SetActive(false); } } } } // Token: 0x06027E7B RID: 163451 RVA: 0x00B1D400 File Offset: 0x00B1B600 protected virtual void LFEBHHFENDK() { if (this.playerWatcher != null) { this.playerWatcher.OMLJNAINNID(new Action(this.PCHAPFBLCJA)); } } // Token: 0x06027E7C RID: 163452 RVA: 0x00B1D42C File Offset: 0x00B1B62C protected virtual void OLEBPMMFNIF() { this.playerWatcher = base.GetComponent(); this.playerWatcher.JNECEJBEIFL(new Action(this.KKBAINBHLCK)); } // Token: 0x06027E7D RID: 163453 RVA: 0x00B1D454 File Offset: 0x00B1B654 protected PlayerSpecificUIBehaviour MPEGCPICGHO() { return this.playerWatcher; } // Token: 0x06027E7E RID: 163454 RVA: 0x00B1D45C File Offset: 0x00B1B65C private void GMAGKEKKGEM() { this.cheerBadge_General.gameObject.SetActive(false); this.cheerBadge_Helpful.gameObject.SetActive(false); this.cheerBadge_Sportsman.gameObject.SetActive(true); this.cheerBadge_GreatHost.gameObject.SetActive(false); this.cheerBadge_Creative.gameObject.SetActive(false); if (this.playerWatcher.GDINIDIFDBE() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.GJNOBDENGJL(this.playerWatcher.JFFNNICEAIJ().Value); if (eebplecpegd != null) { if (eebplecpegd.FADLBKAKHEL().GBDELEMJNOJ() > 1) { this.cheerBadge_General.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.PLJIBHPKAME() > 0) { this.cheerBadge_Helpful.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().LOCKCJPFFLG() > 1) { this.cheerBadge_Sportsman.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().LAOFEPEPJDI() > 1) { this.cheerBadge_GreatHost.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().CCCABOLHIAJ() > 0) { this.cheerBadge_Creative.gameObject.SetActive(false); } } } } // Token: 0x06027E7F RID: 163455 RVA: 0x00B1D5A0 File Offset: 0x00B1B7A0 protected virtual void LKLBCGNBJEM() { this.KKBAINBHLCK(); } // Token: 0x06027E80 RID: 163456 RVA: 0x00B1D5A8 File Offset: 0x00B1B7A8 private void CIHKPLLINIG() { this.cheerBadge_General.gameObject.SetActive(false); this.cheerBadge_Helpful.gameObject.SetActive(false); this.cheerBadge_Sportsman.gameObject.SetActive(true); this.cheerBadge_GreatHost.gameObject.SetActive(false); this.cheerBadge_Creative.gameObject.SetActive(true); if (this.playerWatcher.ICDMMMDEHLO() != null) { EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.GJNOBDENGJL(this.playerWatcher.NAJBCPFNBAB.Value); if (eebplecpegd != null) { if (eebplecpegd.FADLBKAKHEL().JOJBLEEGKHL() > 0) { this.cheerBadge_General.gameObject.SetActive(true); } if (eebplecpegd.FADLBKAKHEL().MMPFKGHIJFB() > 0) { this.cheerBadge_Helpful.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.CJJJGBGOJJL() > 1) { this.cheerBadge_Sportsman.gameObject.SetActive(false); } if (eebplecpegd.FADLBKAKHEL().EJNAOLIIKAI() > 0) { this.cheerBadge_GreatHost.gameObject.SetActive(true); } if (eebplecpegd.HOLNFPNKNGB.CCCABOLHIAJ() > 0) { this.cheerBadge_Creative.gameObject.SetActive(false); } } } } // Token: 0x06027E81 RID: 163457 RVA: 0x00B1D6EC File Offset: 0x00B1B8EC protected PlayerSpecificUIBehaviour AFLOEIIONHJ() { return this.playerWatcher; } // Token: 0x06027E82 RID: 163458 RVA: 0x00B1D6F4 File Offset: 0x00B1B8F4 protected virtual void GJLMBDEHMFB() { this.GMAGKEKKGEM(); } // Token: 0x06027E83 RID: 163459 RVA: 0x00B1D6FC File Offset: 0x00B1B8FC protected PlayerSpecificUIBehaviour DOJAFBADDII() { return this.playerWatcher; } // Token: 0x0400639B RID: 25499 [SerializeField] [ENMFCLPAKBJ(FOGKDGELKHN.Self, false)] private PlayerSpecificUIBehaviour playerWatcher; // Token: 0x0400639C RID: 25500 [SerializeField] [Header("Cheer badges")] private Image cheerBadge_General; // Token: 0x0400639D RID: 25501 [SerializeField] private Image cheerBadge_Helpful; // Token: 0x0400639E RID: 25502 [SerializeField] private Image cheerBadge_Sportsman; // Token: 0x0400639F RID: 25503 [SerializeField] private Image cheerBadge_GreatHost; // Token: 0x040063A0 RID: 25504 [SerializeField] private Image cheerBadge_Creative; }