Questionable/Questionable.Model/V1/EAction.cs

33 lines
701 B
C#
Raw Normal View History

using System.Text.Json.Serialization;
using Questionable.Model.V1.Converter;
namespace Questionable.Model.V1;
[JsonConverter(typeof(ActionConverter))]
public enum EAction
{
2024-07-31 22:40:52 +00:00
Cure = 120,
Esuna = 7568,
2024-07-24 13:45:03 +00:00
Physick = 190,
2024-07-29 19:19:22 +00:00
Buffet = 4931,
Fumigate = 5872,
2024-07-20 17:09:51 +00:00
SiphonSnout = 18187,
2024-07-12 21:58:48 +00:00
RedGulal = 29382,
YellowGulal = 29383,
BlueGulal = 29384,
}
public static class EActionExtensions
{
public static bool RequiresMount(this EAction action)
{
2024-07-29 19:19:22 +00:00
return action
is EAction.Buffet
or EAction.Fumigate
or EAction.SiphonSnout
or EAction.RedGulal
or EAction.YellowGulal
or EAction.BlueGulal;
2024-07-12 21:58:48 +00:00
}
}