mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Update framework and add "Async" suffix to asynchronous methods
This commit is contained in:
@ -21,13 +21,13 @@ namespace osu.Game.IPC
|
||||
channel.MessageReceived += messageReceived;
|
||||
}
|
||||
|
||||
public async Task Import(string path)
|
||||
public async Task ImportAsync(string path)
|
||||
{
|
||||
if (beatmaps != null)
|
||||
beatmaps.Import(path);
|
||||
else
|
||||
{
|
||||
await channel.SendMessage(new BeatmapImportMessage { Path = path });
|
||||
await channel.SendMessageAsync(new BeatmapImportMessage { Path = path });
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ namespace osu.Game.IPC
|
||||
{
|
||||
Debug.Assert(beatmaps != null);
|
||||
|
||||
Import(msg.Path);
|
||||
ImportAsync(msg.Path);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user