blob: 7571acbabcd8eede56c4f6b3ee3cec1a4d2f972b (
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
29
30
31
32
33
|
namespace StardewModdingAPI.Framework.Networking
{
/// <summary>Metadata about an installed mod exchanged with connected computers.</summary>
public class RemoteContextModModel
{
/*********
** Accessors
*********/
/// <summary>The unique mod ID.</summary>
public string ID { get; }
/// <summary>The mod's display name.</summary>
public string Name { get; }
/// <summary>The mod version.</summary>
public ISemanticVersion Version { get; }
/*********
** Accessors
*********/
/// <summary>Construct an instance.</summary>
/// <param name="id">The unique mod ID.</param>
/// <param name="name">The mod's display name.</param>
/// <param name="version">The mod version.</param>
public RemoteContextModModel(string id, string name, ISemanticVersion version)
{
this.ID = id;
this.Name = name;
this.Version = version;
}
}
}
|