コード例 #1
0
    public Boolean partyadd(Int64 a)
    {
        Int64 num = 0;

        if (!this.partychk((Int32)a))
        {
            a = this.chr2slot((Int32)a);
            if (a >= 0L && a < 9L)
            {
                Int64 index = 0;
                while (index < 4L && this._ff9.party.member[index] != null)
                {
                    ++index;
                }
                num = index < 4L ? 0L : 1L;
                if (num == 0L)
                {
                    ff9play.FF9Play_SetParty((Int32)index, (Int32)a);
                    BattleAchievement.UpdateParty();
                    this.SetupPartyUID();
                }
            }
            else
            {
                num = 1L;
            }
        }
        return(num != 0L);
    }
コード例 #2
0
ファイル: PartySettingUI.cs プロジェクト: ArtReeX/memoria
    public override void Hide(SceneVoidDelegate afterFinished = null)
    {
        SceneVoidDelegate sceneVoidDelegate = delegate
        {
            SceneDirector.FF9Wipe_FadeInEx(12);
        };

        if (afterFinished != null)
        {
            sceneVoidDelegate = (SceneVoidDelegate)Delegate.Combine(sceneVoidDelegate, afterFinished);
        }
        base.Hide(sceneVoidDelegate);
        BattleAchievement.UpdateParty();
        this.RemoveCursorMemorize();
    }