Example #1
0
        private void GotoVersus()
        {
            PlayerData player = MonoSingleton <GameManager> .Instance.Player;

            if (player.CheckUnlock(UnlockTargets.MultiVS))
            {
                this.trophy_window.ActivateOutputLinks(2030);
            }
            else
            {
                LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.MultiVS);
            }
        }
Example #2
0
        private void GotoEquip()
        {
            PlayerData player = MonoSingleton <GameManager> .Instance.Player;

            if (player.CheckUnlock(UnlockTargets.EnhanceEquip))
            {
                FlowNode_GameObject.ActivateOutputLinks((Component)this, 1003);
            }
            else
            {
                LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.EnhanceEquip);
            }
        }
Example #3
0
        void IFlowInterface.Activated(int pinID)
        {
            switch (pinID)
            {
            case 1:
                if (this.Refresh())
                {
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 48);
                    break;
                }
                FlowNode_GameObject.ActivateOutputLinks((Component)this, 49);
                break;

            case 10:
                if (this.mMove != null)
                {
                    break;
                }
                this.mMove = this.movePage(this.mPage, this.mPage + 1);
                break;

            case 11:
                if (this.mMove != null)
                {
                    break;
                }
                this.mMove = this.movePage(this.mPage, this.mPage - 1);
                break;

            case 12:
                BannerParam currentPageBannerParam = this.getCurrentPageBannerParam();
                PlayerData  player = MonoSingleton <GameManager> .Instance.Player;
                if (currentPageBannerParam == null)
                {
                    break;
                }
                switch (currentPageBannerParam.type)
                {
                case BannerType.storyQuest:
                    if (!this.setQuestVariables(currentPageBannerParam.sval, true))
                    {
                        return;
                    }
                    GlobalVars.SelectedQuestID = (string)null;
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 50);
                    return;

                case BannerType.eventQuest:
                    GlobalVars.ReqEventPageListType = GlobalVars.EventQuestListType.EventQuest;
                    this.setQuestVariables(currentPageBannerParam.sval, false);
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 51);
                    return;

                case BannerType.multiQuest:
                    if (player.CheckUnlock(UnlockTargets.MultiPlay))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 55);
                        return;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.MultiPlay);
                    return;

                case BannerType.gacha:
                    GlobalVars.SelectedGachaTableId = currentPageBannerParam.sval;
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 53);
                    return;

                case BannerType.shop:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 52);
                    return;

                case BannerType.url:
                    if (!string.IsNullOrEmpty(currentPageBannerParam.sval))
                    {
                        Application.OpenURL(currentPageBannerParam.sval);
                    }
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 54);
                    return;

                case BannerType.towerQuest:
                    if (player.CheckUnlock(UnlockTargets.TowerQuest))
                    {
                        GlobalVars.ReqEventPageListType = GlobalVars.EventQuestListType.Tower;
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 51);
                        return;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.TowerQuest);
                    return;

                case BannerType.arena:
                    if (player.CheckUnlock(UnlockTargets.Arena))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 56);
                        return;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.Arena);
                    return;

                case BannerType.pvp:
                    if (player.CheckUnlock(UnlockTargets.MultiVS))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 57);
                        return;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.MultiVS);
                    return;

                case BannerType.ordealQuest:
                    if (player.CheckUnlock(UnlockTargets.Ordeal))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 58);
                        return;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.Ordeal);
                    return;

                case BannerType.beginner:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 59);
                    return;

                default:
                    return;
                }
            }
        }
Example #4
0
        private void GotoShop(TrophyParam param)
        {
            PlayerData player = MonoSingleton <GameManager> .Instance.Player;
            EShopType  type;

            if (string.IsNullOrEmpty(param.Objectives[0].sval_base))
            {
                type = EShopType.Normal;
            }
            else
            {
                char[] chArray = new char[1] {
                    ','
                };
                string[] strArray = param.Objectives[0].sval_base.Split(chArray);
                type = !string.IsNullOrEmpty(strArray[0]) ? (EShopType)MonoSingleton <GameManager> .Instance.MasterParam.GetShopType(strArray[0]) : EShopType.Normal;
            }
            if (type >= EShopType.Normal && player.CheckUnlockShopType(type))
            {
                switch (type)
                {
                case EShopType.Normal:
                case EShopType.Tabi:
                case EShopType.Kimagure:
                    this.trophy_window.ActivateOutputLinks(2013);
                    break;

                case EShopType.Arena:
                    this.GotoArena();
                    break;

                case EShopType.Multi:
                    this.trophy_window.ActivateOutputLinks(2005);
                    break;

                case EShopType.AwakePiece:
                    this.trophy_window.ActivateOutputLinks(2020);
                    break;

                case EShopType.Artifact:
                    this.trophy_window.ActivateOutputLinks(2021);
                    break;

                case EShopType.Event:
                    this.trophy_window.ActivateOutputLinks(2028);
                    break;

                case EShopType.Limited:
                    this.trophy_window.ActivateOutputLinks(2027);
                    break;
                }
            }
            if (type < EShopType.Normal)
            {
                return;
            }
            if (MonoSingleton <GameManager> .Instance.Player.CheckUnlockShopType(type))
            {
                return;
            }
            try
            {
                UnlockTargets unlockTargets = type.ToUnlockTargets();
                LevelLock.ShowLockMessage(player.Lv, player.VipRank, unlockTargets);
            }
            catch (Exception ex)
            {
            }
        }
        private void GotoShop(TrophyParam trophy)
        {
            PlayerData player = MonoSingleton <GameManager> .Instance.Player;
            EShopType  type   = EShopType.Normal;

            if (!string.IsNullOrEmpty(trophy.Objectives[0].sval))
            {
                char[] chArray = new char[1] {
                    ','
                };
                string[] strArray = trophy.Objectives[0].sval.Split(chArray);
                type = !string.IsNullOrEmpty(strArray[0]) ? (EShopType)MonoSingleton <GameManager> .Instance.MasterParam.GetShopType(strArray[0]) : EShopType.Normal;
            }
            if (type >= EShopType.Normal && player.CheckUnlockShopType(type))
            {
                switch (type)
                {
                case EShopType.Normal:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1013);
                    break;

                case EShopType.Tabi:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1014);
                    break;

                case EShopType.Kimagure:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1015);
                    break;

                case EShopType.Monozuki:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1016);
                    break;

                case EShopType.Tour:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1017);
                    break;

                case EShopType.Arena:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1018);
                    break;

                case EShopType.Multi:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1019);
                    break;

                case EShopType.AwakePiece:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1020);
                    break;

                case EShopType.Artifact:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1021);
                    break;
                }
            }
            if (type < EShopType.Normal)
            {
                return;
            }
            if (MonoSingleton <GameManager> .Instance.Player.CheckUnlockShopType(type))
            {
                return;
            }
            try
            {
                UnlockTargets unlockTargets = type.ToUnlockTargets();
                LevelLock.ShowLockMessage(player.Lv, player.VipRank, unlockTargets);
            }
            catch (Exception ex)
            {
            }
        }
        private void OnTry()
        {
            TrophyParam dataOfClass = DataSource.FindDataOfClass <TrophyParam>(((Component)this).get_gameObject(), (TrophyParam)null);

            if (dataOfClass == null)
            {
                FlowNode_GameObject.ActivateOutputLinks((Component)this, 100);
            }
            else
            {
                QuestParam questParam = new QuestParam();
                PlayerData player     = MonoSingleton <GameManager> .Instance.Player;
                switch (dataOfClass.Objectives[0].type)
                {
                case TrophyConditionTypes.winquest:
                case TrophyConditionTypes.winquestsoldier:
                case TrophyConditionTypes.losequest:
                    QuestTypes quest_type1 = QuestTypes.Story;
                    if (!questParam.TransSectionGotoQuest(dataOfClass.Objectives[0].sval, out quest_type1, new UIUtility.DialogResultEvent(this.MsgBoxJumpToQuest)))
                    {
                        this.g_quest_type = quest_type1;
                        break;
                    }
                    QuestTypes questTypes = quest_type1;
                    switch (questTypes)
                    {
                    case QuestTypes.Event:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1007);
                        return;

                    case QuestTypes.Tower:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1026);
                        return;

                    default:
                        if (questTypes == QuestTypes.Multi)
                        {
                            FlowNode_GameObject.ActivateOutputLinks((Component)this, 1005);
                            return;
                        }
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1001);
                        return;
                    }

                case TrophyConditionTypes.killenemy:
                case TrophyConditionTypes.getitem:
                case TrophyConditionTypes.playerlv:
                case TrophyConditionTypes.vip:
                case TrophyConditionTypes.stamina:
                case TrophyConditionTypes.card:
                case TrophyConditionTypes.review:
                case TrophyConditionTypes.followtwitter:
                case TrophyConditionTypes.unitlevel:
                case TrophyConditionTypes.evolutionnum:
                case TrophyConditionTypes.joblevel:
                case TrophyConditionTypes.logincount:
                case TrophyConditionTypes.fblogin:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 100);
                    break;

                case TrophyConditionTypes.winelite:
                case TrophyConditionTypes.loseelite:
                    if (!questParam.TransSectionGotoElite(new UIUtility.DialogResultEvent(this.MsgBoxJumpToQuest)))
                    {
                        break;
                    }
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1001);
                    break;

                case TrophyConditionTypes.winevent:
                case TrophyConditionTypes.loseevent:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1007);
                    break;

                case TrophyConditionTypes.gacha:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1000);
                    break;

                case TrophyConditionTypes.multiplay:
                case TrophyConditionTypes.winmulti:
                case TrophyConditionTypes.winmultimore:
                case TrophyConditionTypes.winmultiless:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1005);
                    break;

                case TrophyConditionTypes.ability:
                case TrophyConditionTypes.makeabilitylevel:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1002);
                    break;

                case TrophyConditionTypes.soubi:
                    if (player.CheckUnlock(UnlockTargets.EnhanceEquip))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1003);
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.EnhanceEquip);
                    break;

                case TrophyConditionTypes.buygold:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1004);
                    break;

                case TrophyConditionTypes.arena:
                case TrophyConditionTypes.winarena:
                case TrophyConditionTypes.losearena:
                    if (player.CheckUnlock(UnlockTargets.Arena))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1008);
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.Arena);
                    break;

                case TrophyConditionTypes.fggid:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1025);
                    break;

                case TrophyConditionTypes.upunitlevel:
                case TrophyConditionTypes.makeunitlevel:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1009);
                    break;

                case TrophyConditionTypes.unitequip:
                case TrophyConditionTypes.upjoblevel:
                case TrophyConditionTypes.makejoblevel:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1011);
                    break;

                case TrophyConditionTypes.limitbreak:
                case TrophyConditionTypes.evoltiontimes:
                case TrophyConditionTypes.changejob:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1012);
                    break;

                case TrophyConditionTypes.changeability:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1010);
                    break;

                case TrophyConditionTypes.buyatshop:
                    this.GotoShop(dataOfClass);
                    break;

                case TrophyConditionTypes.artifacttransmute:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1022);
                    break;

                case TrophyConditionTypes.artifactstrength:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1023);
                    break;

                case TrophyConditionTypes.artifactevolution:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1024);
                    break;

                case TrophyConditionTypes.wintower:
                case TrophyConditionTypes.losetower:
                    QuestTypes quest_type2 = QuestTypes.Story;
                    if (!questParam.TransSectionGotoTower(dataOfClass.Objectives[0].sval, out quest_type2))
                    {
                        break;
                    }
                    if (quest_type2 == QuestTypes.Event)
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1007);
                        break;
                    }
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1026);
                    break;

                case TrophyConditionTypes.vs:
                case TrophyConditionTypes.vswin:
                    if (player.CheckUnlock(UnlockTargets.MultiVS))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1027);
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.MultiVS);
                    break;

                default:
                    DebugUtility.Log(string.Format("未知の Trophy 条件 / {0}", (object)dataOfClass.Objectives[0].type));
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 100);
                    break;
                }
            }
        }
Example #7
0
        private void Select(int index)
        {
            if (!UnityEngine.Object.op_Implicit((UnityEngine.Object)MonoSingleton <GameManager> .Instance))
            {
                return;
            }
            BannerParam[] array = this.m_BannerList.ToArray();
            if (array == null)
            {
                return;
            }
            if (array.Length < index)
            {
                DebugUtility.LogError("選択されたイベントバナーが正しくありません");
            }
            else
            {
                BannerParam bannerParam = array[index];
                int         pinID       = -1;
                PlayerData  player      = MonoSingleton <GameManager> .Instance.Player;
                switch (bannerParam.type)
                {
                case BannerType.storyQuest:
                    if (EventPopup.SetupQuestVariables(bannerParam.sval, true))
                    {
                        GlobalVars.SelectedQuestID = (string)null;
                        pinID = 50;
                        break;
                    }
                    break;

                case BannerType.eventQuest:
                    GlobalVars.ReqEventPageListType = GlobalVars.EventQuestListType.EventQuest;
                    EventPopup.SetupQuestVariables(bannerParam.sval, false);
                    pinID = 51;
                    break;

                case BannerType.multiQuest:
                    if (player.CheckUnlock(UnlockTargets.MultiPlay))
                    {
                        pinID = 52;
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.MultiPlay);
                    break;

                case BannerType.gacha:
                    GlobalVars.SelectedGachaTableId = bannerParam.sval;
                    pinID = 54;
                    break;

                case BannerType.shop:
                    pinID = 53;
                    break;

                case BannerType.url:
                    if (!string.IsNullOrEmpty(bannerParam.sval))
                    {
                        Application.OpenURL(bannerParam.sval);
                    }
                    pinID = 55;
                    break;

                case BannerType.towerQuest:
                    if (player.CheckUnlock(UnlockTargets.TowerQuest))
                    {
                        GlobalVars.ReqEventPageListType = GlobalVars.EventQuestListType.Tower;
                        pinID = 51;
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.TowerQuest);
                    break;

                case BannerType.arena:
                    if (player.CheckUnlock(UnlockTargets.Arena))
                    {
                        pinID = 56;
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.Arena);
                    break;

                case BannerType.pvp:
                    if (player.CheckUnlock(UnlockTargets.MultiVS))
                    {
                        pinID = 57;
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.MultiVS);
                    break;

                case BannerType.ordealQuest:
                    if (player.CheckUnlock(UnlockTargets.Ordeal))
                    {
                        pinID = 58;
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.Ordeal);
                    break;

                case BannerType.beginner:
                    pinID = 59;
                    break;
                }
                if (pinID == -1)
                {
                    return;
                }
                FlowNode_GameObject.ActivateOutputLinks((Component)this, pinID);
            }
        }
Example #8
0
        private void OnClickTry()
        {
            TrophyParam dataOfClass = DataSource.FindDataOfClass <TrophyParam>(((Component)this).get_gameObject(), (TrophyParam)null);

            if (dataOfClass == null)
            {
                FlowNode_GameObject.ActivateOutputLinks((Component)this, 100);
            }
            else
            {
                QuestParam questParam = new QuestParam();
                PlayerData player     = MonoSingleton <GameManager> .Instance.Player;
                switch (dataOfClass.Objectives[0].type)
                {
                case TrophyConditionTypes.winquest:
                case TrophyConditionTypes.winquestsoldier:
                case TrophyConditionTypes.losequest:
                case TrophyConditionTypes.damage_over:
                case TrophyConditionTypes.complete_all_quest_mission:
                case TrophyConditionTypes.complete_all_quest_mission_total:
                case TrophyConditionTypes.complete_all_mission_count:
                case TrophyConditionTypes.complete_story_mission_count:
                    QuestTypes quest_type1 = QuestTypes.Story;
                    if (!questParam.TransSectionGotoQuest(dataOfClass.Objectives[0].sval_base, out quest_type1, new UIUtility.DialogResultEvent(this.MsgBoxJumpToQuest)))
                    {
                        break;
                    }
                    QuestTypes questTypes1 = quest_type1;
                    switch (questTypes1)
                    {
                    case QuestTypes.Event:
                    case QuestTypes.Gps:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1007);
                        return;

                    case QuestTypes.Tower:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1025);
                        return;

                    case QuestTypes.Beginner:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1027);
                        return;

                    case QuestTypes.MultiGps:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1005);
                        return;

                    default:
                        if (questTypes1 != QuestTypes.Multi)
                        {
                            FlowNode_GameObject.ActivateOutputLinks((Component)this, 1001);
                            return;
                        }
                        goto case QuestTypes.MultiGps;
                    }

                case TrophyConditionTypes.killenemy:
                case TrophyConditionTypes.getitem:
                case TrophyConditionTypes.playerlv:
                case TrophyConditionTypes.vip:
                case TrophyConditionTypes.stamina:
                case TrophyConditionTypes.card:
                case TrophyConditionTypes.review:
                case TrophyConditionTypes.followtwitter:
                case TrophyConditionTypes.fggid:
                case TrophyConditionTypes.unitlevel:
                case TrophyConditionTypes.evolutionnum:
                case TrophyConditionTypes.joblevel:
                case TrophyConditionTypes.logincount:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 100);
                    break;

                case TrophyConditionTypes.winelite:
                case TrophyConditionTypes.loseelite:
                    if (!questParam.TransSectionGotoElite(new UIUtility.DialogResultEvent(this.MsgBoxJumpToQuest)))
                    {
                        break;
                    }
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1001);
                    break;

                case TrophyConditionTypes.winevent:
                case TrophyConditionTypes.loseevent:
                case TrophyConditionTypes.exclear_fire:
                case TrophyConditionTypes.exclear_water:
                case TrophyConditionTypes.exclear_wind:
                case TrophyConditionTypes.exclear_thunder:
                case TrophyConditionTypes.exclear_light:
                case TrophyConditionTypes.exclear_dark:
                case TrophyConditionTypes.exclear_fire_nocon:
                case TrophyConditionTypes.exclear_water_nocon:
                case TrophyConditionTypes.exclear_wind_nocon:
                case TrophyConditionTypes.exclear_thunder_nocon:
                case TrophyConditionTypes.exclear_light_nocon:
                case TrophyConditionTypes.exclear_dark_nocon:
                    questParam.GotoEventListQuest((string)null, (string)null);
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1007);
                    break;

                case TrophyConditionTypes.gacha:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1000);
                    break;

                case TrophyConditionTypes.multiplay:
                case TrophyConditionTypes.winmulti:
                case TrophyConditionTypes.winmultimore:
                case TrophyConditionTypes.winmultiless:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1005);
                    break;

                case TrophyConditionTypes.ability:
                case TrophyConditionTypes.makeabilitylevel:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1002);
                    break;

                case TrophyConditionTypes.soubi:
                    if (player.CheckUnlock(UnlockTargets.EnhanceEquip))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1003);
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.EnhanceEquip);
                    break;

                case TrophyConditionTypes.buygold:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1004);
                    break;

                case TrophyConditionTypes.arena:
                case TrophyConditionTypes.winarena:
                case TrophyConditionTypes.losearena:
                    if (player.CheckUnlock(UnlockTargets.Arena))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1008);
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.Arena);
                    break;

                case TrophyConditionTypes.upunitlevel:
                case TrophyConditionTypes.makeunitlevel:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1009);
                    break;

                case TrophyConditionTypes.unitequip:
                case TrophyConditionTypes.upjoblevel:
                case TrophyConditionTypes.makejoblevel:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1011);
                    break;

                case TrophyConditionTypes.limitbreak:
                case TrophyConditionTypes.evoltiontimes:
                case TrophyConditionTypes.changejob:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1012);
                    break;

                case TrophyConditionTypes.changeability:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1010);
                    break;

                case TrophyConditionTypes.buyatshop:
                    this.GotoShop(dataOfClass);
                    break;

                case TrophyConditionTypes.artifacttransmute:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1022);
                    break;

                case TrophyConditionTypes.artifactstrength:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1023);
                    break;

                case TrophyConditionTypes.artifactevolution:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1024);
                    break;

                case TrophyConditionTypes.wintower:
                case TrophyConditionTypes.losetower:
                    QuestTypes quest_type2 = QuestTypes.Story;
                    if (!questParam.TransSectionGotoTower(dataOfClass.Objectives[0].sval_base, out quest_type2))
                    {
                        break;
                    }
                    QuestTypes questTypes2 = quest_type2;
                    switch (questTypes2)
                    {
                    case QuestTypes.Gps:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1007);
                        return;

                    case QuestTypes.Beginner:
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1027);
                        return;

                    default:
                        if (questTypes2 != QuestTypes.Event)
                        {
                            FlowNode_GameObject.ActivateOutputLinks((Component)this, 1025);
                            return;
                        }
                        goto case QuestTypes.Gps;
                    }

                case TrophyConditionTypes.vs:
                case TrophyConditionTypes.vswin:
                    if (player.CheckUnlock(UnlockTargets.MultiVS))
                    {
                        FlowNode_GameObject.ActivateOutputLinks((Component)this, 1026);
                        break;
                    }
                    LevelLock.ShowLockMessage(player.Lv, player.VipRank, UnlockTargets.MultiVS);
                    break;

                case TrophyConditionTypes.read_tips:
                case TrophyConditionTypes.read_tips_count:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1028);
                    break;

                case TrophyConditionTypes.up_conceptcard_level:
                case TrophyConditionTypes.up_conceptcard_level_target:
                case TrophyConditionTypes.limitbreak_conceptcard:
                case TrophyConditionTypes.limitbreak_conceptcard_target:
                case TrophyConditionTypes.up_conceptcard_trust:
                case TrophyConditionTypes.up_conceptcard_trust_target:
                case TrophyConditionTypes.max_conceptcard_trust:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1029);
                    break;

                case TrophyConditionTypes.unlock_tobira_total:
                case TrophyConditionTypes.unlock_tobira_unit:
                case TrophyConditionTypes.envy_unlock_unit:
                case TrophyConditionTypes.sloth_unlock_unit:
                case TrophyConditionTypes.lust_unlock_unit:
                case TrophyConditionTypes.greed_unlock_unit:
                case TrophyConditionTypes.wrath_unlock_unit:
                case TrophyConditionTypes.gluttonny_unlock_unit:
                case TrophyConditionTypes.pride_unlock_unit:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1012);
                    break;

                case TrophyConditionTypes.send_present:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1032);
                    break;

                case TrophyConditionTypes.complete_event_mission_count:
                    questParam.GotoEventListQuest((string)null, (string)null);
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1007);
                    break;

                case TrophyConditionTypes.complete_ordeal_mission_count:
                case TrophyConditionTypes.clear_ordeal:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1030);
                    break;

                case TrophyConditionTypes.view_news:
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 1031);
                    break;

                default:
                    DebugUtility.Log(string.Format("未知の Trophy 条件 / {0}", (object)dataOfClass.Objectives[0].type));
                    FlowNode_GameObject.ActivateOutputLinks((Component)this, 100);
                    break;
                }
            }
        }