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