1
0
forked from liza/Questionable
Questionable/Questionable.Model/Questing/EAction.cs

66 lines
1.5 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,
Esuna = 7568,
Physick = 190,
FormShift = 4262,
BuffetSanuwa = 4931,
BuffetGriffin = 4583,
Fumigate = 5872,
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.Fumigate
or EAction.SiphonSnout
or EAction.Cannonfire
or EAction.RedGulal
or EAction.YellowGulal
or EAction.BlueGulal
or EAction.ElectrixFlux
or EAction.HopStep;
}
}