28 lines
704 B
C#
28 lines
704 B
C#
using System.Text.Json.Serialization;
|
|
using Questionable.Model.Questing.Converter;
|
|
|
|
namespace Questionable.Model.Questing;
|
|
|
|
public sealed class DialogueChoice
|
|
{
|
|
[JsonConverter(typeof(DialogueChoiceTypeConverter))]
|
|
public EDialogChoiceType Type { get; set; }
|
|
|
|
public string? ExcelSheet { get; set; }
|
|
|
|
[JsonConverter(typeof(ExcelRefConverter))]
|
|
public ExcelRef? Prompt { get; set; }
|
|
|
|
public bool Yes { get; set; } = true;
|
|
|
|
[JsonConverter(typeof(ExcelRefConverter))]
|
|
public ExcelRef? Answer { get; set; }
|
|
|
|
public bool PromptIsRegularExpression { get; set; }
|
|
|
|
public bool AnswerIsRegularExpression { get; set; }
|
|
|
|
public uint? DataId { get; set; }
|
|
|
|
public string? SpecialCondition { get; set; }
|
|
}
|