punish v6.8.18.0

This commit is contained in:
alydev 2025-10-09 07:47:19 +10:00
commit cfb4dea47e
316 changed files with 554088 additions and 0 deletions

View file

@ -0,0 +1,27 @@
using System.Collections.Generic;
using System.Linq;
namespace Questionable.Model.Questing;
public sealed class QuestSequence
{
public byte Sequence { get; set; }
public string? Comment { get; set; }
public List<QuestStep> Steps { get; set; } = new List<QuestStep>();
public QuestStep? FindStep(int step)
{
if (step < 0 || step >= Steps.Count)
{
return null;
}
return Steps[step];
}
public QuestStep? LastStep()
{
return Steps.LastOrDefault();
}
}