public bool IsValidUnsetAll(int ship_mem_id) { ShipModel ship = base.UserInfo.GetShip(ship_mem_id); if (ship == null) { return false; } if (!IsValidShip(ship)) { return false; } return ship.GetSlotitemEquipCount() > 0; }
public bool IsValidUnsetAll(int ship_mem_id) { ShipModel ship = base.UserInfo.GetShip(ship_mem_id); return(ship != null && this.IsValidShip(ship) && ship.GetSlotitemEquipCount() > 0); }