2024-06-03 21:17:35 +00:00
|
|
|
|
using System.Text.Json.Serialization;
|
2024-08-02 16:30:21 +00:00
|
|
|
|
using Questionable.Model.Questing.Converter;
|
2024-06-01 16:46:57 +00:00
|
|
|
|
|
2024-08-02 16:30:21 +00:00
|
|
|
|
namespace Questionable.Model.Questing;
|
2024-06-03 21:17:35 +00:00
|
|
|
|
|
2024-06-14 09:37:33 +00:00
|
|
|
|
public 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-12 16:03:48 +00:00
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(ExcelRefConverter))]
|
|
|
|
|
public ExcelRef? Prompt { get; set; }
|
|
|
|
|
|
2024-06-03 21:17:35 +00:00
|
|
|
|
public bool Yes { get; set; } = true;
|
2024-06-12 16:03:48 +00:00
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(ExcelRefConverter))]
|
|
|
|
|
public ExcelRef? Answer { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If set, only applies when focusing the given target id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint? DataId { get; set; }
|
2024-06-01 16:46:57 +00:00
|
|
|
|
}
|