qstcompanion v1.0.1
This commit is contained in:
parent
3e10cbbbf2
commit
44c67ab71b
79 changed files with 21148 additions and 0 deletions
|
|
@ -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}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue