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