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
|
|
|
|
|
2024-07-11 00:56:42 +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();
|
2024-07-15 22:43:38 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is only relevant for release builds.
|
|
|
|
|
/// </summary>
|
2024-07-15 21:09:09 +00:00
|
|
|
|
public bool Disabled { get; set; }
|
2024-07-15 22:43:38 +00:00
|
|
|
|
|
2024-06-14 09:37:33 +00:00
|
|
|
|
public string? Comment { get; set; }
|
|
|
|
|
public List<QuestSequence> QuestSequence { get; set; } = new();
|
|
|
|
|
}
|