コード例 #1
0
 private void ResetWaitPacketData()
 {
     this._stageBeginRsp = null;
     if (this._loadingWheelDialogContext != null)
     {
         this._loadingWheelDialogContext.Finish();
     }
 }
コード例 #2
0
 public bool OnStageBeginRsp(EndlessStageBeginRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         this._stageBeginRsp = rsp;
         this.DoBeginLevel();
     }
     else
     {
         this.ResetWaitPacketData();
         GeneralDialogContext dialogContext = new GeneralDialogContext {
             type  = GeneralDialogContext.ButtonType.SingleButton,
             title = LocalizationGeneralLogic.GetText("Menu_Title_Tips", new object[0])
         };
         dialogContext.desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
         Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
     }
     return(false);
 }