2024-07-10 19:01:41 +00:00
|
|
|
|
using System.Text.Json.Serialization;
|
2024-08-02 16:30:21 +00:00
|
|
|
|
using Questionable.Model.Questing.Converter;
|
2024-07-10 19:01:41 +00:00
|
|
|
|
|
2024-08-02 16:30:21 +00:00
|
|
|
|
namespace Questionable.Model.Questing;
|
2024-07-10 19:01:41 +00:00
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(ActionConverter))]
|
|
|
|
|
public enum EAction
|
|
|
|
|
{
|
2024-08-22 11:05:40 +00:00
|
|
|
|
HeavySwing = 31,
|
2024-08-22 22:33:18 +00:00
|
|
|
|
HeavyShot = 97,
|
2024-07-31 22:40:52 +00:00
|
|
|
|
Cure = 120,
|
2024-08-29 14:29:21 +00:00
|
|
|
|
Cure2 = 135,
|
2024-07-10 19:01:41 +00:00
|
|
|
|
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-08-22 18:21:49 +00:00
|
|
|
|
Cannonfire = 20121,
|
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-22 18:21:49 +00:00
|
|
|
|
HopStep = 31116,
|
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
|
2024-08-22 18:21:49 +00:00
|
|
|
|
or EAction.Cannonfire
|
2024-07-29 19:19:22 +00:00
|
|
|
|
or EAction.RedGulal
|
|
|
|
|
or EAction.YellowGulal
|
2024-08-20 21:36:41 +00:00
|
|
|
|
or EAction.BlueGulal
|
2024-08-22 18:21:49 +00:00
|
|
|
|
or EAction.ElectrixFlux
|
|
|
|
|
or EAction.HopStep;
|
2024-07-12 21:58:48 +00:00
|
|
|
|
}
|
2024-07-10 19:01:41 +00:00
|
|
|
|
}
|