48 lines
933 B
C#
48 lines
933 B
C#
using System.Collections.Generic;
|
|
using Questionable.Model.Common.Converter;
|
|
|
|
namespace Questionable.Model.Questing.Converter;
|
|
|
|
public sealed class EnemySpawnTypeConverter : EnumConverter<EEnemySpawnType>
|
|
{
|
|
private static readonly Dictionary<EEnemySpawnType, string> Values = new Dictionary<EEnemySpawnType, string>
|
|
{
|
|
{
|
|
EEnemySpawnType.AfterInteraction,
|
|
"AfterInteraction"
|
|
},
|
|
{
|
|
EEnemySpawnType.AfterItemUse,
|
|
"AfterItemUse"
|
|
},
|
|
{
|
|
EEnemySpawnType.AfterAction,
|
|
"AfterAction"
|
|
},
|
|
{
|
|
EEnemySpawnType.AfterEmote,
|
|
"AfterEmote"
|
|
},
|
|
{
|
|
EEnemySpawnType.AutoOnEnterArea,
|
|
"AutoOnEnterArea"
|
|
},
|
|
{
|
|
EEnemySpawnType.OverworldEnemies,
|
|
"OverworldEnemies"
|
|
},
|
|
{
|
|
EEnemySpawnType.FateEnemies,
|
|
"FateEnemies"
|
|
},
|
|
{
|
|
EEnemySpawnType.FinishCombatIfAny,
|
|
"FinishCombatIfAny"
|
|
}
|
|
};
|
|
|
|
public EnemySpawnTypeConverter()
|
|
: base((IReadOnlyDictionary<EEnemySpawnType, string>)Values)
|
|
{
|
|
}
|
|
}
|