public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataMedalInherit cutsceneDataMedalInherit = data as CutsceneDataMedalInherit;

        if (cutsceneDataMedalInherit != null)
        {
            this.endCallback = cutsceneDataMedalInherit.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(this.baseMonsterParentTransform, cutsceneDataMedalInherit.baseModelId);
            gameObject.transform.localPosition = Vector3.zero;
            gameObject.transform.localRotation = Quaternion.identity;
            GameObject gameObject2 = CutsceneCommon.LoadMonsterModel(this.materialMonsterParentTransform, cutsceneDataMedalInherit.materialModelId);
            gameObject2.transform.localPosition = Vector3.zero;
            gameObject2.transform.localRotation = Quaternion.identity;
            CharacterParams component = gameObject.GetComponent <CharacterParams>();
            this.cameraTarget = component.characterCenterTarget;
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject2, this.mainCamera);
            CharacterParams component2 = gameObject2.GetComponent <CharacterParams>();
            this.animeEvent.Initialize(this.cutsceneSound, component, component2);
        }
    }
예제 #2
0
 public static void FadeReqCutScene(CutsceneDataBase cutsceneData, Action startSceneCallBack, Action endFadeInCallBack, float outSec = 0.5f, float inSec = 0.5f)
 {
     CutSceneMain.FadeReqCutScene(cutsceneData, startSceneCallBack, null, delegate(int i)
     {
         endFadeInCallBack();
     }, outSec, inSec);
 }
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataInheritance cutsceneDataInheritance = data as CutsceneDataInheritance;

        if (cutsceneDataInheritance != null)
        {
            this.endCallback = cutsceneDataInheritance.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            MaterialController[] componentsInChildren = base.GetComponentsInChildren <MaterialController>();
            foreach (MaterialController materialController in componentsInChildren)
            {
                materialController.isRealtimeUpdate = true;
            }
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(this.baseMonsterParentTransform, cutsceneDataInheritance.baseModelId);
            gameObject.transform.localPosition = Vector3.zero;
            gameObject.transform.localRotation = Quaternion.identity;
            GameObject gameObject2 = CutsceneCommon.LoadMonsterModel(this.materialMonsterParentTransform, cutsceneDataInheritance.materialModelId);
            gameObject2.transform.localPosition = Vector3.zero;
            gameObject2.transform.localRotation = Quaternion.identity;
            CharacterParams component = gameObject.GetComponent <CharacterParams>();
            this.cameraTarget = component.characterCenterTarget;
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject2, this.mainCamera);
            CharacterParams component2 = gameObject2.GetComponent <CharacterParams>();
            this.animeEvent.Initialize(this.cutsceneSound, component, component2);
        }
    }
예제 #4
0
        private void SetGashaCutScene(GameWebAPI.RespDataGA_ExecTicket gashaResult, int playCount)
        {
            string  bgmFileName = (playCount != 1) ? "bgm_205" : "bgm_204";
            UIPanel uipanel     = GUIMain.GetUIPanel();
            CutsceneDataTicketGasha cutsceneDataTicketGasha = new CutsceneDataTicketGasha
            {
                path           = "Cutscenes/ticketGacha",
                gashaResult    = gashaResult.userDungeonTicketList,
                bgmFileName    = bgmFileName,
                backgroundSize = uipanel.GetWindowSize()
            };

            cutsceneDataTicketGasha.endCallback = delegate(RenderTexture renderTexture)
            {
                UITexture txBG = CMD_TicketGashaResult.instance.txBG;
                txBG.mainTexture = renderTexture;
                txBG.width       = renderTexture.width;
                txBG.height      = renderTexture.height;
                CutSceneMain.FadeReqCutSceneEnd();
                SoundMng.Instance().PlayGameBGM("bgm_202");
            };
            Loading.Invisible();
            CutsceneDataBase cutsceneData = cutsceneDataTicketGasha;

            if (ExecGashaTicket.< > f__mg$cache0 == null)
            {
                ExecGashaTicket.< > f__mg$cache0 = new Action(CMD_TicketGashaResult.CreateDialog);
            }
            CutSceneMain.FadeReqCutScene(cutsceneData, ExecGashaTicket.< > f__mg$cache0, null, new Action <int>(this.OnShowedGashaResultDialog), 0.5f, 0.5f);
        }
예제 #5
0
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataJogress cutsceneDataJogress = data as CutsceneDataJogress;

        if (cutsceneDataJogress != null)
        {
            this.endCallback = cutsceneDataJogress.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(this.beforeMonsterParentTransform, cutsceneDataJogress.beforeModelId);
            gameObject.transform.localPosition = Vector3.zero;
            GameObject gameObject2 = CutsceneCommon.LoadMonsterModel(this.partnerMonsterParentTransform, cutsceneDataJogress.partnerModelId);
            gameObject2.transform.localPosition = Vector3.zero;
            GameObject gameObject3 = CutsceneCommon.LoadMonsterModel(this.afterMonsterParentTransform, cutsceneDataJogress.afterModelId);
            gameObject3.transform.localPosition = Vector3.zero;
            gameObject3.SetActive(false);
            this.afterMonsterCharaParam = gameObject3.GetComponent <CharacterParams>();
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject2, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject3, this.mainCamera);
            this.animeEvent.Initialize(this.cutsceneSound, gameObject, gameObject2, gameObject3);
        }
    }
예제 #6
0
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataFusion cutsceneDataFusion = data as CutsceneDataFusion;

        if (cutsceneDataFusion != null)
        {
            base.transform.localPosition = new Vector3(0f, 10f, 0f);
            this.endCallback             = cutsceneDataFusion.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(base.transform, cutsceneDataFusion.baseModelId);
            gameObject.transform.localPosition = new Vector3(-1.5f, 0f, 0f);
            GameObject gameObject2 = CutsceneCommon.LoadMonsterModel(base.transform, cutsceneDataFusion.materialModelId);
            gameObject2.transform.localPosition = new Vector3(1.5f, 0f, 0f);
            CharacterParams component = gameObject.GetComponent <CharacterParams>();
            component.PlayAnimation(CharacterAnimationType.idle, SkillType.Attack, 0, null, null);
            component = gameObject2.GetComponent <CharacterParams>();
            component.PlayAnimation(CharacterAnimationType.idle, SkillType.Attack, 0, null, null);
            GameObject gameObject3 = CutsceneCommon.LoadMonsterModel(base.transform, cutsceneDataFusion.eggModelId);
            gameObject3.transform.localPosition = Vector3.zero;
            gameObject3.SetActive(false);
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject2, this.mainCamera);
            this.scriptAnime.Initialize(this.cutsceneSound, base.transform.position, gameObject, gameObject2, gameObject3, cutsceneDataFusion.upArousal, this.allSkipButton.gameObject);
        }
    }
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataChipGasha cutsceneDataChipGasha = data as CutsceneDataChipGasha;

        if (cutsceneDataChipGasha != null)
        {
            this.endCallback    = cutsceneDataChipGasha.endCallback;
            this.bgmFileName    = cutsceneDataChipGasha.bgmFileName;
            this.backgroundSize = cutsceneDataChipGasha.backgroundSize;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(delegate
            {
                this.frameCT = this.startFadeOutFrame;
                this.StartFadeOut();
            });
            this.allSkipButton.Hide();
            GameWebAPI.RespDataGA_ExecChip.UserAssetList[] gashaResult = cutsceneDataChipGasha.gashaResult;
            int i = 0;
            while (i < gashaResult.Length)
            {
                string effectType = gashaResult[i].effectType;
                if (effectType == null || effectType == "1")
                {
                    goto IL_B7;
                }
                GameObject effect;
                if (!(effectType == "2"))
                {
                    if (!(effectType == "3"))
                    {
                        goto IL_B7;
                    }
                    effect = UnityEngine.Object.Instantiate <GameObject>(this.goPartsRainbow);
                }
                else
                {
                    effect = UnityEngine.Object.Instantiate <GameObject>(this.goPartsYellow);
                }
IL_EA:
                this.SetEffectLocator(this.goLocatorList[i], effect);
                effect = UnityEngine.Object.Instantiate <GameObject>(this.goPartsLight);
                this.SetEffectLocator(this.goLightLocatorList[i], effect);
                i++;
                continue;
IL_B7:
                effect = UnityEngine.Object.Instantiate <GameObject>(this.goPartsBlue);
                goto IL_EA;
            }
            for (int j = gashaResult.Length; j < this.goLocatorList.Count; j++)
            {
                this.goLocatorList[j].SetActive(false);
                this.goLightLocatorList[j].SetActive(false);
            }
        }
    }
예제 #8
0
 public static void FadeReqCutScene(CutsceneDataBase cutsceneData, Action startSceneCallBack, Action endSceneCallBack, Action <int> endFadeInCallBack, float outSec = 0.5f, float inSec = 0.5f)
 {
     CutSceneMain.cs_startSceneCallBack = startSceneCallBack;
     GUIFadeControll.SetFadeInfo(outSec, 0f, inSec, 1f);
     if (CutSceneMain.< > f__mg$cache0 == null)
     {
         CutSceneMain.< > f__mg$cache0 = new Action <int>(CutSceneMain.ExecCutScene);
     }
     GUIFadeControll.SetLoadInfo(CutSceneMain.< > f__mg$cache0, string.Empty, string.Empty, string.Empty, endFadeInCallBack, false);
     CutSceneMain.cutscene = CutsceneFactory.Create(cutsceneData);
     GUIManager.LoadCommonGUI("Effect/FADE_B", GUIMain.GetOrthoCamera().gameObject);
 }
    public override void SetData(CutsceneDataBase data)
    {
        base.transform.localPosition = new Vector3(0f, 10f, 0f);
        CutsceneDataGasha cutsceneDataGasha = data as CutsceneDataGasha;

        if (cutsceneDataGasha != null)
        {
            this.endCallback = cutsceneDataGasha.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            this.scriptAnime.Initialize(this.cutsceneSound, this.subCamera, this.rareSignParticle, cutsceneDataGasha.modelIdList, cutsceneDataGasha.growStepList);
        }
    }
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataAwakening cutsceneDataAwakening = data as CutsceneDataAwakening;

        if (cutsceneDataAwakening != null)
        {
            this.endCallback = cutsceneDataAwakening.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(this.monsterParent, cutsceneDataAwakening.modelId);
            gameObject.transform.localPosition = Vector3.zero;
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CharacterParams component = gameObject.GetComponent <CharacterParams>();
            this.cameraTarget = component.characterCenterTarget;
            this.animeEvent.Initialize(this.cutsceneSound, component);
        }
    }
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataVersionUp cutsceneDataVersionUp = data as CutsceneDataVersionUp;

        if (cutsceneDataVersionUp != null)
        {
            this.endCallback = cutsceneDataVersionUp.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(this.beforeMonsterParentTransform, cutsceneDataVersionUp.beforeModelId);
            gameObject.transform.localPosition = Vector3.zero;
            GameObject gameObject2 = CutsceneCommon.LoadMonsterModel(this.afterMonsterParentTransform, cutsceneDataVersionUp.afterModelId);
            gameObject2.transform.localPosition = Vector3.zero;
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject2, this.mainCamera);
            this.animeEvent.Initialize(this.cutsceneSound, this.mainCamera.transform, gameObject, gameObject2);
        }
    }
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataEvolution cutsceneDataEvolution = data as CutsceneDataEvolution;

        if (cutsceneDataEvolution != null)
        {
            this.endCallback = cutsceneDataEvolution.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(this.beforeMonsterParent, cutsceneDataEvolution.beforeModelId);
            CutsceneCommon.InitializeMonsterPosition(gameObject, cutsceneDataEvolution.beforeGrowStep);
            GameObject gameObject2 = CutsceneCommon.LoadMonsterModel(this.afterMonsterParent, cutsceneDataEvolution.afterModelId);
            CutsceneCommon.InitializeMonsterPosition(gameObject2, cutsceneDataEvolution.afterGrowStep);
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject2, this.mainCamera);
            this.animeEvent.Initialize(this.mainCamera.transform, this.cutsceneSound, gameObject, gameObject2);
        }
    }
	public override void SetData(CutsceneDataBase data)
	{
		CutsceneDataTraining cutsceneDataTraining = data as CutsceneDataTraining;
		if (cutsceneDataTraining != null)
		{
			this.endCallback = cutsceneDataTraining.endCallback;
			this.allSkipButton.Initialize();
			this.allSkipButton.AddAction(new Action(this.EndCutscene));
			GameObject gameObject = CutsceneCommon.LoadMonsterModel(base.transform, cutsceneDataTraining.baseModelId);
			gameObject.transform.localPosition = Vector3.zero;
			CharacterParams component = gameObject.GetComponent<CharacterParams>();
			component.PlayAnimation(CharacterAnimationType.idle, SkillType.Attack, 0, null, null);
			CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
			this.cameraTransform = this.mainCamera.transform;
			this.cameraRotatePosition = base.transform;
			this.lookAtPosition = component.characterCenterTarget;
			this.workVector3 = Vector3.zero;
			this.scriptAnime.Initialize(this.cutsceneSound, gameObject, cutsceneDataTraining.materialNum, new Action(this.EndCutscene));
		}
	}
        protected void SetGashaCutScene(GameWebAPI.RespDataGA_ExecGacha gashaResult, bool isTutorial)
        {
            GameWebAPI.RespDataGA_ExecGacha.GachaResultMonster[] userMonsterList = gashaResult.userMonsterList;
            string[] array  = new string[userMonsterList.Length];
            string[] array2 = new string[userMonsterList.Length];
            for (int i = 0; i < userMonsterList.Length; i++)
            {
                MonsterUserData userMonster = ClassSingleton <MonsterUserDataMng> .Instance.GetUserMonster(userMonsterList[i].userMonsterId);

                GameWebAPI.RespDataMA_GetMonsterMG.MonsterM group = userMonster.GetMonsterMaster().Group;
                array[i]  = group.modelId;
                array2[i] = group.growStep;
            }
            CutsceneDataGasha cutsceneDataGasha = new CutsceneDataGasha();

            cutsceneDataGasha.path         = "Cutscenes/Gasha";
            cutsceneDataGasha.modelIdList  = array;
            cutsceneDataGasha.growStepList = array2;
            CutsceneDataGasha cutsceneDataGasha2 = cutsceneDataGasha;

            if (ExecGashaMonster.< > f__mg$cache0 == null)
            {
                ExecGashaMonster.< > f__mg$cache0 = new Action(CutSceneMain.FadeReqCutSceneEnd);
            }
            cutsceneDataGasha2.endCallback = ExecGashaMonster.< > f__mg$cache0;
            CutsceneDataGasha cutsceneDataGasha3 = cutsceneDataGasha;

            Loading.Invisible();
            if (isTutorial)
            {
                this.showedGashaResultAction = new Action(Singleton <TutorialObserver> .Instance.ResumeScript);
            }
            CutsceneDataBase cutsceneData = cutsceneDataGasha3;

            if (ExecGashaMonster.< > f__mg$cache1 == null)
            {
                ExecGashaMonster.< > f__mg$cache1 = new Action(CMD_MonsterGashaResult.CreateDialog);
            }
            CutSceneMain.FadeReqCutScene(cutsceneData, ExecGashaMonster.< > f__mg$cache1, null, new Action <int>(this.OnShowedGashaResultDialog), 0.5f, 0.5f);
        }
예제 #15
0
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataEvolutionUltimate cutsceneDataEvolutionUltimate = data as CutsceneDataEvolutionUltimate;

        if (cutsceneDataEvolutionUltimate != null)
        {
            this.endCallback = cutsceneDataEvolutionUltimate.endCallback;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(new Action(this.EndCutscene));
            this.touchScreenButton.Initialize();
            this.touchScreenButton.AddAction(new Action(this.EndCutscene));
            GameObject gameObject = CutsceneCommon.LoadMonsterModel(this.beforeMonsterParent, cutsceneDataEvolutionUltimate.beforeModelId);
            gameObject.transform.localPosition = Vector3.zero;
            GameObject gameObject2 = CutsceneCommon.LoadMonsterModel(this.afterMonsterParent, cutsceneDataEvolutionUltimate.afterModelId);
            gameObject2.transform.localPosition = Vector3.zero;
            CharacterParams component = gameObject2.GetComponent <CharacterParams>();
            this.cameraTarget = component.characterCenterTarget;
            CutsceneCommon.SetBillBoardCamera(gameObject, this.mainCamera);
            CutsceneCommon.SetBillBoardCamera(gameObject2, this.subCamera);
            this.animeEvent.Initialize(this.mainCamera.transform, this.cutsceneSound, gameObject, gameObject2);
        }
    }
    public override void SetData(CutsceneDataBase data)
    {
        CutsceneDataTicketGasha cutsceneDataTicketGasha = data as CutsceneDataTicketGasha;

        if (cutsceneDataTicketGasha != null)
        {
            this.endCallback    = cutsceneDataTicketGasha.endCallback;
            this.bgmFileName    = cutsceneDataTicketGasha.bgmFileName;
            this.backgroundSize = cutsceneDataTicketGasha.backgroundSize;
            this.allSkipButton.Initialize();
            this.allSkipButton.AddAction(delegate
            {
                this.frameCT = this.startFadeOutFrame;
                this.StartFadeOut();
            });
            this.allSkipButton.Hide();
            this.startFadeOutFrame = this.cardAnimIntervalFrame * cutsceneDataTicketGasha.gashaResult.Length + 10;
            this.effectTypeList    = new string[cutsceneDataTicketGasha.gashaResult.Length];
            for (int i = 0; i < cutsceneDataTicketGasha.gashaResult.Length; i++)
            {
                this.effectTypeList[i] = cutsceneDataTicketGasha.gashaResult[i].effectType;
            }
        }
    }
예제 #17
0
    private void EndEvolveDo(string monsterModelId, string monsterGrowStep, int costCluster)
    {
        if (this.evolveDataBK.mem.effectType != "2")
        {
            GooglePlayGamesTool.Instance.Evolution();
        }
        DataMng.Instance().US_PlayerInfoSubChipNum(costCluster);
        this.UpdateClusterNum();
        ClassSingleton <GUIMonsterIconList> .Instance.RefreshList(MonsterDataMng.Instance().GetMonsterDataList());

        ClassSingleton <EvolutionData> .Instance.EvolvePostProcess(this.evolveDataBK.itemList);

        string partnerModelId = string.Empty;

        if ("0" != this.evolveDataBK.mem.effectMonsterId)
        {
            MonsterClientMaster monsterMasterByMonsterId = MonsterMaster.GetMonsterMasterByMonsterId(this.evolveDataBK.mem.effectMonsterId);
            if (monsterMasterByMonsterId != null)
            {
                partnerModelId = monsterMasterByMonsterId.Group.modelId;
            }
        }
        MonsterUserData userMonster = ClassSingleton <MonsterUserDataMng> .Instance.GetUserMonster(this.evolveDataBK.md.GetMonster().userMonsterId);

        if (!MonsterPicturebookData.ExistPicturebook(userMonster.GetMonsterMaster().Group.monsterCollectionId))
        {
            MonsterPicturebookData.AddPictureBook(userMonster.GetMonsterMaster().Group.monsterCollectionId);
        }
        CutsceneDataBase cutsceneData = null;
        string           effectType   = this.evolveDataBK.mem.effectType;

        if (effectType != null)
        {
            if (!(effectType == "1"))
            {
                if (!(effectType == "2"))
                {
                    if (effectType == "3" || effectType == "4")
                    {
                        CutsceneDataJogress cutsceneDataJogress = new CutsceneDataJogress();
                        cutsceneDataJogress.path           = "Cutscenes/Jogress";
                        cutsceneDataJogress.beforeModelId  = monsterModelId;
                        cutsceneDataJogress.afterModelId   = userMonster.GetMonsterMaster().Group.modelId;
                        cutsceneDataJogress.partnerModelId = partnerModelId;
                        CutsceneDataJogress cutsceneDataJogress2 = cutsceneDataJogress;
                        if (CMD_Evolution.< > f__mg$cache3 == null)
                        {
                            CMD_Evolution.< > f__mg$cache3 = new Action(CutSceneMain.FadeReqCutSceneEnd);
                        }
                        cutsceneDataJogress2.endCallback = CMD_Evolution.< > f__mg$cache3;
                        cutsceneData = cutsceneDataJogress;
                    }
                }
                else
                {
                    CutsceneDataModeChange cutsceneDataModeChange = new CutsceneDataModeChange();
                    cutsceneDataModeChange.path          = "Cutscenes/ModeChange";
                    cutsceneDataModeChange.beforeModelId = monsterModelId;
                    cutsceneDataModeChange.afterModelId  = userMonster.GetMonsterMaster().Group.modelId;
                    CutsceneDataModeChange cutsceneDataModeChange2 = cutsceneDataModeChange;
                    if (CMD_Evolution.< > f__mg$cache2 == null)
                    {
                        CMD_Evolution.< > f__mg$cache2 = new Action(CutSceneMain.FadeReqCutSceneEnd);
                    }
                    cutsceneDataModeChange2.endCallback = CMD_Evolution.< > f__mg$cache2;
                    cutsceneData = cutsceneDataModeChange;
                }
            }
            else if (MonsterGrowStepData.IsUltimateScope(userMonster.GetMonsterMaster().Group.growStep))
            {
                CutsceneDataEvolutionUltimate cutsceneDataEvolutionUltimate = new CutsceneDataEvolutionUltimate();
                cutsceneDataEvolutionUltimate.path          = "Cutscenes/EvolutionUltimate";
                cutsceneDataEvolutionUltimate.beforeModelId = monsterModelId;
                cutsceneDataEvolutionUltimate.afterModelId  = userMonster.GetMonsterMaster().Group.modelId;
                CutsceneDataEvolutionUltimate cutsceneDataEvolutionUltimate2 = cutsceneDataEvolutionUltimate;
                if (CMD_Evolution.< > f__mg$cache0 == null)
                {
                    CMD_Evolution.< > f__mg$cache0 = new Action(CutSceneMain.FadeReqCutSceneEnd);
                }
                cutsceneDataEvolutionUltimate2.endCallback = CMD_Evolution.< > f__mg$cache0;
                cutsceneData = cutsceneDataEvolutionUltimate;
            }
            else
            {
                CutsceneDataEvolution cutsceneDataEvolution = new CutsceneDataEvolution();
                cutsceneDataEvolution.path           = "Cutscenes/Evolution";
                cutsceneDataEvolution.beforeModelId  = monsterModelId;
                cutsceneDataEvolution.beforeGrowStep = monsterGrowStep;
                cutsceneDataEvolution.afterModelId   = userMonster.GetMonsterMaster().Group.modelId;
                cutsceneDataEvolution.afterGrowStep  = userMonster.GetMonsterMaster().Group.growStep;
                CutsceneDataEvolution cutsceneDataEvolution2 = cutsceneDataEvolution;
                if (CMD_Evolution.< > f__mg$cache1 == null)
                {
                    CMD_Evolution.< > f__mg$cache1 = new Action(CutSceneMain.FadeReqCutSceneEnd);
                }
                cutsceneDataEvolution2.endCallback = CMD_Evolution.< > f__mg$cache1;
                cutsceneData = cutsceneDataEvolution;
            }
        }
        Loading.Invisible();
        CutSceneMain.FadeReqCutScene(cutsceneData, new Action(this.StartCutSceneCallBack), delegate()
        {
            this.detailedWindow.StartAnimation();
            if (this.execEvolutionReviewStatus != CMD_Evolution.EvolutionReviewStatus.FIRST_EVOLUTION_REVIEW && this.execEvolutionReviewStatus != CMD_Evolution.EvolutionReviewStatus.FIRST_ULTIMA_EVOLUTION_REVIEW)
            {
                RestrictionInput.EndLoad();
            }
        }, 0.5f, 0.5f);
    }
예제 #18
0
 public abstract void SetData(CutsceneDataBase data);
예제 #19
0
 public override void SetData(CutsceneDataBase noop)
 {
 }