mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 23:12:56 +08:00
Create storage for config files of a tournament
This commit is contained in:
parent
327795ba99
commit
32d86d6fab
@ -15,6 +15,7 @@ namespace osu.Game.Tournament.IO
|
|||||||
{
|
{
|
||||||
private readonly GameHost host;
|
private readonly GameHost host;
|
||||||
internal readonly TournamentVideoResourceStore VideoStore;
|
internal readonly TournamentVideoResourceStore VideoStore;
|
||||||
|
internal readonly Storage ConfigurationStorage;
|
||||||
private const string default_tournament = "default";
|
private const string default_tournament = "default";
|
||||||
|
|
||||||
public TournamentStorage(GameHost host)
|
public TournamentStorage(GameHost host)
|
||||||
@ -38,6 +39,8 @@ namespace osu.Game.Tournament.IO
|
|||||||
ChangeTargetStorage(UnderlyingStorage.GetStorageForDirectory(default_tournament));
|
ChangeTargetStorage(UnderlyingStorage.GetStorageForDirectory(default_tournament));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ConfigurationStorage = UnderlyingStorage.GetStorageForDirectory("config");
|
||||||
|
|
||||||
VideoStore = new TournamentVideoResourceStore(this);
|
VideoStore = new TournamentVideoResourceStore(this);
|
||||||
Logger.Log("Using tournament storage: " + GetFullPath(string.Empty));
|
Logger.Log("Using tournament storage: " + GetFullPath(string.Empty));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user