mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
// 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 System.Collections.Generic;
|
|
using osu.Game.Beatmaps;
|
|
using osu.Game.Models;
|
|
|
|
namespace osu.Game.Database
|
|
{
|
|
/// <summary>
|
|
/// A model that contains a list of files it is responsible for.
|
|
/// </summary>
|
|
public interface IHasRealmFiles : IHasNamedFiles
|
|
{
|
|
/// <summary>
|
|
/// Available files in this model, with locally filenames.
|
|
/// When performing lookups, consider using <see cref="BeatmapSetInfoExtensions.GetFile"/> or <see cref="BeatmapSetInfoExtensions.GetPathForFile"/> to do case-insensitive lookups.
|
|
/// </summary>
|
|
new IList<RealmNamedFileUsage> Files { get; }
|
|
|
|
IEnumerable<INamedFileUsage> IHasNamedFiles.Files => Files;
|
|
|
|
/// <summary>
|
|
/// A combined hash representing the model, based on the files it contains.
|
|
/// Implementation specific.
|
|
/// </summary>
|
|
string Hash { get; set; }
|
|
}
|
|
}
|