2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Database
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A model that contains a list of files it is responsible for.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="TFile">The model representing a file.</typeparam>
|
|
|
|
|
public interface IHasFiles<TFile>
|
|
|
|
|
where TFile : INamedFileInfo
|
|
|
|
|
{
|
2021-11-24 12:42:07 +08:00
|
|
|
|
List<TFile> Files { get; }
|
2018-11-28 18:01:22 +08:00
|
|
|
|
|
|
|
|
|
string Hash { get; set; }
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|