2023-07-12 03:04:09 +08:00
|
|
|
// 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.Platform;
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
|
|
|
namespace osu.Game.Database
|
|
|
|
{
|
2023-07-12 20:49:49 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Exporter for beatmap archives.
|
|
|
|
/// This is not for legacy purposes and works for lazer only.
|
|
|
|
/// </summary>
|
2023-07-12 03:04:09 +08:00
|
|
|
public class BeatmapExporter : LegacyArchiveExporter<BeatmapSetInfo>
|
|
|
|
{
|
|
|
|
public BeatmapExporter(Storage storage)
|
|
|
|
: base(storage)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2024-04-30 21:40:04 +08:00
|
|
|
protected override bool UseFixedEncoding => false;
|
|
|
|
|
2023-07-12 21:04:06 +08:00
|
|
|
protected override string FileExtension => @".olz";
|
2023-07-12 03:04:09 +08:00
|
|
|
}
|
|
|
|
}
|