示例#1
0
 private bool OnGetRedeemCodeInfoRsp(GetRedeemCodeInfoRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         Singleton <MainUIManager> .Instance.ShowDialog(new RedeemDialogContext(this._redeemCode, RedeemDialogContext.RedeemStatus.ShowInfo, rsp, null), UIType.Any);
     }
     else
     {
         Singleton <MainUIManager> .Instance.ShowDialog(new RedeemDialogContext(this._redeemCode, RedeemDialogContext.RedeemStatus.Error, rsp, LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0])), UIType.Any);
     }
     return(false);
 }