Options are defined schema that the redistributable will allow a game to customize / override. This will be useful for install scripts on a redistributable. It opens up the opportunity to define a redistributable for something such as dgVoodoo and override options on a per-game basis without having to edit the config manually in the game's scripts.
18 lines
601 B
C#
18 lines
601 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace LANCommander.Server.Data.Models
|
|
{
|
|
[Table("Redistributables")]
|
|
public class Redistributable : BaseModel
|
|
{
|
|
public string Name { get; set; }
|
|
public string? Description { get; set; }
|
|
public string? Notes { get; set; }
|
|
public string? OptionSchema { get; set; }
|
|
|
|
public ICollection<Archive>? Archives { get; set; }
|
|
public ICollection<Script>? Scripts { get; set; }
|
|
public ICollection<Game>? Games { get; set; }
|
|
public ICollection<Page>? Pages { get; set; }
|
|
}
|
|
}
|