namespace StardewModdingAPI.Framework.Networking { /// Metadata about an installed mod exchanged with connected computers. public class RemoteContextModModel { /********* ** Accessors *********/ /// The unique mod ID. public string ID { get; } /// The mod's display name. public string Name { get; } /// The mod version. public ISemanticVersion Version { get; } /********* ** Accessors *********/ /// Construct an instance. /// The unique mod ID. /// The mod's display name. /// The mod version. public RemoteContextModModel(string id, string name, ISemanticVersion version) { this.ID = id; this.Name = name; this.Version = version; } } }