namespace StardewModdingAPI.Toolkit.Framework.ModData { /// The versioned fields from a for a specific manifest. public class ModDataRecordVersionedFields { /********* ** Accessors *********/ /// The underlying data record. public ModDataRecord DataRecord { get; } /// The update key to apply (if any). public string? UpdateKey { get; set; } /// The predefined compatibility status. public ModStatus Status { get; set; } = ModStatus.None; /// A reason phrase for the , or null to use the default reason. public string? StatusReasonPhrase { get; set; } /// Technical details shown in TRACE logs for the , or null to omit it. public string? StatusReasonDetails { get; set; } /// The upper version for which the applies (if any). public ISemanticVersion? StatusUpperVersion { get; set; } /********* ** Public methods *********/ /// Construct an instance. /// The underlying data record. public ModDataRecordVersionedFields(ModDataRecord dataRecord) { this.DataRecord = dataRecord; } } }