mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 20:58:07 +03:00
19 lines
484 B
C#
19 lines
484 B
C#
using TRX_InstallerLib.Utils;
|
|
|
|
namespace TRX_InstallerLib.Models;
|
|
|
|
public class TRXConstants
|
|
{
|
|
private static readonly string _constConfigPath = "Resources.const.json";
|
|
|
|
public static TRXConstants Instance { get; private set; }
|
|
|
|
static TRXConstants()
|
|
{
|
|
Instance = JsonUtils.LoadEmbeddedResource(_constConfigPath)?.ToObject<TRXConstants>() ?? new();
|
|
}
|
|
|
|
public string? Game { get; set; }
|
|
public bool? AllowExpansionTypeSelection { get; set; }
|
|
|
|
}
|