1
0
forked from liza/Questionable
Questionable/Questionable.Model/Questing/EAction.cs
2024-09-15 10:22:29 +10:00

74 lines
1.7 KiB
C#

using System.Text.Json.Serialization;
using Questionable.Model.Questing.Converter;
namespace Questionable.Model.Questing;
[JsonConverter(typeof(ActionConverter))]
public enum EAction
{
HeavySwing = 31,
Bootshine = 53,
TwinSnakes = 61,
Demolish = 66,
DragonKick = 74,
HeavyShot = 97,
Cure = 120,
Cure2 = 135,
Eukrasia = 24290,
Diagnosis = 24284,
EukrasianDiagnosis = 24291,
Esuna = 7568,
Physick = 190,
AspectedBenefic = 3595,
FormShift = 4262,
BuffetSanuwa = 4931,
BuffetGriffin = 4583,
Trample = 4585,
Fumigate = 5872,
MagitekPulse = 8624,
MagitekThunder = 8625,
SiphonSnout = 18187,
Cannonfire = 20121,
RedGulal = 29382,
YellowGulal = 29383,
BlueGulal = 29384,
ElectrixFlux = 29718,
HopStep = 31116,
CollectMiner = 240,
ScourMiner = 22182,
MeticulousMiner = 22184,
ScrutinyMiner = 22185,
CollectBotanist = 815,
ScourBotanist = 22186,
MeticulousBotanist = 22188,
ScrutinyBotanist = 22189,
SharpVision1 = 235,
SharpVision2 = 237,
SharpVision3 = 295,
FieldMastery1 = 218,
FieldMastery2 = 220,
FieldMastery3 = 294,
}
public static class EActionExtensions
{
public static bool RequiresMount(this EAction action)
{
return action
is EAction.BuffetSanuwa
or EAction.BuffetGriffin
or EAction.Trample
or EAction.Fumigate
or EAction.SiphonSnout
or EAction.Cannonfire
or EAction.RedGulal
or EAction.YellowGulal
or EAction.BlueGulal
or EAction.ElectrixFlux
or EAction.HopStep;
}
}