1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Rename base class to LegacyModelImporter

This commit is contained in:
Dean Herbert 2021-11-25 16:33:04 +09:00
parent 2df793ca22
commit a0fa030f55
4 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ using osu.Game.IO;
namespace osu.Game.Database
{
public class LegacyBeatmapImporter : LegacyImporter<BeatmapSetInfo>
public class LegacyBeatmapImporter : LegacyModelImporter<BeatmapSetInfo>
{
protected override string ImportFromStablePath => ".";

View File

@ -13,7 +13,7 @@ namespace osu.Game.Database
/// <summary>
/// A class which handles importing legacy user data of a single type from osu-stable.
/// </summary>
public abstract class LegacyImporter<TModel>
public abstract class LegacyModelImporter<TModel>
where TModel : class
{
/// <summary>
@ -29,7 +29,7 @@ namespace osu.Game.Database
protected readonly IModelImporter<TModel> Importer;
protected LegacyImporter(IModelImporter<TModel> importer)
protected LegacyModelImporter(IModelImporter<TModel> importer)
{
Importer = importer;
}

View File

@ -7,7 +7,7 @@ using osu.Game.Scoring;
namespace osu.Game.Database
{
public class LegacyScoreImporter : LegacyImporter<ScoreInfo>
public class LegacyScoreImporter : LegacyModelImporter<ScoreInfo>
{
protected override string ImportFromStablePath => Path.Combine("Data", "r");

View File

@ -2,7 +2,7 @@ using osu.Game.Skinning;
namespace osu.Game.Database
{
public class LegacySkinImporter : LegacyImporter<SkinInfo>
public class LegacySkinImporter : LegacyModelImporter<SkinInfo>
{
protected override string ImportFromStablePath => "Skins";