Grabacr07.KanColleWrapper.Repairyard.CheckRepairing C# (CSharp) Method

CheckRepairing() public method

指定した艦隊に、現在入渠中の艦娘がいるかどうかを確認します。
public CheckRepairing ( Fleet fleet ) : bool
fleet Grabacr07.KanColleWrapper.Models.Fleet
return bool
        public bool CheckRepairing(Fleet fleet)
        {
            var repairingShipIds = this.Docks.Values.Where(x => x.Ship != null).Select(x => x.Ship.Id).ToArray();
            return fleet.Ships.Any(x => repairingShipIds.Any(id => id == x.Id));
        }

Same methods

Repairyard::CheckRepairing ( int shipId ) : bool