using System; using System.Collections; using AGUI.StackedUI; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; // Token: 0x020010C2 RID: 4290 public class PunchCardObjectiveView : DailyObjectiveView { // Token: 0x060246FD RID: 149245 RVA: 0x009FDC30 File Offset: 0x009FBE30 public virtual void PGNCPLOOBGD(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.AJEKMOAHDHG(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("v1/ignore", false); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x060246FE RID: 149246 RVA: 0x009FDCB0 File Offset: 0x009FBEB0 public virtual void LOMMOEOKMLD(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.BMFIBBNKPHI(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.FCDLEIONBCJ(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.OIHFIFPFINA(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x060246FF RID: 149247 RVA: 0x009FDD30 File Offset: 0x009FBF30 private void LOCALHGOONI() { this.JFKFLAPPCMF = null; } // Token: 0x06024700 RID: 149248 RVA: 0x009FDD3C File Offset: 0x009FBF3C public void BJNBGNPMCGD() { this.statusMessageText.text = string.Empty; this.statusMessageObject.SetActive(true); } // Token: 0x06024701 RID: 149249 RVA: 0x009FDD5C File Offset: 0x009FBF5C private void ACNOBNMALLH() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x06024702 RID: 149250 RVA: 0x009FDD7C File Offset: 0x009FBF7C public virtual void MICMJIKEHMD(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.OIHFIFPFINA(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Currency Code", true); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x06024703 RID: 149251 RVA: 0x009FDDFC File Offset: 0x009FBFFC private void IEBJNHCEALG() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x06024704 RID: 149252 RVA: 0x009FDE1C File Offset: 0x009FC01C private IEnumerator LNGIBCAHOLD(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; float num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); float num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } float num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } float num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; float num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x06024705 RID: 149253 RVA: 0x009FDE74 File Offset: 0x009FC074 private void OnDestroy() { this.JFKFLAPPCMF = null; } // Token: 0x06024706 RID: 149254 RVA: 0x009FDE80 File Offset: 0x009FC080 private void EFABCEGOCAD() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x06024707 RID: 149255 RVA: 0x009FDEA0 File Offset: 0x009FC0A0 public virtual void NNPKPBLJCPH(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.IAACLEODMFF(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("box", false); } } this.progressLabel.gameObject.SetActive(false); } // Token: 0x06024708 RID: 149256 RVA: 0x009FDF20 File Offset: 0x009FC120 public virtual void NPIKEFKEPAL(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.IOCJGMHCMHK(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.KMLACKLOKAF(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.PGKOGIJKDHD(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024709 RID: 149257 RVA: 0x009FDFA0 File Offset: 0x009FC1A0 public virtual void NAFCJHJHDBO(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.BMFIBBNKPHI(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.KAGGHEJCMCB(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.IAACLEODMFF(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x0602470A RID: 149258 RVA: 0x009FE020 File Offset: 0x009FC220 public void DOMAEICGBIP() { this.statusMessageText.text = string.Empty; this.statusMessageObject.SetActive(true); } // Token: 0x0602470B RID: 149259 RVA: 0x009FE040 File Offset: 0x009FC240 public override void GMCBBPKJCMI(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.ACNOBNMALLH(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.ONMDPNOGHFC(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.EOJDCMNOOAN(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x0602470C RID: 149260 RVA: 0x009FE0C0 File Offset: 0x009FC2C0 public void HLJHAGOGMHP(UnityAction DGFDBOGDPNB) { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.AddListener(DGFDBOGDPNB); } } // Token: 0x0602470D RID: 149261 RVA: 0x009FE0E4 File Offset: 0x009FC2E4 private IEnumerator KAGGHEJCMCB(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x0602470E RID: 149262 RVA: 0x009FE13C File Offset: 0x009FC33C public void GNOALDHDNPC(UnityAction DGFDBOGDPNB) { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.AddListener(DGFDBOGDPNB); } } // Token: 0x0602470F RID: 149263 RVA: 0x009FE160 File Offset: 0x009FC360 public virtual void CJGHJMNAMDG(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.IOCJGMHCMHK(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.KMLACKLOKAF(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.HHMLPKHOIFF(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024710 RID: 149264 RVA: 0x009FE1E0 File Offset: 0x009FC3E0 private IEnumerator OKAGMGBNGII(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x06024711 RID: 149265 RVA: 0x009FE238 File Offset: 0x009FC438 public void EALDBOEGEFK() { this.statusMessageText.text = string.Empty; this.statusMessageObject.SetActive(true); } // Token: 0x06024712 RID: 149266 RVA: 0x009FE258 File Offset: 0x009FC458 private void BJGJHPBABDB() { this.JFKFLAPPCMF = null; } // Token: 0x06024713 RID: 149267 RVA: 0x009FE264 File Offset: 0x009FC464 public override void UpdateProgress(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.UpdateProgress(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } } this.progressLabel.gameObject.SetActive(false); } // Token: 0x06024714 RID: 149268 RVA: 0x009FE2E4 File Offset: 0x009FC4E4 private void LEKDBCJKGMH() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x06024715 RID: 149269 RVA: 0x009FE304 File Offset: 0x009FC504 private void CELDKDEGHOJ() { if (this.JFKFLAPPCMF != null) { this.IEBJNHCEALG(); this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } if (this.IMIHEKHCHNF) { this.giftPackageButtonAnimator.SetBool("dns", true); } } // Token: 0x06024716 RID: 149270 RVA: 0x009FE350 File Offset: 0x009FC550 public void FLFCDBCDAME() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x06024717 RID: 149271 RVA: 0x009FE374 File Offset: 0x009FC574 public override void ADOIKGGBCJJ(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.LEKDBCJKGMH(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.FCDLEIONBCJ(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.EOJDCMNOOAN(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024718 RID: 149272 RVA: 0x009FE3F4 File Offset: 0x009FC5F4 public void IPEOKFHPCEE() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x06024719 RID: 149273 RVA: 0x009FE418 File Offset: 0x009FC618 public void AddRewardButtonOnClick(UnityAction DGFDBOGDPNB) { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.AddListener(DGFDBOGDPNB); } } // Token: 0x0602471A RID: 149274 RVA: 0x009FE43C File Offset: 0x009FC63C private void EDMEHLOMFJC() { if (this.JFKFLAPPCMF != null) { this.EFABCEGOCAD(); this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } if (this.IMIHEKHCHNF) { this.giftPackageButtonAnimator.SetBool(" ch#", false); } } // Token: 0x0602471B RID: 149275 RVA: 0x009FE488 File Offset: 0x009FC688 public void OJLBANOFPPJ(string NFAFJOMABOK) { if (string.IsNullOrEmpty(NFAFJOMABOK)) { this.EALDBOEGEFK(); return; } this.statusMessageText.text = NFAFJOMABOK; this.statusMessageObject.SetActive(true); } // Token: 0x0602471C RID: 149276 RVA: 0x009FE4B4 File Offset: 0x009FC6B4 private IEnumerator DFPHCFNFKAF(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x0602471D RID: 149277 RVA: 0x009FE50C File Offset: 0x009FC70C public virtual void GMDJIPBOGCA(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.ACNOBNMALLH(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.BLACJAMNJAD(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.BDEPGFKKFDO(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x0602471E RID: 149278 RVA: 0x009FE58C File Offset: 0x009FC78C public void EFCEHGECKGG(string NFAFJOMABOK) { if (string.IsNullOrEmpty(NFAFJOMABOK)) { this.EALDBOEGEFK(); return; } this.statusMessageText.text = NFAFJOMABOK; this.statusMessageObject.SetActive(true); } // Token: 0x06024720 RID: 149280 RVA: 0x009FE5D8 File Offset: 0x009FC7D8 private void PCAGCMDJBJI() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x06024721 RID: 149281 RVA: 0x009FE5F8 File Offset: 0x009FC7F8 private IEnumerator BMFINCECIEA(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x06024722 RID: 149282 RVA: 0x009FE650 File Offset: 0x009FC850 public virtual void BAJPCKFHJIM(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.EFABCEGOCAD(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.FCDLEIONBCJ(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.GGKJHFBJIBP(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024723 RID: 149283 RVA: 0x009FE6D0 File Offset: 0x009FC8D0 private IEnumerator PPBFOBGJNEG(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x06024724 RID: 149284 RVA: 0x009FE728 File Offset: 0x009FC928 private IEnumerator KMLACKLOKAF(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x06024725 RID: 149285 RVA: 0x009FE780 File Offset: 0x009FC980 public override void AnimateProgress(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.IEBJNHCEALG(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.ICFJLNDHIBE(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024726 RID: 149286 RVA: 0x009FE800 File Offset: 0x009FCA00 public void DMINKPMCOJI(string NFAFJOMABOK) { if (string.IsNullOrEmpty(NFAFJOMABOK)) { this.BJNBGNPMCGD(); return; } this.statusMessageText.text = NFAFJOMABOK; this.statusMessageObject.SetActive(true); } // Token: 0x06024727 RID: 149287 RVA: 0x009FE82C File Offset: 0x009FCA2C public virtual void NFACBLAJLBC(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.BMFIBBNKPHI(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.KAGGHEJCMCB(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.PGKOGIJKDHD(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024728 RID: 149288 RVA: 0x009FE8AC File Offset: 0x009FCAAC public void BIBMPGPMHPK(UnityAction DGFDBOGDPNB) { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.AddListener(DGFDBOGDPNB); } } // Token: 0x06024729 RID: 149289 RVA: 0x009FE8D0 File Offset: 0x009FCAD0 private IEnumerator ONMDPNOGHFC(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x0602472A RID: 149290 RVA: 0x009FE928 File Offset: 0x009FCB28 public void MJFJPCHADKM(string NFAFJOMABOK) { if (string.IsNullOrEmpty(NFAFJOMABOK)) { this.COJOEECHNHI(); return; } this.statusMessageText.text = NFAFJOMABOK; this.statusMessageObject.SetActive(false); } // Token: 0x0602472B RID: 149291 RVA: 0x009FE954 File Offset: 0x009FCB54 public virtual void KGDFBFMLKIC(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.HHMLPKHOIFF(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("mydemo.com", false); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x0602472C RID: 149292 RVA: 0x009FE9D4 File Offset: 0x009FCBD4 private void EMKHEHNICEN() { this.JFKFLAPPCMF = null; } // Token: 0x0602472D RID: 149293 RVA: 0x009FE9E0 File Offset: 0x009FCBE0 public override void IGFIIEKFOPP(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.LEKDBCJKGMH(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.DFPHCFNFKAF(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.IAACLEODMFF(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x0602472E RID: 149294 RVA: 0x009FEA60 File Offset: 0x009FCC60 public void MPBHFDGOCHO(string NFAFJOMABOK) { if (string.IsNullOrEmpty(NFAFJOMABOK)) { this.BJNBGNPMCGD(); return; } this.statusMessageText.text = NFAFJOMABOK; this.statusMessageObject.SetActive(false); } // Token: 0x0602472F RID: 149295 RVA: 0x009FEA8C File Offset: 0x009FCC8C private void FDLHDLJBDDA() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x06024730 RID: 149296 RVA: 0x009FEAAC File Offset: 0x009FCCAC private IEnumerator BLACJAMNJAD(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x06024731 RID: 149297 RVA: 0x009FEB04 File Offset: 0x009FCD04 public virtual void DLEFFKONMAI(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.FDLHDLJBDDA(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.DFPHCFNFKAF(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.PCHLAIKMECH(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024732 RID: 149298 RVA: 0x009FEB84 File Offset: 0x009FCD84 public virtual void DAENOOLCGBL(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.UpdateProgress(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("WebSocket", true); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x06024733 RID: 149299 RVA: 0x009FEC04 File Offset: 0x009FCE04 public void BGEBJJJCFGM() { this.statusMessageText.text = string.Empty; this.statusMessageObject.SetActive(true); } // Token: 0x06024734 RID: 149300 RVA: 0x009FEC24 File Offset: 0x009FCE24 private void FLICOBNMPHH() { if (this.JFKFLAPPCMF != null) { this.LEKDBCJKGMH(); this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } if (this.IMIHEKHCHNF) { this.giftPackageButtonAnimator.SetBool("Error on server call: {0}. Local objective state will not be reflected in server!", false); } } // Token: 0x06024735 RID: 149301 RVA: 0x009FEC70 File Offset: 0x009FCE70 public void COJOEECHNHI() { this.statusMessageText.text = string.Empty; this.statusMessageObject.SetActive(false); } // Token: 0x06024736 RID: 149302 RVA: 0x009FEC90 File Offset: 0x009FCE90 private void GDNIKIMCKMA() { this.JFKFLAPPCMF = null; } // Token: 0x06024737 RID: 149303 RVA: 0x009FEC9C File Offset: 0x009FCE9C public virtual void ILFFIGGKJCA(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.LEKDBCJKGMH(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.KMLACKLOKAF(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.PCHLAIKMECH(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x06024738 RID: 149304 RVA: 0x009FED1C File Offset: 0x009FCF1C public void ClearRewardButtonListeners() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x06024739 RID: 149305 RVA: 0x009FED40 File Offset: 0x009FCF40 public void AGFOMOCGAEB() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x0602473A RID: 149306 RVA: 0x009FED64 File Offset: 0x009FCF64 private void MKPOPGKKMHA() { this.JFKFLAPPCMF = null; } // Token: 0x0602473B RID: 149307 RVA: 0x009FED70 File Offset: 0x009FCF70 public virtual void EKIFIALKHAI(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.OIHFIFPFINA(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Camera Yaw", true); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x0602473C RID: 149308 RVA: 0x009FEDF0 File Offset: 0x009FCFF0 private IEnumerator ICFJLNDHIBE(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x0602473D RID: 149309 RVA: 0x009FEE48 File Offset: 0x009FD048 private void IOCJGMHCMHK() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x0602473E RID: 149310 RVA: 0x009FEE68 File Offset: 0x009FD068 public virtual void MMAAAELKNJH(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.PCFLMAOLJAH(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("y", false); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x0602473F RID: 149311 RVA: 0x009FEEE8 File Offset: 0x009FD0E8 public void AGFMPODIKGP() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x06024740 RID: 149312 RVA: 0x009FEF0C File Offset: 0x009FD10C private void ILDLMHEHJLP() { this.JFKFLAPPCMF = null; } // Token: 0x06024741 RID: 149313 RVA: 0x009FEF18 File Offset: 0x009FD118 private void BFBHEJHIHCP() { if (this.JFKFLAPPCMF != null) { this.PCAGCMDJBJI(); this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } if (this.IMIHEKHCHNF) { this.giftPackageButtonAnimator.SetBool("This example demonstrates how you can download a (large) file and continue the download after the connection is aborted.\n\nFeatures demoed in this example:\n-Setting up a streamed download\n-How to access the downloaded data while the download is in progress\n-Setting the HTTPRequest's StreamFragmentSize to controll the frequency and size of the fragments\n-How to use the SetRangeHeader to continue a previously disconnected download\n-How to disable the local, automatic caching", false); } } // Token: 0x06024742 RID: 149314 RVA: 0x009FEF64 File Offset: 0x009FD164 private void OnEnable() { if (this.JFKFLAPPCMF != null) { this.IEBJNHCEALG(); this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } if (this.IMIHEKHCHNF) { this.giftPackageButtonAnimator.SetBool("Visible", true); } } // Token: 0x06024743 RID: 149315 RVA: 0x009FEFB0 File Offset: 0x009FD1B0 public void EJFDBLBIJFE(UnityAction DGFDBOGDPNB) { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.AddListener(DGFDBOGDPNB); } } // Token: 0x06024744 RID: 149316 RVA: 0x009FEFD4 File Offset: 0x009FD1D4 private void MLKKJEACEMF() { this.JFKFLAPPCMF = null; } // Token: 0x06024745 RID: 149317 RVA: 0x009FEFE0 File Offset: 0x009FD1E0 public void CGJLFFPMEMK() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x06024746 RID: 149318 RVA: 0x009FF004 File Offset: 0x009FD204 private void HNBLIGEOJOI() { this.JFKFLAPPCMF = null; } // Token: 0x06024747 RID: 149319 RVA: 0x009FF010 File Offset: 0x009FD210 public void DECOECOGJKL() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x06024748 RID: 149320 RVA: 0x009FF034 File Offset: 0x009FD234 public virtual void ECPIGKGOMMA(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.BDEPGFKKFDO(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Play", false); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x06024749 RID: 149321 RVA: 0x009FF0B4 File Offset: 0x009FD2B4 public virtual void GOJAFNMJDAI(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.IAACLEODMFF(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Custom/SteamVR_SphericalProjection", false); } } this.progressLabel.gameObject.SetActive(false); } // Token: 0x0602474A RID: 149322 RVA: 0x009FF134 File Offset: 0x009FD334 public void GDMHHKKPNLD() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x0602474B RID: 149323 RVA: 0x009FF158 File Offset: 0x009FD358 private IEnumerator FCDLEIONBCJ(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x0602474C RID: 149324 RVA: 0x009FF1B0 File Offset: 0x009FD3B0 private IEnumerator OCINHFKBCPF(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.completionVisual.SetActive(false); this.description.text = NJGDKPOBAHF; this.tooltip.Message = DKCMFOGBGCL; num = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)HGGIGHFJCDH / (float)OFMEPMPHNDB) : 0f); num2 = (((float)OFMEPMPHNDB != 0f) ? Mathf.Clamp01((float)BJLLNHDLOGJ / (float)OFMEPMPHNDB) : 0f); if (num2 < num || Mathf.Abs(num2 - num) < PunchCardObjectiveView.GFMFMDLKNNJ) { this.UpdateProgress(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } num3 = 0f; while (num3 < PunchCardObjectiveView.EEEDHLOPGBA) { num3 += Time.deltaTime; yield return null; } num4 = (num2 - num) / PunchCardObjectiveView.BODGIJKJGKN; num5 = num; while (num5 < num2) { yield return null; num5 += num4 * Time.deltaTime; this.progressSlider.value = Mathf.Clamp01(num5); } this.progressSlider.value = num2; if (EFKMINFKJAA) { this.completionVisual.SetActive(true); this.progressSlider.value = 1f; } if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("Visible", true); } this.tooltip.enabled = !MEIILNAIPOK; } this.IMIHEKHCHNF = MEIILNAIPOK; this.JFKFLAPPCMF = null; if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } yield break; } // Token: 0x0602474D RID: 149325 RVA: 0x009FF208 File Offset: 0x009FD408 public virtual void JGHNAHJKIAG(int HGGIGHFJCDH, int BJLLNHDLOGJ, int OFMEPMPHNDB, bool MNHMMDMNLLH, bool EFKMINFKJAA, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL, Action GBLIFBCPFOE) { this.PCAGCMDJBJI(); if (HGGIGHFJCDH != BJLLNHDLOGJ || MNHMMDMNLLH != EFKMINFKJAA) { this.JFKFLAPPCMF = this.OCINHFKBCPF(HGGIGHFJCDH, BJLLNHDLOGJ, OFMEPMPHNDB, MNHMMDMNLLH, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL, GBLIFBCPFOE); if (base.isActiveAndEnabled) { this.NCKODNDELKF = base.StartCoroutine(this.JFKFLAPPCMF); } } else { this.OIHFIFPFINA(BJLLNHDLOGJ, OFMEPMPHNDB, EFKMINFKJAA, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); if (GBLIFBCPFOE != null) { GBLIFBCPFOE(); } } } // Token: 0x0602474E RID: 149326 RVA: 0x009FF288 File Offset: 0x009FD488 public void APHINNGKPAF(string NFAFJOMABOK) { if (string.IsNullOrEmpty(NFAFJOMABOK)) { this.COJOEECHNHI(); return; } this.statusMessageText.text = NFAFJOMABOK; this.statusMessageObject.SetActive(true); } // Token: 0x0602474F RID: 149327 RVA: 0x009FF2B4 File Offset: 0x009FD4B4 private void BMFIBBNKPHI() { if (this.NCKODNDELKF != null) { base.StopCoroutine(this.NCKODNDELKF); this.NCKODNDELKF = null; } } // Token: 0x06024750 RID: 149328 RVA: 0x009FF2D4 File Offset: 0x009FD4D4 private void CELAHBMKHDL() { this.JFKFLAPPCMF = null; } // Token: 0x06024751 RID: 149329 RVA: 0x009FF2E0 File Offset: 0x009FD4E0 public void LDMJFKOJOLF(UnityAction DGFDBOGDPNB) { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.AddListener(DGFDBOGDPNB); } } // Token: 0x06024753 RID: 149331 RVA: 0x009FF30C File Offset: 0x009FD50C public void MALAHNHAACH() { if (this.giftPackageButton != null) { this.giftPackageButton.OnClick.RemoveAllListeners(); } } // Token: 0x06024754 RID: 149332 RVA: 0x009FF330 File Offset: 0x009FD530 public virtual void GJEHBMBELFP(int PAGBFDILBGA, int OFMEPMPHNDB, bool LJIJDFCPFDI, bool MEIILNAIPOK, string NJGDKPOBAHF, string DKCMFOGBGCL) { base.BDEPGFKKFDO(PAGBFDILBGA, OFMEPMPHNDB, LJIJDFCPFDI, MEIILNAIPOK, NJGDKPOBAHF, DKCMFOGBGCL); this.IMIHEKHCHNF = MEIILNAIPOK; if (this.giftPackageButton != null) { this.giftPackageButtonAnimator.gameObject.SetActive(MEIILNAIPOK); this.tooltip.enabled = !MEIILNAIPOK; if (MEIILNAIPOK) { this.giftPackageButtonAnimator.SetBool("action", true); } } this.progressLabel.gameObject.SetActive(true); } // Token: 0x06024755 RID: 149333 RVA: 0x009FF3B0 File Offset: 0x009FD5B0 public void ClearStatusMessage() { this.statusMessageText.text = string.Empty; this.statusMessageObject.SetActive(false); } // Token: 0x06024756 RID: 149334 RVA: 0x009FF3D0 File Offset: 0x009FD5D0 public void ShowStatusMessage(string NFAFJOMABOK) { if (string.IsNullOrEmpty(NFAFJOMABOK)) { this.ClearStatusMessage(); return; } this.statusMessageText.text = NFAFJOMABOK; this.statusMessageObject.SetActive(true); } // Token: 0x04005CE6 RID: 23782 [SerializeField] private Button3D giftPackageButton; // Token: 0x04005CE7 RID: 23783 [SerializeField] private Animator giftPackageButtonAnimator; // Token: 0x04005CE8 RID: 23784 [SerializeField] private GameObject statusMessageObject; // Token: 0x04005CE9 RID: 23785 [SerializeField] private Text statusMessageText; // Token: 0x04005CEA RID: 23786 private IEnumerator JFKFLAPPCMF; // Token: 0x04005CEB RID: 23787 private Coroutine NCKODNDELKF; // Token: 0x04005CEC RID: 23788 private static float GFMFMDLKNNJ = 0.01f; // Token: 0x04005CED RID: 23789 private static float BODGIJKJGKN = 1f; // Token: 0x04005CEE RID: 23790 private static float EEEDHLOPGBA = 0.25f; // Token: 0x04005CEF RID: 23791 private bool IMIHEKHCHNF; }