24 lines
569 B
C#
24 lines
569 B
C#
using System.Collections.Generic;
|
|
using Questionable.Model.Common.Converter;
|
|
|
|
namespace Questionable.Model.Questing.Converter;
|
|
|
|
public sealed class LockedSkipConditionConverter : EnumConverter<ELockedSkipCondition>
|
|
{
|
|
private static readonly Dictionary<ELockedSkipCondition, string> Values = new Dictionary<ELockedSkipCondition, string>
|
|
{
|
|
{
|
|
ELockedSkipCondition.Locked,
|
|
"Locked"
|
|
},
|
|
{
|
|
ELockedSkipCondition.Unlocked,
|
|
"Unlocked"
|
|
}
|
|
};
|
|
|
|
public LockedSkipConditionConverter()
|
|
: base((IReadOnlyDictionary<ELockedSkipCondition, string>)Values)
|
|
{
|
|
}
|
|
}
|