Hook up ImportParameter flow with IModelImporter caller methods

This commit is contained in:
Dean Herbert
2022-12-13 21:03:25 +09:00
parent 6bb612ce69
commit cb16d62700
15 changed files with 39 additions and 25 deletions

View File

@ -5,6 +5,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using osu.Game.Beatmaps;
namespace osu.Game.Database
{
@ -31,7 +32,8 @@ namespace osu.Game.Database
/// This will post notifications tracking progress.
/// </remarks>
/// <param name="tasks">The import tasks from which the files should be imported.</param>
Task Import(params ImportTask[] tasks);
/// <param name="parameters">Parameters to further configure the import process.</param>
Task Import(ImportTask[] tasks, ImportParameters parameters = default);
/// <summary>
/// An array of accepted file extensions (in the standard format of ".abc").