mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
cancellationToken pass, notification adujust
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.Extensions;
|
||||
using osu.Game.Overlays.Notifications;
|
||||
@ -19,7 +20,7 @@ namespace osu.Game.Database
|
||||
|
||||
protected override string FileExtension => ".osr";
|
||||
|
||||
protected override void ExportToStream(ScoreInfo model, Stream stream, ProgressNotification notification)
|
||||
protected override void ExportToStream(ScoreInfo model, Stream stream, ProgressNotification notification, CancellationToken cancellationToken = default)
|
||||
{
|
||||
var file = model.Files.SingleOrDefault();
|
||||
if (file == null)
|
||||
|
Reference in New Issue
Block a user