コード例 #1
0
        public void Initialize(string areaId, string stageId, string dungeonId)
        {
            QuestBonusPack questBonusPack = new QuestBonusPack();

            questBonusPack.CreateQuestBonus(areaId, stageId, dungeonId);
            this.bonusTextList = QuestBonus.GetBonusText(questBonusPack.bonusChipIds, questBonusPack.eventBonuses, questBonusPack.dungeonBonuses);
        }
コード例 #2
0
    private IEnumerator ShowAll(Action <int> closeEvent, float sizeX, float sizeY, float showAnimationTime)
    {
        this.battleInfo.SetView(CMD_PartyEdit.ModeType);
        while (!AssetDataCacheMng.Instance().IsCacheAllReadyType(AssetDataCacheMng.CACHE_TYPE.CHARA_PARTY))
        {
            yield return(null);
        }
        base.PartsTitle.SetTitle(StringMaster.GetString("PartyTitleEdit"));
        base.SetTutorialAnyTime("anytime_second_tutorial_partyedit");
        this.battleInfo.SetBossMonsterIcon(ClassSingleton <QuestData> .Instance.GetBossMonsterList(ClassSingleton <PartyBossIconsAccessor> .Instance.StageEnemies));
        this.battleInfo.SetSortieLimit();
        QuestBonusPack questBonus = new QuestBonusPack();

        questBonus.CreateQuestBonus(this.worldAreaId, this.worldStageId, this.worldDungeonId);
        QuestBonusTargetCheck bonusChecker = new QuestBonusTargetCheck();

        this.partyMember.SetView(this, questBonus, bonusChecker);
        this.partyInfo.SetView(CMD_PartyEdit.ModeType);
        this.partyMember.SetChangeMonsterEvent(new Action(this.UpdateSelectDeckData));
        this.RefreshPartyNumText();
        Vector3 v3 = base.gameObject.transform.localPosition;

        v3.x = 0f;
        base.gameObject.transform.localPosition = v3;
        base.Show(closeEvent, sizeX, sizeY, showAnimationTime);
        if (Loading.IsShow())
        {
            RestrictionInput.EndLoad();
        }
        yield break;
    }