Questionable/Questionable.Model/V1/QuestRoot.cs

21 lines
596 B
C#
Raw Normal View History

2024-06-14 09:37:33 +00:00
using System.Collections.Generic;
2024-07-19 14:31:38 +00:00
using System.Text.Json.Serialization;
using Questionable.Model.V1.Converter;
2024-06-14 09:37:33 +00:00
namespace Questionable.Model.V1;
public sealed class QuestRoot
2024-06-14 09:37:33 +00:00
{
2024-07-19 14:31:38 +00:00
[JsonConverter(typeof(StringListOrValueConverter))]
public List<string> Author { get; set; } = new();
/// <summary>
/// This is only relevant for release builds.
/// </summary>
public bool Disabled { get; set; }
2024-06-14 09:37:33 +00:00
public string? Comment { get; set; }
public List<ushort> TerritoryBlacklist { get; set; } = new();
public List<QuestSequence> QuestSequence { get; set; } = new();
}