コード例 #1
0
        public ShipRecoveryType IsUseRecoverySlotitem(int ship_tmp_id)
        {
            bool flag  = this._battleData.DayBattle != null && this.GetCommandPhaseModel().IsTakeCommand();
            bool flag2 = this._battleData.NightBattle != null;

            if (!flag && !flag2)
            {
                return(ShipRecoveryType.None);
            }
            ShipModel_BattleAll ship = this.GetShip(ship_tmp_id);

            if (ship == null)
            {
                return(ShipRecoveryType.None);
            }
            return(ship.IsUseRecoverySlotitem());
        }