예제 #1
0
    private void StartCutSceneCallBack()
    {
        this.leftLargeMonsterIcon.Data = this.baseDigimon;
        GUIMonsterIcon icon = ClassSingleton <GUIMonsterIconList> .Instance.GetIcon(this.baseDigimon);

        this.iconGrayOut.SetSelect(icon);
        for (int i = 0; i < this.selecterPartnerDigimons.Count; i++)
        {
            UnityEngine.Object.Destroy(this.targetMonsterIconList[i].gameObject);
            this.goMN_ICON_MAT_LIST[i].SetActive(true);
        }
        this.selecterPartnerDigimons = new List <MonsterData>();
        this.targetMonsterIconList.Clear();
        DataMng.Instance().US_PlayerInfoSubChipNum(this.useClusterBK);
        this.UpdateClusterNum();
        this.baseMonsterSkillTab1.Off();
        this.baseMonsterSkillTab2.Off();
        this.baseMonsterSkillTab2.SetActive(false);
        this.materialMonsterSkillTab1.Off();
        this.materialMonsterSkillTab2.Off();
        this.materialMonsterSkillTab2.SetActive(false);
        this.ShowChgInfo();
        this.ShowMATInfo();
        this.monsterList.SetGrayOutDeckMonster(this.baseDigimon);
        this.monsterList.SetGrayOutUserMonsterList(this.baseDigimon);
        this.BtnCont();
        this.detailedWindow = CMD_CharacterDetailed.CreateWindow(this.baseDigimon, delegate()
        {
            this.leftLargeMonsterIcon.Lock = this.baseDigimon.userMonster.IsLocked;
            icon.Lock = this.baseDigimon.userMonster.IsLocked;
        }, 1);
    }
예제 #2
0
    private void StartCutSceneCallBack()
    {
        if (CMD_BaseSelect.instance != null)
        {
            CMD_BaseSelect.instance.InitMonsterList(false);
            CMD_BaseSelect.instance.ChipNumUpdate();
            CMD_BaseSelect.instance.SetEmpty();
            CMD_BaseSelect.instance.SetDecideButton(false);
        }
        MonsterData afterMonster = MonsterDataMng.Instance().GetMonsterDataByUserMonsterID(this.evolveDataBK.md.userMonster.userMonsterId, true);

        base.SetCloseAction(delegate(int inx)
        {
            CMD_Evolution $this             = this;
            MonsterData afterMonster        = afterMonster;
            string effectType               = this.evolveDataBK.mem.effectType;
            bool reviewFirstEvolution       = this.execEvolutionReviewStatus == CMD_Evolution.EvolutionReviewStatus.FIRST_EVOLUTION_REVIEW;
            bool reviewFirstUltimaEvolution = this.execEvolutionReviewStatus == CMD_Evolution.EvolutionReviewStatus.FIRST_ULTIMA_EVOLUTION_REVIEW;
            if (CMD_Evolution.< > f__mg$cache4 == null)
            {
                CMD_Evolution.< > f__mg$cache4 = new Action(RestrictionInput.EndLoad);
            }
            $this.detailedWindow = CMD_CharacterDetailed.CreateWindow(afterMonster, effectType, reviewFirstEvolution, reviewFirstUltimaEvolution, CMD_Evolution.< > f__mg$cache4);
        });
        this.ClosePanel(false);
    }
예제 #3
0
    private void CallEvolutionCutScene(MonsterData monsterData, CutsceneDataEvolution cutsceneData)
    {
        CMD_CharacterDetailed detailedWindow = null;

        CutSceneMain.FadeReqCutScene(cutsceneData, delegate()
        {
            FarmCameraControlForCMD.Off();
            detailedWindow = CMD_CharacterDetailed.CreateWindow(monsterData);
            this.DestroyRender3DRT();
            if (!this.IsOfflineModeFlag)
            {
                this.InitMonsterList();
                if (this.gardenInfoList != null)
                {
                    TimeSpan timeSpan    = this.endDateTime - ServerDateTime.Now;
                    int shortenTimeValue = this.GetShortenTimeValue(this.gardenInfoList, monsterData.userMonster.userMonsterId);
                    this.growNeedStone   = this.GetCostEvolution(shortenTimeValue, timeSpan);
                }
                DkLog.W(string.Format("デジストーン {0} : {1}", DataMng.Instance().RespDataUS_PlayerInfo.playerInfo.point, this.growNeedStone), false);
                DataMng.Instance().RespDataUS_PlayerInfo.playerInfo.point -= this.growNeedStone;
            }
        }, delegate()
        {
            detailedWindow.StartAnimation();
            RestrictionInput.EndLoad();
            if (this.finishedActionCutScene != null)
            {
                this.finishedActionCutScene();
                this.finishedActionCutScene = null;
            }
        }, 0.5f, 0.5f);
    }
예제 #4
0
    private void OnStartCutScene(bool isArousal, bool isResetEquipChip)
    {
        base.RemoveBaseDigimon();
        base.RemovePartnerDigimon();
        this.ClearTargetStatus();
        DataMng.Instance().US_PlayerInfoSubChipNum(this.useClusterBK);
        base.UpdateClusterNum();
        GUIPlayerStatus.RefreshParams_S(false);
        string      userMonsterId = this.GetUserMonsterData().userMonsterId;
        MonsterData monsterDataByUserMonsterID = MonsterDataMng.Instance().GetMonsterDataByUserMonsterID(userMonsterId, false);
        Action      endCutin = null;

        if (isResetEquipChip)
        {
            if (CMD_Laboratory.< > f__mg$cache2 == null)
            {
                CMD_Laboratory.< > f__mg$cache2 = new Action(RestrictionInput.EndLoad);
            }
            endCutin = CMD_Laboratory.< > f__mg$cache2;
        }
        this.characterDetailed = CMD_CharacterDetailed.CreateWindow(monsterDataByUserMonsterID, isArousal, isResetEquipChip, endCutin);
    }