예제 #1
0
        private bool OnBuyGoodsRsp(BuyGoodsRsp rsp)
        {
            if (rsp.get_retcode() == null)
            {
                this.SetupView();
                Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetText("Menu_ShopBuyGoodsSuccess", new object[0]), 2f), UIType.Any);

                base.view.transform.Find("ShopTab").gameObject.GetComponent <MonoShopStoreTab>().OnBuyGoodsRsp(rsp);
            }
            else
            {
                GeneralDialogContext dialogContext = new GeneralDialogContext {
                    type  = GeneralDialogContext.ButtonType.SingleButton,
                    title = LocalizationGeneralLogic.GetText("Menu_Title_Tips", new object[0])
                };
                dialogContext.desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
                if (!string.IsNullOrEmpty(dialogContext.desc))
                {
                    Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
                }
                if ((rsp.get_retcode() == 6) || (rsp.get_retcode() == 7))
                {
                    Singleton <NetworkManager> .Instance.RequestGetShopList();
                }
            }
            return(false);
        }
예제 #2
0
 private bool OnStageEndRsp(StageEndRsp rsp)
 {
     this._stageEndRsp = rsp;
     if (rsp.get_retcode() == null)
     {
         if (this._levelSuccess)
         {
             LevelScoreManager instance = Singleton <LevelScoreManager> .Instance;
             if (rsp.get_stage_idSpecified())
             {
             }
             this._leftPanelAnimationManager.AddAnimation(base.view.transform.Find("Title").GetComponent <MonoAnimationinSequence>(), null);
             this.SetupRewardPanel(this._stageEndRsp);
             this.ShowRewardPanel();
         }
     }
     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);
 }
예제 #3
0
        private bool OnGetAcceptFriendInviteRsp(AcceptFriendInviteRsp rsp)
        {
            if (MiscData.Config.BasicConfig.IsInviteFeatureEnable)
            {
                if (Singleton <NetworkManager> .Instance.DispatchSeverData.isReview)
                {
                    return(false);
                }
                if (!Singleton <AccountManager> .Instance.manager.IsAccountBind())
                {
                    return(false);
                }
                if (rsp.get_retcode() == null)
                {
                    Singleton <NetworkManager> .Instance.RequestGetInviteeFriend();

                    Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetText("Menu_InviteInputSuccess", new object[0]), 2f), UIType.Any);
                }
                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]),
                        notDestroyAfterTouchBG = true
                    };
                    Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
                }
            }
            return(false);
        }
예제 #4
0
 public void HandleStageEndRspForRetry(StageEndRsp rsp)
 {
     if (MiscData.Config.BasicConfig.FeatureOnRetrySendLevelEndReq)
     {
         GeneralConfirmDialogContext context;
         this.ClearLevelEndReqInfo();
         if (rsp.get_retcode() == null)
         {
             context = new GeneralConfirmDialogContext {
                 type = GeneralConfirmDialogContext.ButtonType.SingleButton,
                 desc = LocalizationGeneralLogic.GetText("Menu_Desc_SuccRetrySendLevelEndReq", new object[0])
             };
             Singleton <MainUIManager> .Instance.ShowDialog(context, UIType.Any);
         }
         else
         {
             string networkErrCodeOutput = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
             context = new GeneralConfirmDialogContext {
                 type = GeneralConfirmDialogContext.ButtonType.SingleButton
             };
             object[] replaceParams = new object[] { networkErrCodeOutput };
             context.desc = LocalizationGeneralLogic.GetText("Menu_Desc_FailRetrySendLevelEndReq", replaceParams);
             Singleton <MainUIManager> .Instance.ShowDialog(context, UIType.Any);
         }
     }
 }
예제 #5
0
        private bool OnPlayerLoginRsp(PlayerLoginRsp rsp)
        {
            if (rsp.get_retcode() == null)
            {
                MonoTestUI sceneCanvas = Singleton <MainUIManager> .Instance.SceneCanvas as MonoTestUI;
                if (sceneCanvas.avatar3dModelContext != null)
                {
                    return(false);
                }
                sceneCanvas.MainCamera.SetActive(true);
                sceneCanvas.MainMenu_SpaceShip.SetActive(true);
                sceneCanvas.avatar3dModelContext = new Avatar3dModelContext(null);
                Singleton <MainUIManager> .Instance.ShowWidget(sceneCanvas.avatar3dModelContext, UIType.Root);

                GameObject            view         = GameObject.Find("MainMenu_SpaceShip");
                GameObject            uiMainCamera = GameObject.Find("MainCamera");
                SpaceShipModelContext widget       = new SpaceShipModelContext(view, uiMainCamera);
                Singleton <MainUIManager> .Instance.ShowWidget(widget, UIType.Any);

                GraphicsSettingData.ApplySettingConfig();
                AudioSettingData.ApplySettingConfig();
                this.TestCode(sceneCanvas);
            }
            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]),
                    notDestroyAfterTouchBG = true
                };
                Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
            }
            return(false);
        }
        public bool OnAvatarReviveRsp(AvatarReviveRsp rsp)
        {
            if (rsp.get_retcode() == null)
            {
                if (rsp.get_revive_timesSpecified())
                {
                    int num = this._levelScoreManager.maxReviveNum - ((int)rsp.get_revive_times());
                    if (this._levelScoreManager.avaiableReviveNum > num)
                    {
                        this._levelScoreManager.avaiableReviveNum = num;
                        this._levelActor.ReviveAvatarByID(this._reviveContext.avatarRuntimeID, this._reviveContext.revivePosition);
                        this.Destroy();
                        Singleton <WwiseAudioManager> .Instance.Post("BGM_PauseMenu_Off", null, null, null);

                        this._reviveContext.OnReviveConfirm();
                    }
                }
            }
            else
            {
                GeneralDialogContext dialogContext = new GeneralDialogContext {
                    type  = GeneralDialogContext.ButtonType.SingleButton,
                    title = LocalizationGeneralLogic.GetText("Menu_Title_ExchangeFail", new object[0]),
                    desc  = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0])
                };
                Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
            }
            return(false);
        }
예제 #7
0
 private bool OnEnterWorldChatroomRsp(EnterWorldChatroomRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         this.SetupView();
     }
     else
     {
         string networkErrCodeOutput = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
         Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(networkErrCodeOutput, 2f), UIType.Any);
     }
     return(false);
 }
예제 #8
0
 public bool OnAvatarStarUpRsp(AvatarStarUpRsp rsp)
 {
     if (rsp.get_retcode() != null)
     {
         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);
 }
예제 #9
0
 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);
 }
예제 #10
0
 private bool OnExchangeRedeemCodeRsp(ExchangeRedeemCodeRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         this.SetupRedeemSuccess();
     }
     else
     {
         this._errorCode = LocalizationGeneralLogic.GetNetworkErrCodeOutput((ExchangeRedeemCodeRsp.Retcode) 1, new object[0]) + '\n';
         this._errorCode = this._errorCode + LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
         this.SetupErrorContext();
     }
     return(false);
 }
예제 #11
0
        public void OnGetRewardBtnClick()
        {
            this._redeemCode = base.view.transform.Find("AccountPanel/Award/InputField/Text").GetComponent <Text>().text;
            if (this._redeemCode.Length != 10)
            {
                string networkErrCodeOutput = LocalizationGeneralLogic.GetNetworkErrCodeOutput((GetRedeemCodeInfoRsp.Retcode) 2, new object[0]);
                Singleton <MainUIManager> .Instance.ShowDialog(new RedeemDialogContext(this._redeemCode, RedeemDialogContext.RedeemStatus.Error, null, networkErrCodeOutput), UIType.Any);
            }
            else
            {
                Singleton <NetworkManager> .Instance.RequestGetRedeemCodeInfo(this._redeemCode);

                Singleton <MainUIManager> .Instance.ShowWidget(new LoadingWheelWidgetContext(0xd4, null), UIType.Any);
            }
        }
예제 #12
0
        private bool OnStageEndRsp(EndlessStageEndRsp rsp)
        {
            if (rsp.get_retcode() == null)
            {
                base.view.transform.Find("Actions/ContinueBtn").gameObject.SetActive((this.isSuccess && (rsp.get_progress() < Singleton <PlayerModule> .Instance.playerData.endlessMaxProgress)) && (Singleton <PlayerModule> .Instance.playerData.GetMemberList(4).Count > 0));
                this.DoSetupView();
            }
            else
            {
                string networkErrCodeOutput = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
                Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(networkErrCodeOutput, 2f), UIType.Any);

                this.Exit();
            }
            return(false);
        }
예제 #13
0
        private bool OnAvatarSubSkillLevelUpRsp(AvatarSubSkillLevelUpRsp rsp)
        {
            if (rsp.get_retcode() != null)
            {
                string desc = string.Empty;
                if (rsp.get_retcode() == 5)
                {
                    int      num           = !this.subSkillData.UnLocked ? this.subSkillData.UnlockLv : this.subSkillData.LvUpNeedAvatarLevel;
                    object[] replaceParams = new object[] { num };
                    desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), replaceParams);
                }
                else if (rsp.get_retcode() == 6)
                {
                    int      num2      = !this.subSkillData.UnLocked ? this.subSkillData.UnlockStar : this.subSkillData.GetUpLevelStarNeed();
                    string   str2      = MiscData.Config.AvatarStarName[num2];
                    object[] objArray2 = new object[] { str2 };
                    desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), objArray2);
                }
                else
                {
                    desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
                }
                Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(desc, 2f), UIType.Any);
            }
            else
            {
                Dictionary <int, SubSkillStatus> subSkillStatusDict = Singleton <MiHoYoGameData> .Instance.LocalData.SubSkillStatusDict;
                switch (this.subSkillData.Status)
                {
                case SubSkillStatus.CanUnlock:
                case SubSkillStatus.CanUpLevel:
                    subSkillStatusDict[this.subSkillData.subSkillID] = this.subSkillData.Status;
                    break;

                default:
                    subSkillStatusDict.Remove(this.subSkillData.subSkillID);
                    break;
                }
                Singleton <MiHoYoGameData> .Instance.Save();

                Singleton <NotifyManager> .Instance.FireNotify(new Notify(NotifyTypes.SubSkillStatusCacheUpdate, null));

                this.Close();
            }
            return(false);
        }
 public bool OnSelectNewStigmataAffixRsp(SelectNewStigmataAffixRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         this.OnBGClick();
     }
     else
     {
         GeneralDialogContext dialogContext = new GeneralDialogContext {
             type = GeneralDialogContext.ButtonType.SingleButton,
             title = LocalizationGeneralLogic.GetText("Menu_Title_ExchangeFail", new object[0]),
             desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0])
         };
         Singleton<MainUIManager>.Instance.ShowDialog(dialogContext, UIType.Any);
     }
     return false;
 }
예제 #15
0
 public bool OnDispatchIslandVentureRsp(DispatchIslandVentureRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         this.BackPage();
     }
     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);
 }
예제 #16
0
 public bool OnStageBeginRsp(EndlessStageBeginRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         this._stageBeginRsp = rsp;
         this.DoBeginLevel();
     }
     else
     {
         this.ResetWaitPacketData();
         GeneralDialogContext dialogContext = new GeneralDialogContext {
             type  = GeneralDialogContext.ButtonType.SingleButton,
             title = LocalizationGeneralLogic.GetText("Menu_Title_Tips", new object[0])
         };
         dialogContext.desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
         Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
     }
     return(false);
 }
예제 #17
0
        private bool OnDelFriendRsp(DelFriendRsp rsp)
        {
            if (rsp.get_retcode() == null)
            {
                Singleton <MainUIManager> .Instance.CurrentPageContext.BackPage();

                string str = Singleton <FriendModule> .Instance.TryGetPlayerNickName((int)rsp.get_target_uid());

                object[] replaceParams = new object[] { str };
                string   text          = LocalizationGeneralLogic.GetText("Menu_Desc_DeleteFriend", replaceParams);
                Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(text, 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);
        }
예제 #18
0
 private bool OnManualRefreshShopRsp(ManualRefreshShopRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetText("Menu_ShopManualRefreshSuccess", new object[0]), 2f), UIType.Any);
     }
     else
     {
         GeneralDialogContext dialogContext = new GeneralDialogContext {
             type  = GeneralDialogContext.ButtonType.SingleButton,
             title = LocalizationGeneralLogic.GetText("Menu_Title_Tips", new object[0])
         };
         dialogContext.desc = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]);
         if (!string.IsNullOrEmpty(dialogContext.desc))
         {
             Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
         }
     }
     return(false);
 }
예제 #19
0
        private bool OnEquipmentPowerUpRsp(EquipmentPowerUpRsp rsp)
        {
            if (rsp.get_retcode() == null)
            {
                Singleton <MainUIManager> .Instance.ShowDialog(new EquipPowerUpEffectDialogContext(this._storageItemBeforePowerup, this.storageItem, this._resourceList, EquipPowerUpEffectDialogContext.DialogType.PowerUp, (int)rsp.get_boost_rate()), UIType.Any);

                this._resourceList.Clear();
                this.SetupResourceListView();
                this.OnSetResourceList();
            }
            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);
        }
예제 #20
0
        private bool OnAvatarStarUpRsp(AvatarStarUpRsp rsp)
        {
            if (rsp.get_retcode() != null)
            {
                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);
            }
            else
            {
                Singleton <ApplicationManager> .Instance.StartCoroutine(this.PostLevelUpAudioCoroutine(this.avatarData.avatarID));

                Singleton <MainUIManager> .Instance.ShowDialog(new AvatarPromotionDialogContext(this.avatarData), UIType.Any);

                UIUtil.UpdateAvatarSkillStatusInLocalData(this.avatarData);
                this.SetupSkillTab();
            }
            return(false);
        }
예제 #21
0
 private bool OnDressEquipmentRsp(DressEquipmentRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         if (this.slot != 1)
         {
             bool flag = (this.storageItem != null) && (this.storageItem == this._selectedItem);
             StorageDataItemBase base2    = !flag ? this._selectedItem : null;
             BaseMonoUIAvatar    uIAvatar = UIUtil.GetUIAvatar(this.avatarData.avatarID);
             if (flag)
             {
                 if (uIAvatar != null)
                 {
                     uIAvatar.StigmataFadeOut(this.slot);
                 }
             }
             else if ((base2 != null) && (uIAvatar != null))
             {
                 uIAvatar.ChangeStigmata(this.storageItem as StigmataDataItem, this._selectedItem as StigmataDataItem, this.slot);
             }
             EquipSetDataItem ownEquipSetData = this.avatarData.GetOwnEquipSetData();
             if ((ownEquipSetData != null) && (ownEquipSetData.ownNum == 3))
             {
                 Singleton <WwiseAudioManager> .Instance.Post("VO_M_Con_07_OneSuite", null, null, null);
             }
         }
         this.BackPage();
     }
     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);
 }
예제 #22
0
 public bool OnFeedStigmataAffixRsp(FeedStigmataAffixRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         List <StorageDataItemBase> materialList = new List <StorageDataItemBase> {
             this._selectedItem
         };
         StorageDataItemBase itemDataAfter = this.stigmata.Clone();
         int num  = !rsp.get_new_pre_affix_idSpecified() ? 0 : ((int)rsp.get_new_pre_affix_id());
         int num2 = !rsp.get_new_suf_affix_idSpecified() ? 0 : ((int)rsp.get_new_suf_affix_id());
         (itemDataAfter as StigmataDataItem).SetAffixSkill(true, num, num2);
         Singleton <MainUIManager> .Instance.ShowDialog(new EquipPowerUpEffectDialogContext(this.stigmata, itemDataAfter, materialList, EquipPowerUpEffectDialogContext.DialogType.NewAffix, 100), UIType.Any);
     }
     else
     {
         GeneralDialogContext dialogContext = new GeneralDialogContext {
             type  = GeneralDialogContext.ButtonType.SingleButton,
             title = LocalizationGeneralLogic.GetText("Menu_Title_ExchangeFail", new object[0]),
             desc  = LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0])
         };
         Singleton <MainUIManager> .Instance.ShowDialog(dialogContext, UIType.Any);
     }
     return(false);
 }
예제 #23
0
 public bool OnIdentifyStigmataAffixRsp(IdentifyStigmataAffixRsp rsp)
 {
     if (rsp.get_retcode() == null)
     {
         base.view.transform.Find("Info/IdentifyBtn").GetComponent <DragObject>().OnIdentifyStigmataAffixSucc();
     }
     else
     {
         Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetNetworkErrCodeOutput(rsp.get_retcode(), new object[0]), 2f), UIType.Any);
     }
     return(false);
 }
예제 #24
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);
 }