mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Make TriggerSuccess(filename)
protected and expose in test instead
This commit is contained in:
@ -29,7 +29,7 @@ namespace osu.Game.Online.API
|
||||
|
||||
private void request_Progress(long current, long total) => API.Schedule(() => Progressed?.Invoke(current, total));
|
||||
|
||||
internal void TriggerSuccess(string filename)
|
||||
protected void TriggerSuccess(string filename)
|
||||
{
|
||||
if (this.filename != null)
|
||||
throw new InvalidOperationException("Attempted to trigger success more than once");
|
||||
|
Reference in New Issue
Block a user