Questionable/Questionable.Model/Questing/QuestRoot.cs

22 lines
651 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;
2024-08-02 16:30:21 +00:00
using Questionable.Model.Common.Converter;
using Questionable.Model.Questing.Converter;
2024-06-14 09:37:33 +00:00
2024-08-02 16:30:21 +00:00
namespace Questionable.Model.Questing;
2024-06-14 09:37:33 +00:00
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();
}