1
0
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:
Shivam 2020-06-11 18:07:24 +02:00
parent 327795ba99
commit 32d86d6fab

View File

@ -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));
}