示例#1
0
 // Token: 0x06000341 RID: 833 RVA: 0x00011D08 File Offset: 0x00010108
 public void PushNoticeBtn(bool cngFlag)
 {
     this.CngNoticeFlag(cngFlag);
     SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Cursor"]);
     if (cngFlag)
     {
         Scenes nowScenes = SuperGameMaster.GetNowScenes();
         if (nowScenes != Scenes.MainOut)
         {
             if (nowScenes == Scenes.MainIn)
             {
                 base.transform.parent.GetComponentInParent <UIMaster>().GameMaster.GetComponent <GameMaster_MainIn>().SetReloadTimer(1f);
             }
         }
         else
         {
             base.transform.parent.GetComponentInParent <UIMaster>().GameMaster.GetComponent <GameMaster_MainOut>().SetReloadTimer(1f);
         }
         SuperGameMaster.iOS_AgreeNotifications();
         if (!SuperGameMaster.Android_CheckDoze())
         {
             ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>();
             confilm.OpenPanel("端末で省電力モードを設定していると\n通知が遅れて届く場合があります\n通知をすぐに受け取るには\n電池の最適化を無効にする\n必要があります");
             confilm.ResetOnClick_Screen();
             confilm.SetOnClick_Screen(delegate
             {
                 confilm.ClosePanel();
             });
         }
     }
 }