mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +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;
|
||||
internal readonly TournamentVideoResourceStore VideoStore;
|
||||
internal readonly Storage ConfigurationStorage;
|
||||
private const string default_tournament = "default";
|
||||
|
||||
public TournamentStorage(GameHost host)
|
||||
@ -38,6 +39,8 @@ namespace osu.Game.Tournament.IO
|
||||
ChangeTargetStorage(UnderlyingStorage.GetStorageForDirectory(default_tournament));
|
||||
}
|
||||
|
||||
ConfigurationStorage = UnderlyingStorage.GetStorageForDirectory("config");
|
||||
|
||||
VideoStore = new TournamentVideoResourceStore(this);
|
||||
Logger.Log("Using tournament storage: " + GetFullPath(string.Empty));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user