Questionable/Questionable.Model/Questing/EAction.cs

54 lines
1.2 KiB
C#
Raw Permalink Normal View History

using System.Text.Json.Serialization;
2024-08-02 16:30:21 +00:00
using Questionable.Model.Questing.Converter;
2024-08-02 16:30:21 +00:00
namespace Questionable.Model.Questing;
[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-08-20 21:36:41 +00:00
BuffetSanuwa = 4931,
BuffetGriffin = 4583,
2024-07-29 19:19:22 +00:00
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,
2024-08-20 21:36:41 +00:00
ElectrixFlux = 29718,
2024-08-03 15:26:49 +00:00
CollectMiner = 240,
ScourMiner = 22182,
MeticulousMiner = 22184,
ScrutinyMiner = 22185,
CollectBotanist = 815,
ScourBotanist = 22186,
MeticulousBotanist = 22188,
ScrutinyBotanist = 22189,
2024-08-07 23:49:14 +00:00
SharpVision1 = 235,
SharpVision2 = 237,
SharpVision3 = 295,
FieldMastery1 = 218,
FieldMastery2 = 220,
FieldMastery3 = 294,
2024-07-12 21:58:48 +00:00
}
public static class EActionExtensions
{
public static bool RequiresMount(this EAction action)
{
2024-07-29 19:19:22 +00:00
return action
2024-08-20 21:36:41 +00:00
is EAction.BuffetSanuwa
or EAction.BuffetGriffin
2024-07-29 19:19:22 +00:00
or EAction.Fumigate
or EAction.SiphonSnout
or EAction.RedGulal
or EAction.YellowGulal
2024-08-20 21:36:41 +00:00
or EAction.BlueGulal
or EAction.ElectrixFlux;
2024-07-12 21:58:48 +00:00
}
}