2024-06-03 21:17:35 +00:00
|
|
|
|
using System.Text.Json.Serialization;
|
2024-06-08 19:16:57 +00:00
|
|
|
|
using JetBrains.Annotations;
|
2024-06-03 21:17:35 +00:00
|
|
|
|
using Questionable.Model.V1.Converter;
|
2024-06-01 16:46:57 +00:00
|
|
|
|
|
2024-06-03 21:17:35 +00:00
|
|
|
|
namespace Questionable.Model.V1;
|
|
|
|
|
|
2024-06-08 19:16:57 +00:00
|
|
|
|
[UsedImplicitly(ImplicitUseKindFlags.Assign, ImplicitUseTargetFlags.WithMembers)]
|
|
|
|
|
internal sealed class DialogueChoice
|
2024-06-01 16:46:57 +00:00
|
|
|
|
{
|
2024-06-03 21:17:35 +00:00
|
|
|
|
[JsonConverter(typeof(DialogueChoiceTypeConverter))]
|
|
|
|
|
public EDialogChoiceType Type { get; set; }
|
2024-06-03 12:20:02 +00:00
|
|
|
|
public string? ExcelSheet { get; set; }
|
2024-06-08 19:16:57 +00:00
|
|
|
|
public string? Prompt { get; set; }
|
2024-06-03 21:17:35 +00:00
|
|
|
|
public bool Yes { get; set; } = true;
|
|
|
|
|
public string? Answer { get; set; }
|
2024-06-01 16:46:57 +00:00
|
|
|
|
}
|