2021-09-14 20:28:48 +01:00
|
|
|
|
using AssortGenerator.Common.Helpers;
|
|
|
|
|
|
|
|
|
|
namespace QuestValidator.Common.Models
|
2021-09-14 19:52:11 +01:00
|
|
|
|
{
|
|
|
|
|
public class QuestRequirement
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// // success = 4, fail = 5, started = 2
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int QuestStatus { get; set; }
|
|
|
|
|
public string PreceedingQuest { get; set; }
|
2021-09-14 20:28:48 +01:00
|
|
|
|
|
|
|
|
|
public string GetQuestName()
|
|
|
|
|
{
|
|
|
|
|
return QuestHelper.GetQuestNameById(PreceedingQuest);
|
|
|
|
|
}
|
2021-09-14 19:52:11 +01:00
|
|
|
|
}
|
|
|
|
|
}
|