1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-24 12:07:27 +08:00
osu-lazer/osu.Game/Beatmaps/IO/OszArchiveReader.cs
2016-10-12 11:32:40 -04:00

42 lines
982 B
C#

using System;
using System.IO;
namespace osu.Game.Beatmaps.IO
{
public class OszArchiveReader : ArchiveReader
{
static OszArchiveReader()
{
AddReader<OszArchiveReader>((storage, path) =>
{
using (var stream = storage.GetStream(path))
{
// TODO: detect if osz
return false;
}
});
}
private Stream Archive { get; set; }
public OszArchiveReader(Stream archive)
{
Archive = archive;
}
public override string[] ReadBeatmaps()
{
throw new NotImplementedException();
}
public override Stream ReadFile(string name)
{
throw new NotImplementedException();
}
public override Metadata ReadMetadata()
{
throw new NotImplementedException();
}
}
}