qstcompanion v1.0.1

This commit is contained in:
alydev 2025-12-04 04:39:08 +10:00
parent 3e10cbbbf2
commit 44c67ab71b
79 changed files with 21148 additions and 0 deletions

View file

@ -0,0 +1,30 @@
using System;
using System.Text.Json.Serialization;
namespace QuestionableCompanion.Models;
[Serializable]
public class StopPoint
{
public uint QuestId { get; set; }
[JsonInclude]
[JsonPropertyName("Sequence")]
public byte? Sequence { get; set; }
public bool IsActive { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.Now;
public string DisplayName
{
get
{
if (Sequence.HasValue)
{
return $"Quest {QuestId} (Seq {Sequence.Value})";
}
return $"Quest {QuestId}";
}
}
}