mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 15:19:57 +00:00
47369851f2
* Mod selection for each launch configuration (Closes #1225) * Store enabled mods with the launched application
31 lines
895 B
C#
31 lines
895 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Daybreak.Shared.Models.LaunchConfigurations;
|
|
|
|
public sealed class LaunchConfiguration
|
|
{
|
|
[JsonPropertyName(nameof(Name))]
|
|
public string? Name { get; set; }
|
|
|
|
[JsonPropertyName(nameof(Identifier))]
|
|
public string? Identifier { get; set; }
|
|
|
|
[JsonPropertyName(nameof(Executable))]
|
|
public string? Executable { get; set; }
|
|
|
|
[JsonPropertyName(nameof(Arguments))]
|
|
public string? Arguments { get; set; }
|
|
|
|
[JsonPropertyName(nameof(CredentialsIdentifier))]
|
|
public string? CredentialsIdentifier { get; set; }
|
|
|
|
[JsonPropertyName(nameof(SteamSupport))]
|
|
public bool? SteamSupport { get; set; } = true;
|
|
|
|
[JsonPropertyName(nameof(EnabledMods))]
|
|
public List<string>? EnabledMods { get; set; }
|
|
|
|
[JsonPropertyName(nameof(CustomModLoadoutEnabled))]
|
|
public bool? CustomModLoadoutEnabled { get; set; }
|
|
}
|