コード例 #1
0
    public virtual void OnTapedMonster()
    {
        if (this.selectPanelLR != null)
        {
            if (!this.selectPanelLR.IsStopRev())
            {
                return;
            }
            this.selectPanelLR.SetScrollSpeed(0f);
        }
        CMD_DeckList.SelectMonsterData = this.Data;
        CMD_DeckList dl = GUIMain.ShowCommonDialog(delegate(int i)
        {
            if (this.guiListPartsPartyEdit != null)
            {
                this.guiListPartsPartyEdit.OnChanged();
            }
        }, "CMD_DeckList", new Action <CommonDialog>(this.OnReadyDeckList)) as CMD_DeckList;

        dl.PPMI_Instance = this;
        CMD_BattleNextChoice battleNextChoice = UnityEngine.Object.FindObjectOfType <CMD_BattleNextChoice>();

        if (battleNextChoice != null)
        {
            dl.PartsTitle.SetCloseAct(delegate(int i)
            {
                battleNextChoice.ClosePanel(false);
                CMD_PartyEdit.instance.ClosePanel(false);
                dl.SetCloseAction(delegate(int x)
                {
                    CMD_BattleNextChoice.GoToFarm();
                });
                dl.ClosePanel(true);
            });
        }
        dl.SetSortieLimit(this.guiListPartsPartyEdit.partyEdit.GetWorldSortieLimit());
        GUIListPartsPartyEdit guilistPartsPartyEdit = this.guiListPartsPartyEdit;

        dl.ppmiList = guilistPartsPartyEdit.ppmiList;
        this.HideStatusPanel();
    }