2018-04-13 17:19:50 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
List<TFile> Files { get; set; }
|
2018-11-28 18:01:22 +08:00
|
|
|
|
|
|
|
|
|
string Hash { get; set; }
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|