private void ExchangeErrorPopup()
    {
        string exchangeErrorCode = ClassSingleton <ExchangeWebAPI> .Instance.exchangeErrorCode;

        if (exchangeErrorCode != null)
        {
            if (exchangeErrorCode == "E-EX01")
            {
                CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage.Title = StringMaster.GetString("ExchangeTermTitle");
                cmd_ModalMessage.Info  = StringMaster.GetString("ExchangeTermInfo");
                return;
            }
            if (exchangeErrorCode == "E-EX02")
            {
                CMD_ModalMessage cmd_ModalMessage2 = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage2.Title = StringMaster.GetString("ExchangeShortageTitle");
                cmd_ModalMessage2.Info  = StringMaster.GetString("ExchangeShortageInfo");
                return;
            }
            if (exchangeErrorCode == "E-EX03")
            {
                CMD_ModalMessage cmd_ModalMessage3 = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage3.Title = StringMaster.GetString("ExchangeLimitTitle");
                cmd_ModalMessage3.Info  = StringMaster.GetString("ExchangeLimitInfo");
                return;
            }
        }
        CMD_ModalMessage cmd_ModalMessage4 = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage4.Title = StringMaster.GetString("ExchangeFailedTitle");
        cmd_ModalMessage4.Info  = StringMaster.GetString("ExchangeFailedInfo");
    }
Ejemplo n.º 2
0
 public void CampaignErrorCloseAllCommonDialog(bool is_finished, Action finish)
 {
     if (is_finished)
     {
         CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(delegate(int r)
         {
             if (finish != null)
             {
                 finish();
             }
         }, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage.Title = StringMaster.GetString("CampaignEndTitle");
         cmd_ModalMessage.Info  = StringMaster.GetString("CampaignEndInfo");
     }
     else
     {
         CMD_ModalMessage cmd_ModalMessage2 = GUIMain.ShowCommonDialog(delegate(int r)
         {
             if (finish != null)
             {
                 finish();
             }
         }, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage2.Title = StringMaster.GetString("CampaignStartTitle");
         cmd_ModalMessage2.Info  = StringMaster.GetString("CampaignStartInfo");
     }
 }
 private void FinishedRecoverStamina()
 {
     CMD_ModalMessage.Create(StringMaster.GetString("StaminaRecoveryTitle"), StringMaster.GetString("StaminaRecoveryCompleted"), delegate(int noop)
     {
         this.StartReplayRequest();
     });
 }
Ejemplo n.º 4
0
    private void OnPushedBuyButton()
    {
        int nowCount = this.GetNowCount();

        if (nowCount != -1)
        {
            FacilityM facilityMaster = FarmDataManager.GetFacilityMaster(this.facilityID);
            if (int.Parse(facilityMaster.maxNum) <= nowCount)
            {
                CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage.Title = StringMaster.GetString("FacilityShopBuildMaxTitle");
                cmd_ModalMessage.Info  = StringMaster.GetString("FacilityShopMuxNumInfo");
            }
            else if (2 <= FarmUtility.GetBuildFacilityCount())
            {
                CMD_ModalMessage cmd_ModalMessage2 = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage2.Title = StringMaster.GetString("FacilityShopBuildMaxNumTitle");
                cmd_ModalMessage2.Info  = StringMaster.GetString("FacilityShopBuildMaxNumInfo");
            }
            else if (this.onPushedBuyButton != null)
            {
                this.onPushedBuyButton(this);
            }
        }
    }
    private void OpenNoNeedShortening(int noop)
    {
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("FacilityShortcutTitle");
        cmd_ModalMessage.Info  = StringMaster.GetString("FacilityShortcutAlready");
    }
        private static void DisableButtonPushAction()
        {
            CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

            cmd_ModalMessage.Title = StringMaster.GetString("TrainingMissingAlertTitle");
            cmd_ModalMessage.Info  = StringMaster.GetString("TrainingMissingAlertInfo-02");
        }
Ejemplo n.º 7
0
    private void OnTappedMAT_0()
    {
        if (!this.CanEnter())
        {
            CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
            cmd_ModalMessage.Title = this.GetTitle();
            cmd_ModalMessage.Info  = this.GetInfoCannotEnter();
            return;
        }
        bool flag = this.CanSelectMonster(0);

        if (flag)
        {
            this.SetBaseSelectType();
            CMD_BaseSelect.ElementType = CMD_BaseSelect.ELEMENT_TYPE.BASE;
            CommonDialog commonDialog = GUIMain.ShowCommonDialog(delegate(int index)
            {
                if (index == 1 && CMD_BaseSelect.DataChg != null)
                {
                    this.baseDigimon   = CMD_BaseSelect.DataChg;
                    this.goBaseDigimon = this.SetSelectedCharChg(this.baseDigimon, this.baseDetail.GetCharaIconObject(), this.goBaseDigimon, 0);
                    this.ShowMATInfo_0();
                    this.ShowCHGInfo();
                    this.BtnCont();
                    this.OnBaseSelected();
                }
            }, "CMD_BaseSelect", null);
            commonDialog.SetForceReturnValue(0);
        }
        else
        {
            this.OpenCanNotSelectMonsterPop();
        }
    }
Ejemplo n.º 8
0
    protected override void OpenBaseDigimonNonePop()
    {
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("LaboratoryNotSelectedTitle");
        cmd_ModalMessage.Info  = StringMaster.GetString("LaboratoryNotSelectedInfo");
    }
Ejemplo n.º 9
0
 private void openPvPContent()
 {
     this.csPartPvPParent.ReleaseBuild();
     this.chatGroupDefaultText.SetActive(false);
     this.goListContainer.SetActive(true);
     this.multiContainer.SetActive(false);
     this.chatContainer.SetActive(false);
     this.menuWrap.SetActive(false);
     if (this.isColosseumOpen)
     {
         this.pvpContainer.SetActive(true);
         this.GetPvPFriendList();
         this.goMultiUpdateBtn.SetActive(true);
     }
     else
     {
         CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage.Title = StringMaster.GetString("ColosseumTitle");
         cmd_ModalMessage.Info  = StringMaster.GetString("ColosseumLimit");
         this.goMultiUpdateBtn.SetActive(false);
         this.chatGroupDefaultText.SetActive(true);
         this.ngChatGroupDefaultText.text = StringMaster.GetString("ColosseumLimit");
     }
     this.searchFieldTypeTop.SetActive(false);
     this.searchFieldTypeSearch.SetActive(false);
 }
Ejemplo n.º 10
0
        public static void chatGroupMaxJoinDialog()
        {
            CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

            cmd_ModalMessage.Title = StringMaster.GetString("SystemConfirm");
            cmd_ModalMessage.Info  = StringMaster.GetString("ChatSearch-05");
        }
Ejemplo n.º 11
0
    protected override void OpenCanNotSelectMonsterPop()
    {
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("LaboratoryNoUltimateTitle");
        cmd_ModalMessage.Info  = StringMaster.GetString("LaboratoryNoUltimateInfo");
    }
Ejemplo n.º 12
0
 private void OnSelectedRecover()
 {
     base.StartCoroutine(this.RequestRecoverLife(delegate
     {
         GUIPlayerStatus.RefreshParams_S(true);
         this.userStamina.RefreshParams();
         CMD_ChangePOP_STONE cmd_ChangePOP_STONE = UnityEngine.Object.FindObjectOfType <CMD_ChangePOP_STONE>();
         if (null != cmd_ChangePOP_STONE)
         {
             cmd_ChangePOP_STONE.SetCloseAction(delegate(int i)
             {
                 CMD_ModalMessage.Create(StringMaster.GetString("StaminaRecoveryTitle"), StringMaster.GetString("StaminaRecoveryCompleted"), delegate(int index)
                 {
                     this.OnClickedDungeon(this.StageDataBk, this.StageNumBk, null);
                 });
             });
             cmd_ChangePOP_STONE.ClosePanel(true);
         }
         else
         {
             CMD_ModalMessage.Create(StringMaster.GetString("StaminaRecoveryTitle"), StringMaster.GetString("StaminaRecoveryCompleted"), delegate(int index)
             {
                 this.OnClickedDungeon(this.StageDataBk, this.StageNumBk, null);
             });
         }
     }));
 }
        private void OnPushedButton()
        {
            MonsterData md = this.listPartsRoot.Data.md;

            if (md.userMonster.IsLocked)
            {
                this.ShowFailedLockMonster();
            }
            else if (!this.listPartsRoot.IsPossessCluster())
            {
                CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage.Title = StringMaster.GetString("EvolutionTitle");
                cmd_ModalMessage.Info  = StringMaster.GetString("EvolutionFailedTip");
            }
            else if ("2" == this.listPartsRoot.GetEvotuionType())
            {
                this.ShowConfirmExecution(StringMaster.GetString("EvolutionModeChange"), StringMaster.GetString("EvolutionConfirmModeChange"));
            }
            else
            {
                int num  = int.Parse(md.userMonster.level);
                int num2 = int.Parse(md.monsterM.maxLevel);
                if (num >= num2)
                {
                    this.ShowConfirmExecution(StringMaster.GetString("EvolutionConfirmTitle"), StringMaster.GetString("EvolutionConfirmInfo"));
                }
                else
                {
                    CMD_ModalMessage cmd_ModalMessage2 = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
                    cmd_ModalMessage2.Title = StringMaster.GetString("EvolutionTitle");
                    cmd_ModalMessage2.Info  = string.Format(StringMaster.GetString("EvolutionFailedLv"), StringMaster.GetString("EvolutionTitle"));
                }
            }
        }
Ejemplo n.º 14
0
    protected override void OpenCanNotSelectMonsterPop()
    {
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("VersionUpTitle");
        cmd_ModalMessage.Info  = StringMaster.GetString("VersionUpCannotVersionUp");
    }
Ejemplo n.º 15
0
    private IEnumerator SendMultiRecruitChat()
    {
        MultiTools.DispLoading(true, RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON);
        foreach (GUIListChatGroupParts chat in this.csPartChatListParent.chatPartsList)
        {
            if (chat.isSelected)
            {
                base.StartCoroutine(Singleton <TCPUtil> .Instance.SendChatMessage(int.Parse(chat.Data.chatGroupId), string.Concat(new string[]
                {
                    CMD_MultiRecruitPartyWait.roomCreateData.multiRoomInfo.worldStageId,
                    ",",
                    CMD_MultiRecruitPartyWait.roomCreateData.multiRoomInfo.worldDungeonId,
                    ",",
                    CMD_MultiRecruitPartyWait.roomCreateData.multiRoomInfo.multiRoomId
                }), 4, null));
                yield return(null);
            }
        }
        MultiTools.DispLoading(false, RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON);
        yield return(null);

        CMD_ModalMessage cd = GUIMain.ShowCommonDialog(new Action <int>(this.CloseModalMessage), "CMD_ModalMessage", null) as CMD_ModalMessage;

        cd.Title = StringMaster.GetString("MultiRecruitChat-05");
        cd.Info  = StringMaster.GetString("MultiRecruitChat-06");
        yield break;
    }
Ejemplo n.º 16
0
    private void OnPushedYesButton()
    {
        int level = this.userFacility.level + 1;
        FacilityUpgradeM facilityUpgradeMaster = FarmDataManager.GetFacilityUpgradeMaster(this.userFacility.facilityId, level);

        if (FarmUtility.IsShortage(facilityUpgradeMaster.upgradeAssetCategoryId1, facilityUpgradeMaster.upgradeAssetNum1))
        {
            this.OpenModalShortageMessage(facilityUpgradeMaster.upgradeAssetCategoryId1);
        }
        else if (2 <= FarmUtility.GetBuildFacilityCount())
        {
            CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
            cmd_ModalMessage.Title = StringMaster.GetString("FacilityUpgradeBuildTitle");
            cmd_ModalMessage.Info  = StringMaster.GetString("FacilityUpgradeBuildInfo");
        }
        else
        {
            FarmFacilityData.FacilityID facilityId = (FarmFacilityData.FacilityID) this.userFacility.facilityId;
            FacilityUpgradeConfirm      facilityUpgradeConfirm;
            if (facilityId != FarmFacilityData.FacilityID.MEAT_FARM)
            {
                facilityUpgradeConfirm = new FacilityUpgradeConfirm(this, this.userFacility);
            }
            else
            {
                facilityUpgradeConfirm = new FacilityUpgradeConfirm_MeatFarm(this, this.userFacility);
            }
            facilityUpgradeConfirm.Upgrade();
        }
    }
Ejemplo n.º 17
0
    protected virtual void OpenModalShortageMessage(string categoryId)
    {
        GameWebAPI.RespDataMA_GetAssetCategoryM.AssetCategoryM assetCategory = MasterDataMng.Instance().RespDataMA_AssetCategoryM.GetAssetCategory(categoryId);
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = string.Format(StringMaster.GetString("SystemShortage"), assetCategory.assetTitle);
        cmd_ModalMessage.Info  = string.Format(StringMaster.GetString("FacilityUpgradeFailedShortage"), assetCategory.assetTitle);
    }
Ejemplo n.º 18
0
    private void CopyUserCodeToClipboard()
    {
        Clipboard.Text = this.userCodeLabel.text;
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("SystemCopy");
        cmd_ModalMessage.Info  = StringMaster.GetString("MyProfile-06");
    }
Ejemplo n.º 19
0
    private void CopyTakeoverCodeToClipboard()
    {
        Clipboard.Text = this.takeoverCodeLabel.text;
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("SystemCopy");
        cmd_ModalMessage.Info  = StringMaster.GetString("TakeOver-09");
    }
Ejemplo n.º 20
0
    private void OpenRewardModalMessage(MissionItem missionItem, bool isAll = false)
    {
        GameWebAPI.RespDataMS_MissionRewardLogic.Result[] result = ClassSingleton <MissionWebAPI> .Instance.MissionRewardLogicData.result;
        int           num  = 0;
        List <string> list = new List <string>
        {
            StringMaster.GetString("Mission-10")
        };

        foreach (GameWebAPI.RespDataMS_MissionRewardLogic.Result result2 in result)
        {
            if (result2.viewFlg == "1")
            {
                int.TryParse(result2.assetCategoryId, out num);
                string assetTitle = DataMng.Instance().GetAssetTitle(result2.assetCategoryId, result2.assetValue);
                string assetNum   = result2.assetNum;
                list.Add(string.Format(StringMaster.GetString("SystemItemCount"), assetTitle, assetNum));
            }
        }
        string       info   = string.Join("\n", list.ToArray());
        Action <int> action = delegate(int a)
        {
            RestrictionInput.StartLoad(RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON);
            APIRequestTask apirequestTask = ClassSingleton <MissionWebAPI> .Instance.AccessMissionInfoLogicAPI();

            apirequestTask.Add(DataMng.Instance().RequestMyPageData(false));
            this.StartCoroutine(apirequestTask.Run(delegate
            {
                if (int.Parse(missionItem.missionCategoryId) == 191 || int.Parse(missionItem.missionCategoryId) == 192)
                {
                    PartsUpperCutinController.AnimeType playType = (!(missionItem.lastStepFlg == "1")) ? PartsUpperCutinController.AnimeType.StageClear : PartsUpperCutinController.AnimeType.MissionClear;
                    Loading.Invisible();
                    this.cutinController.PlayAnimator(playType, delegate
                    {
                        this.RunReMissionInfoLogicAPIHelper();
                    });
                }
                else
                {
                    this.RunReMissionInfoLogicAPIHelper();
                }
            }, delegate(Exception nop)
            {
                RestrictionInput.EndLoad();
                this.ClosePanel(true);
            }, null));
        };
        string title = this.GetTitle(CMD_Mission.nowFocusType);

        this.stringBuilder.Append(title);
        this.stringBuilder.Append(StringMaster.GetString("MissionClearItemGet"));
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(action, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = ((!isAll) ? StringMaster.GetString("Mission-07") : this.stringBuilder.ToString());
        cmd_ModalMessage.Info  = info;
        cmd_ModalMessage.AdjustSize();
        this.stringBuilder.Length = 0;
    }
Ejemplo n.º 21
0
    public static CMD_ModalMessage Create(string title, string info, Action <int> onCloseAction = null)
    {
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(onCloseAction, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title   = title;
        cmd_ModalMessage.Info    = info;
        cmd_ModalMessage.BtnText = StringMaster.GetString("SystemButtonClose");
        return(cmd_ModalMessage);
    }
    protected void OnCloseGetBirthdayComplete()
    {
        DataMng.Instance().RespDataUS_PlayerInfo.playerInfo.birthday = this.inYear.value + "-" + this.inMonth.value + "-01";
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(delegate(int nop)
        {
            this.ClosePanel(true);
        }, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("ShopAgeCompletedTitle");
        cmd_ModalMessage.Info  = StringMaster.GetString("ShopAgeCompletedInfo");
    }
Ejemplo n.º 23
0
    private bool CanPlayDungeonStamina()
    {
        bool result  = false;
        int  stamina = DataMng.Instance().RespDataUS_PlayerInfo.playerInfo.stamina;
        int  num     = int.Parse(DataMng.Instance().RespDataUS_PlayerInfo.playerInfo.staminaMax);

        this.needLife = int.Parse(this.StageDataBk.worldDungeonM.needStamina);
        if (this.campaignInfoBk != null)
        {
            float num2 = (float)this.needLife;
            this.needLife = Mathf.CeilToInt(num2 * float.Parse(this.campaignInfoBk.rate));
        }
        int point = DataMng.Instance().RespDataUS_PlayerInfo.playerInfo.point;

        if (num < this.needLife)
        {
            CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
            cmd_ModalMessage.Title = StringMaster.GetString("QuestNormal");
            cmd_ModalMessage.Info  = StringMaster.GetString("QuestStaminaOver");
        }
        else if (stamina < this.needLife)
        {
            if (point >= ConstValue.RECOVER_STAMINA_DIGISTONE_NUM)
            {
                CMD_ChangePOP_STONE cmd_ChangePOP_STONE = GUIMain.ShowCommonDialog(null, "CMD_ChangePOP_STONE", null) as CMD_ChangePOP_STONE;
                cmd_ChangePOP_STONE.Title             = StringMaster.GetString("StaminaShortageTitle");
                cmd_ChangePOP_STONE.OnPushedYesAction = new Action(this.OnSelectedRecover);
                cmd_ChangePOP_STONE.Info = string.Format(StringMaster.GetString("StaminaShortageInfo"), new object[]
                {
                    ConstValue.RECOVER_STAMINA_DIGISTONE_NUM,
                    stamina,
                    stamina + num,
                    point
                });
                cmd_ChangePOP_STONE.SetDigistone(point, ConstValue.RECOVER_STAMINA_DIGISTONE_NUM);
                cmd_ChangePOP_STONE.BtnTextYes = StringMaster.GetString("StaminaRecoveryExecution");
                cmd_ChangePOP_STONE.BtnTextNo  = StringMaster.GetString("SystemButtonClose");
            }
            else
            {
                CMD_Confirm cmd_Confirm = GUIMain.ShowCommonDialog(new Action <int>(this.OnCloseConfirmShop), "CMD_Confirm", null) as CMD_Confirm;
                cmd_Confirm.Title      = StringMaster.GetString("StaminaShortageTitle");
                cmd_Confirm.Info       = string.Format(StringMaster.GetString("StaminaShortageGoShop"), ConstValue.RECOVER_STAMINA_DIGISTONE_NUM);
                cmd_Confirm.BtnTextYes = StringMaster.GetString("SystemButtonGoShop");
                cmd_Confirm.BtnTextNo  = StringMaster.GetString("SystemButtonClose");
            }
        }
        else
        {
            result = true;
        }
        return(result);
    }
Ejemplo n.º 24
0
    private void AfterCreateChatGroup()
    {
        ClassSingleton <ChatData> .Instance.UpdateMaxJoinState();

        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(delegate(int i)
        {
            this.ClosePanel(true);
        }, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("ChatConfirmTitle");
        cmd_ModalMessage.Info  = string.Format(StringMaster.GetString("ChatGroupCreateSuccess"), this.groupNameInput.value);
    }
Ejemplo n.º 25
0
 private void AfterChatCancelMemberRequest(GameWebAPI.RespData_ChatCancelMemberRequestLogic data)
 {
     if (ChatTools.CheckOnFLG(data.result))
     {
         CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(delegate(int i)
         {
             this.GetUserChatRequestListExec();
         }, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage.Title = StringMaster.GetString("SystemConfirm");
         cmd_ModalMessage.Info  = string.Format(StringMaster.GetString("ChatApply-05"), ClassSingleton <ChatData> .Instance.CurrentChatInfo.groupName);
     }
 }
Ejemplo n.º 26
0
    public void SetFavoriteDeckNo(int partyNo)
    {
        this.favoriteDeckNo = partyNo;
        this.SetFavoriteButton(true);
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        if (cmd_ModalMessage != null)
        {
            cmd_ModalMessage.Title = StringMaster.GetString("PartyFavoriteTitle");
            cmd_ModalMessage.Info  = StringMaster.GetString("PartyFavoriteInfo");
        }
    }
Ejemplo n.º 27
0
 private void UIDigiviceClearingHouse()
 {
     if (0 < FarmRoot.Instance.Scenery.GetFacilityCount(22))
     {
         this.ShowCommonDialog(null, "CMD_ClearingHouseTOP");
     }
     else
     {
         CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage.Title = StringMaster.GetString("ExchangeMissingAlertTitle");
         cmd_ModalMessage.Info  = StringMaster.GetString("ExchangeMissingAlertInfo");
     }
 }
Ejemplo n.º 28
0
 private void OnFinishArousalCutin()
 {
     if (this.onEndCutin != null)
     {
         this.onEndCutin();
     }
     if (this.isResetEquipChip)
     {
         CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage.Title = StringMaster.GetString("LaboratoryTitle");
         cmd_ModalMessage.Info  = StringMaster.GetString("LaboratoryCautionChip");
     }
 }
        private void OpenDialogFailedProtection(CMD_CharacterDetailed.LockMode lockMode)
        {
            global::Debug.Assert(!this.isLocked, "ロック中に更にロックすることはできない");
            CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

            cmd_ModalMessage.Title = StringMaster.GetString("CharaDetailsNotLock");
            if (this.protection == null)
            {
                this.protection = new CharacterDetailsProtection();
            }
            this.protection.SetErrorText(lockMode);
            cmd_ModalMessage.Info = this.protection.GetErrorText();
        }
    private void EndFriendRequest()
    {
        RestrictionInput.EndLoad();
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(delegate(int index)
        {
            this.ButtonSetActive(BattleResultFriendReqInfo.FRIEND_TYPE.APPLYING);
        }, "CMD_ModalMessage", null) as CMD_ModalMessage;

        if (null != cmd_ModalMessage)
        {
            cmd_ModalMessage.Title = StringMaster.GetString("Profile-13");
            cmd_ModalMessage.Info  = StringMaster.GetString("Profile-14");
        }
    }