Exemplo n.º 1
0
 public bool OnNicknameModifyRsp(NicknameModifyRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         this.Close();
     }
     else
     {
         GeneralDialogContext dialogContext = new GeneralDialogContext {
             type  = GeneralDialogContext.ButtonType.SingleButton,
             title = LocalizationGeneralLogic.GetText("Menu_Title_Tips", new object[0]),
             desc  = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0])
         };
         Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
     }
     return(false);
 }
Exemplo n.º 2
0
 private bool OnNicknameModifyRsp(NicknameModifyRsp rsp)
 {
     this.SetupView();
     return(false);
 }