private bool OnBindAccountRsp(BindAccountRsp rsp) { if (rsp.get_retcode() == null) { this.SaveLastLoginAccountInfo(); } return(false); }
public bool OnBindAccountRsp(BindAccountRsp rsp) { this.Close(); if (rsp.get_retcode() == null) { Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetText("Menu_BindSuccess", new object[0]), 2f), UIType.Any); } else { string networkErrCodeOutput = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]); Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(networkErrCodeOutput, 2f), UIType.Any); } return(false); }