mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 11:42:54 +08:00
move TournamentVideoResourceStore to separate file
This commit is contained in:
parent
2964b457a0
commit
af1bbe7857
@ -3,7 +3,6 @@
|
||||
|
||||
using System;
|
||||
using System.Threading;
|
||||
using osu.Framework.IO.Stores;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.IO;
|
||||
@ -117,15 +116,4 @@ namespace osu.Game.Tournament.IO
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal class TournamentVideoResourceStore : NamespacedResourceStore<byte[]>
|
||||
{
|
||||
public TournamentVideoResourceStore(Storage storage)
|
||||
: base(new StorageBackedResourceStore(storage), "videos")
|
||||
{
|
||||
AddExtension("m4v");
|
||||
AddExtension("avi");
|
||||
AddExtension("mp4");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
19
osu.Game.Tournament/IO/TournamentVideoResourceStore.cs
Normal file
19
osu.Game.Tournament/IO/TournamentVideoResourceStore.cs
Normal file
@ -0,0 +1,19 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.IO.Stores;
|
||||
using osu.Framework.Platform;
|
||||
|
||||
namespace osu.Game.Tournament.IO
|
||||
{
|
||||
internal class TournamentVideoResourceStore : NamespacedResourceStore<byte[]>
|
||||
{
|
||||
public TournamentVideoResourceStore(Storage storage)
|
||||
: base(new StorageBackedResourceStore(storage), "videos")
|
||||
{
|
||||
AddExtension("m4v");
|
||||
AddExtension("avi");
|
||||
AddExtension("mp4");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user