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); }
private bool OnNicknameModifyRsp(NicknameModifyRsp rsp) { this.SetupView(); return(false); }