blob: 60b818d6db777901e44e52976a3e2ffa98884687 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
namespace StardewModdingAPI.Web.Framework.Clients.ModDrop.ResponseModels
{
/// <summary>An entry in a mod list from the ModDrop API.</summary>
public class ModModel
{
/*********
** Accessors
*********/
/// <summary>The available file downloads.</summary>
public FileDataModel[] Files { get; }
/// <summary>The mod metadata.</summary>
public ModDataModel Mod { get; }
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="files">The available file downloads.</param>
/// <param name="mod">The mod metadata.</param>
public ModModel(FileDataModel[] files, ModDataModel mod)
{
this.Files = files;
this.Mod = mod;
}
}
}
|