public void ReloadAllCharacters(bool flg)
 {
     for (int i = 0; i < this.partObjs.Count; i++)
     {
         GUIListPartsPartyEdit guilistPartsPartyEdit = (GUIListPartsPartyEdit)this.partObjs[i];
         guilistPartsPartyEdit.ReloadAllCharacters(flg);
     }
 }
    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();
    }
 public void AllBuild(List <GameWebAPI.RespDataMN_GetDeckList.DeckList> dts, CMD_PartyEdit partyEdit, QuestBonusPack questBonus, QuestBonusTargetCheck checker)
 {
     base.InitBuild();
     this.fastSetPartObjs.Clear();
     this.partsCount = dts.Count;
     if (base.selectCollider != null)
     {
         float num  = base.selectCollider.width + this.horizontalMargin;
         float num2 = (float)this.partsCount * num - this.horizontalMargin + this.horizontalBorder * 2f;
         float num3 = num2 / 2f - this.horizontalBorder - base.selectCollider.width / 2f;
         float y    = 0f;
         for (int i = dts.Count - 1; i >= 0; i--)
         {
             GameObject gameObject = base.AddBuildPart();
             gameObject.name += i.ToString();
             GUIListPartsPartyEdit component = gameObject.GetComponent <GUIListPartsPartyEdit>();
             if (component != null)
             {
                 component.SetOriginalPos(new Vector3(num3, y, -5f));
                 component.SetDeck(dts[i]);
                 component.partyEdit        = partyEdit;
                 component.selectPanelParty = this;
                 component.SetUI(questBonus, checker);
                 component.ShowGUI();
                 int partyNumber = int.Parse(dts[i].deckNum);
                 component.partyNumber = partyNumber;
                 this.fastSetPartObjs.Add(component);
             }
             num3 -= num;
         }
         base.width = num2;
         base.InitMinMaxLocation(true);
         base.FreeScrollMode = false;
     }
     this.arrowOffestX        = 504f;
     base.EnableEternalScroll = true;
 }