mirror of https://github.com/ppy/osu
Create storage for config files of a tournament
This commit is contained in:
parent
327795ba99
commit
32d86d6fab
|
@ -15,6 +15,7 @@ public class TournamentStorage : WrappedStorage
|
|||
{
|
||||
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 @@ public TournamentStorage(GameHost host)
|
|||
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