muffin v7.5.13
This commit is contained in:
parent
911ed68baa
commit
acf3e3cb18
69 changed files with 2731 additions and 1425 deletions
|
|
@ -0,0 +1,32 @@
|
|||
using System.Collections.Generic;
|
||||
using SmartNav.Model.Converter;
|
||||
|
||||
namespace Questionable.Model.Questing.Converter;
|
||||
|
||||
public sealed class ArrivalModeConverter : EnumConverter<EArrivalMode>
|
||||
{
|
||||
private static readonly Dictionary<EArrivalMode, string> Values = new Dictionary<EArrivalMode, string>
|
||||
{
|
||||
{
|
||||
EArrivalMode.Auto,
|
||||
"Auto"
|
||||
},
|
||||
{
|
||||
EArrivalMode.StayMounted,
|
||||
"StayMounted"
|
||||
},
|
||||
{
|
||||
EArrivalMode.Land,
|
||||
"Land"
|
||||
},
|
||||
{
|
||||
EArrivalMode.Dismount,
|
||||
"Dismount"
|
||||
}
|
||||
};
|
||||
|
||||
public ArrivalModeConverter()
|
||||
: base((IReadOnlyDictionary<EArrivalMode, string>)Values)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
using System.Collections.Generic;
|
||||
using SmartNav.Model.Converter;
|
||||
|
||||
namespace Questionable.Model.Questing.Converter;
|
||||
|
||||
public sealed class TravelModeConverter : EnumConverter<ETravelMode>
|
||||
{
|
||||
private static readonly Dictionary<ETravelMode, string> Values = new Dictionary<ETravelMode, string>
|
||||
{
|
||||
{
|
||||
ETravelMode.Auto,
|
||||
"Auto"
|
||||
},
|
||||
{
|
||||
ETravelMode.OnFoot,
|
||||
"OnFoot"
|
||||
},
|
||||
{
|
||||
ETravelMode.GroundMount,
|
||||
"GroundMount"
|
||||
},
|
||||
{
|
||||
ETravelMode.Flying,
|
||||
"Flying"
|
||||
}
|
||||
};
|
||||
|
||||
public TravelModeConverter()
|
||||
: base((IReadOnlyDictionary<ETravelMode, string>)Values)
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue