private bool OnRechargeSuccNotify(RechargeFinishNotify rsp) { if ((rsp.get_retcode() == null) || (rsp.get_retcode() == 2)) { this._reviveContext.SetActive(true); this._reviveContext.RefreshView(); this.Destroy(); } return(false); }
private bool OnRechargeSuccNotify(RechargeFinishNotify rsp) { if (rsp.get_retcode() == null) { } return(false); }
private bool OnRechargeSuccNotify(RechargeFinishNotify rsp) { if (this._loadingWheelDialogContext != null) { this._loadingWheelDialogContext.Finish(); this._loadingWheelDialogContext = null; } if ((rsp.get_retcode() == null) || ((rsp.get_retcode() == 2) && !string.IsNullOrEmpty(this.GetReceipt()))) { RechargeDataItem storeItemByProductID = this.GetStoreItemByProductID(rsp.get_product_name()); string str = (storeItemByProductID == null) ? string.Empty : storeItemByProductID.productName; int num = (int)(rsp.get_pay_hcoin() + rsp.get_free_hcoin()); GeneralConfirmDialogContext dialogContext = new GeneralConfirmDialogContext { type = GeneralConfirmDialogContext.ButtonType.SingleButton }; object[] replaceParams = new object[] { str, num }; dialogContext.desc = LocalizationGeneralLogic.GetText("IAPTransitionSuccess", replaceParams); if (< > f__am$cache8 == null) {