362 lines
9.0 KiB
C#
362 lines
9.0 KiB
C#
using System;
|
|
using RecRoom;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x0200125A RID: 4698
|
|
public class Toast : MonoBehaviour
|
|
{
|
|
// Token: 0x0602890D RID: 166157 RVA: 0x00B46680 File Offset: 0x00B44880
|
|
private void DEGNFLDBLGF()
|
|
{
|
|
if (this.MPCIJPJPDIB)
|
|
{
|
|
this.PPNDKJPKPLB(WatchUI.HNMNHHBECGO(this.ToastId));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602890E RID: 166158 RVA: 0x00B466A0 File Offset: 0x00B448A0
|
|
private void Start()
|
|
{
|
|
if (this.MPCIJPJPDIB)
|
|
{
|
|
this.KCLNMGLPKDP(WatchUI.GetToast(this.ToastId));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602890F RID: 166159 RVA: 0x00B466C0 File Offset: 0x00B448C0
|
|
private void POMCHIPOPEA()
|
|
{
|
|
WatchUI.IOAAHBOMDCA += this.OIPGBGHAKLN;
|
|
}
|
|
|
|
// Token: 0x06028910 RID: 166160 RVA: 0x00B466D4 File Offset: 0x00B448D4
|
|
private void BAGAGANOJDD(LFLFNLNCNJP ELOOPOOPDHE, string DBFLEFGEFCO)
|
|
{
|
|
if (ELOOPOOPDHE != this.ToastId)
|
|
{
|
|
return;
|
|
}
|
|
this.AGCLLNEBNBF(DBFLEFGEFCO);
|
|
}
|
|
|
|
// Token: 0x06028911 RID: 166161 RVA: 0x00B466EC File Offset: 0x00B448EC
|
|
public void KLGAFABODGD(bool MNOEACPELPE)
|
|
{
|
|
if (this.ToastId == LFLFNLNCNJP.CheerCount)
|
|
{
|
|
this.GBGMKNODHPO((!MNOEACPELPE) ? string.Empty : "relationship");
|
|
this.MPCIJPJPDIB = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028912 RID: 166162 RVA: 0x00B4671C File Offset: 0x00B4491C
|
|
private void BBKPAKKLOGB()
|
|
{
|
|
WatchUI.IOAAHBOMDCA += this.AMCBECKHBPG;
|
|
}
|
|
|
|
// Token: 0x06028913 RID: 166163 RVA: 0x00B46730 File Offset: 0x00B44930
|
|
private void EAKGKEKHPOI()
|
|
{
|
|
if (this.MPCIJPJPDIB)
|
|
{
|
|
this.GBGMKNODHPO(WatchUI.HNMNHHBECGO(this.ToastId));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028914 RID: 166164 RVA: 0x00B46750 File Offset: 0x00B44950
|
|
private void AEFJPCJBEOM()
|
|
{
|
|
WatchUI.DDCMIKHNCKA(new Action<LFLFNLNCNJP, string>(this.BAGAGANOJDD));
|
|
}
|
|
|
|
// Token: 0x06028915 RID: 166165 RVA: 0x00B46764 File Offset: 0x00B44964
|
|
private void EIMPMCFDMIA()
|
|
{
|
|
WatchUI.IOAAHBOMDCA += this.BAGAGANOJDD;
|
|
}
|
|
|
|
// Token: 0x06028916 RID: 166166 RVA: 0x00B46778 File Offset: 0x00B44978
|
|
private void NOGHACNCBAI()
|
|
{
|
|
WatchUI.IOAAHBOMDCA -= this.ILNEKADIAKP;
|
|
}
|
|
|
|
// Token: 0x06028917 RID: 166167 RVA: 0x00B4678C File Offset: 0x00B4498C
|
|
private void KCLNMGLPKDP(string DBFLEFGEFCO)
|
|
{
|
|
bool flag = !string.IsNullOrEmpty(DBFLEFGEFCO);
|
|
base.gameObject.SetActive(flag);
|
|
if (flag)
|
|
{
|
|
this.toastText.text = DBFLEFGEFCO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028918 RID: 166168 RVA: 0x00B467C4 File Offset: 0x00B449C4
|
|
private void EHHPCGOOPLD()
|
|
{
|
|
if (this.MPCIJPJPDIB)
|
|
{
|
|
this.AGCLLNEBNBF(WatchUI.HNMNHHBECGO(this.ToastId));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028919 RID: 166169 RVA: 0x00B467E4 File Offset: 0x00B449E4
|
|
private void FKGKJOHOGMP()
|
|
{
|
|
WatchUI.DDCMIKHNCKA(new Action<LFLFNLNCNJP, string>(this.NJDALAJCKDH));
|
|
}
|
|
|
|
// Token: 0x0602891A RID: 166170 RVA: 0x00B467F8 File Offset: 0x00B449F8
|
|
private void AGCLLNEBNBF(string DBFLEFGEFCO)
|
|
{
|
|
bool flag = !string.IsNullOrEmpty(DBFLEFGEFCO);
|
|
base.gameObject.SetActive(flag);
|
|
if (flag)
|
|
{
|
|
this.toastText.text = DBFLEFGEFCO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602891B RID: 166171 RVA: 0x00B46830 File Offset: 0x00B44A30
|
|
public void UpdateActivityToast(bool MNOEACPELPE)
|
|
{
|
|
if (this.ToastId == LFLFNLNCNJP.Activity)
|
|
{
|
|
this.KCLNMGLPKDP((!MNOEACPELPE) ? string.Empty : "NEW");
|
|
this.MPCIJPJPDIB = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602891C RID: 166172 RVA: 0x00B46860 File Offset: 0x00B44A60
|
|
private void HKJDCDEMIPG()
|
|
{
|
|
WatchUI.DDCMIKHNCKA(new Action<LFLFNLNCNJP, string>(this.AMCBECKHBPG));
|
|
}
|
|
|
|
// Token: 0x0602891D RID: 166173 RVA: 0x00B46874 File Offset: 0x00B44A74
|
|
private void OLLOAPMOOHE()
|
|
{
|
|
if (this.MPCIJPJPDIB)
|
|
{
|
|
this.KCLNMGLPKDP(WatchUI.HNMNHHBECGO(this.ToastId));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602891E RID: 166174 RVA: 0x00B46894 File Offset: 0x00B44A94
|
|
private void ANBICAMGCMJ(string DBFLEFGEFCO)
|
|
{
|
|
bool flag = !string.IsNullOrEmpty(DBFLEFGEFCO);
|
|
base.gameObject.SetActive(flag);
|
|
if (flag)
|
|
{
|
|
this.toastText.text = DBFLEFGEFCO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602891F RID: 166175 RVA: 0x00B468CC File Offset: 0x00B44ACC
|
|
private void OnDestroy()
|
|
{
|
|
WatchUI.IOAAHBOMDCA -= this.AMCBECKHBPG;
|
|
}
|
|
|
|
// Token: 0x06028920 RID: 166176 RVA: 0x00B468E0 File Offset: 0x00B44AE0
|
|
private void FGBJJONEBDC()
|
|
{
|
|
if (this.MPCIJPJPDIB)
|
|
{
|
|
this.ANBICAMGCMJ(WatchUI.GetToast(this.ToastId));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028922 RID: 166178 RVA: 0x00B46910 File Offset: 0x00B44B10
|
|
private void FHNCHPMIBJP()
|
|
{
|
|
WatchUI.IOAAHBOMDCA -= this.NJDALAJCKDH;
|
|
}
|
|
|
|
// Token: 0x06028923 RID: 166179 RVA: 0x00B46924 File Offset: 0x00B44B24
|
|
public void PGGPFKGMFDK(bool MNOEACPELPE)
|
|
{
|
|
if (this.ToastId == LFLFNLNCNJP.CheerCount)
|
|
{
|
|
this.AGCLLNEBNBF((!MNOEACPELPE) ? string.Empty : "Content-Type");
|
|
this.MPCIJPJPDIB = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028924 RID: 166180 RVA: 0x00B46954 File Offset: 0x00B44B54
|
|
private void PPNDKJPKPLB(string DBFLEFGEFCO)
|
|
{
|
|
bool flag = !string.IsNullOrEmpty(DBFLEFGEFCO);
|
|
base.gameObject.SetActive(flag);
|
|
if (flag)
|
|
{
|
|
this.toastText.text = DBFLEFGEFCO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028925 RID: 166181 RVA: 0x00B4698C File Offset: 0x00B44B8C
|
|
private void JNJDENIGAHH()
|
|
{
|
|
WatchUI.IOAAHBOMDCA -= this.NJDALAJCKDH;
|
|
}
|
|
|
|
// Token: 0x06028926 RID: 166182 RVA: 0x00B469A0 File Offset: 0x00B44BA0
|
|
private void GBGMKNODHPO(string DBFLEFGEFCO)
|
|
{
|
|
bool flag = string.IsNullOrEmpty(DBFLEFGEFCO);
|
|
base.gameObject.SetActive(flag);
|
|
if (flag)
|
|
{
|
|
this.toastText.text = DBFLEFGEFCO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028927 RID: 166183 RVA: 0x00B469D8 File Offset: 0x00B44BD8
|
|
private void EGFGEGEDJGN()
|
|
{
|
|
WatchUI.IOAAHBOMDCA -= this.OIPGBGHAKLN;
|
|
}
|
|
|
|
// Token: 0x06028928 RID: 166184 RVA: 0x00B469EC File Offset: 0x00B44BEC
|
|
private void EKBEMBMIJLH()
|
|
{
|
|
WatchUI.IOAAHBOMDCA -= this.NJDALAJCKDH;
|
|
}
|
|
|
|
// Token: 0x06028929 RID: 166185 RVA: 0x00B46A00 File Offset: 0x00B44C00
|
|
public void BPLPGKDBINA(bool MNOEACPELPE)
|
|
{
|
|
if (this.ToastId == LFLFNLNCNJP.CheerCount)
|
|
{
|
|
this.KCLNMGLPKDP((!MNOEACPELPE) ? string.Empty : "Failed to save outfit ");
|
|
this.MPCIJPJPDIB = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602892A RID: 166186 RVA: 0x00B46A30 File Offset: 0x00B44C30
|
|
private void OCEJENEOCJK()
|
|
{
|
|
if (this.MPCIJPJPDIB)
|
|
{
|
|
this.ANBICAMGCMJ(WatchUI.GetToast(this.ToastId));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602892B RID: 166187 RVA: 0x00B46A50 File Offset: 0x00B44C50
|
|
private void MKMAMKDILHL()
|
|
{
|
|
WatchUI.DDCMIKHNCKA(new Action<LFLFNLNCNJP, string>(this.BAGAGANOJDD));
|
|
}
|
|
|
|
// Token: 0x0602892C RID: 166188 RVA: 0x00B46A64 File Offset: 0x00B44C64
|
|
public void CKBFMHAFHOA(bool MNOEACPELPE)
|
|
{
|
|
if (this.ToastId == LFLFNLNCNJP.None)
|
|
{
|
|
this.PPNDKJPKPLB((!MNOEACPELPE) ? string.Empty : "Cache Maintenance");
|
|
this.MPCIJPJPDIB = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602892D RID: 166189 RVA: 0x00B46A94 File Offset: 0x00B44C94
|
|
private void BICFMPFIEED(string DBFLEFGEFCO)
|
|
{
|
|
bool flag = string.IsNullOrEmpty(DBFLEFGEFCO);
|
|
base.gameObject.SetActive(flag);
|
|
if (flag)
|
|
{
|
|
this.toastText.text = DBFLEFGEFCO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602892E RID: 166190 RVA: 0x00B46ACC File Offset: 0x00B44CCC
|
|
private void KJBPHNKFCAM()
|
|
{
|
|
WatchUI.IOAAHBOMDCA += this.AMCBECKHBPG;
|
|
}
|
|
|
|
// Token: 0x0602892F RID: 166191 RVA: 0x00B46AE0 File Offset: 0x00B44CE0
|
|
public void GBJCMLGHAFD(bool MNOEACPELPE)
|
|
{
|
|
if (this.ToastId == LFLFNLNCNJP.CheerCount)
|
|
{
|
|
this.KCLNMGLPKDP((!MNOEACPELPE) ? string.Empty : "/home ");
|
|
this.MPCIJPJPDIB = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028930 RID: 166192 RVA: 0x00B46B10 File Offset: 0x00B44D10
|
|
private void Awake()
|
|
{
|
|
WatchUI.IOAAHBOMDCA += this.AMCBECKHBPG;
|
|
}
|
|
|
|
// Token: 0x06028931 RID: 166193 RVA: 0x00B46B24 File Offset: 0x00B44D24
|
|
private void NJDALAJCKDH(LFLFNLNCNJP ELOOPOOPDHE, string DBFLEFGEFCO)
|
|
{
|
|
if (ELOOPOOPDHE != this.ToastId)
|
|
{
|
|
return;
|
|
}
|
|
this.KCLNMGLPKDP(DBFLEFGEFCO);
|
|
}
|
|
|
|
// Token: 0x06028932 RID: 166194 RVA: 0x00B46B3C File Offset: 0x00B44D3C
|
|
private void OIPGBGHAKLN(LFLFNLNCNJP ELOOPOOPDHE, string DBFLEFGEFCO)
|
|
{
|
|
if (ELOOPOOPDHE != this.ToastId)
|
|
{
|
|
return;
|
|
}
|
|
this.KCLNMGLPKDP(DBFLEFGEFCO);
|
|
}
|
|
|
|
// Token: 0x06028933 RID: 166195 RVA: 0x00B46B54 File Offset: 0x00B44D54
|
|
private void AMCBECKHBPG(LFLFNLNCNJP ELOOPOOPDHE, string DBFLEFGEFCO)
|
|
{
|
|
if (ELOOPOOPDHE != this.ToastId)
|
|
{
|
|
return;
|
|
}
|
|
this.KCLNMGLPKDP(DBFLEFGEFCO);
|
|
}
|
|
|
|
// Token: 0x06028934 RID: 166196 RVA: 0x00B46B6C File Offset: 0x00B44D6C
|
|
private void ILNEKADIAKP(LFLFNLNCNJP ELOOPOOPDHE, string DBFLEFGEFCO)
|
|
{
|
|
if (ELOOPOOPDHE != this.ToastId)
|
|
{
|
|
return;
|
|
}
|
|
this.PPNDKJPKPLB(DBFLEFGEFCO);
|
|
}
|
|
|
|
// Token: 0x06028935 RID: 166197 RVA: 0x00B46B84 File Offset: 0x00B44D84
|
|
public void HOICKNDKGMM(bool MNOEACPELPE)
|
|
{
|
|
if (this.ToastId == LFLFNLNCNJP.Activity)
|
|
{
|
|
this.AGCLLNEBNBF((!MNOEACPELPE) ? string.Empty : "The current MSAA level is ");
|
|
this.MPCIJPJPDIB = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040064A4 RID: 25764
|
|
public LFLFNLNCNJP ToastId;
|
|
|
|
// Token: 0x040064A5 RID: 25765
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.SelfAndChildren, false)]
|
|
[SerializeField]
|
|
private Text toastText;
|
|
|
|
// Token: 0x040064A6 RID: 25766
|
|
private bool MPCIJPJPDIB = true;
|
|
}
|
|
}
|