26 lines
745 B
C#
26 lines
745 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
using Questionable.Model.Common.Converter;
|
|
|
|
namespace Questionable.Model.Questing;
|
|
|
|
public sealed class QuestRoot
|
|
{
|
|
[JsonConverter(typeof(StringListOrValueConverter))]
|
|
public List<string> Author { get; set; } = new List<string>();
|
|
|
|
public bool Disabled { get; set; }
|
|
|
|
public bool Interruptible { get; set; } = true;
|
|
|
|
public string? Comment { get; set; }
|
|
|
|
[JsonIgnore(/*Could not decode attribute arguments.*/)]
|
|
public bool? IsSeasonalQuest { get; set; }
|
|
|
|
[JsonIgnore(/*Could not decode attribute arguments.*/)]
|
|
public DateTime? SeasonalQuestExpiry { get; set; }
|
|
|
|
public List<QuestSequence> QuestSequence { get; set; } = new List<QuestSequence>();
|
|
}
|