pub enum ActionResult {
Success,
NotSupported,
Error,
CantQueueThatOrder,
Retry,
Cooldown,
QueueIsFull,
RallyQueueIsFull,
NotEnoughMinerals,
NotEnoughVespene,
NotEnoughTerrazine,
NotEnoughCustom,
NotEnoughFood,
FoodUsageImpossible,
NotEnoughLife,
NotEnoughShields,
NotEnoughEnergy,
LifeSuppressed,
ShieldsSuppressed,
EnergySuppressed,
NotEnoughCharges,
CantAddMoreCharges,
TooMuchMinerals,
TooMuchVespene,
TooMuchTerrazine,
TooMuchCustom,
TooMuchFood,
TooMuchLife,
TooMuchShields,
TooMuchEnergy,
MustTargetUnitWithLife,
MustTargetUnitWithShields,
MustTargetUnitWithEnergy,
CantTrade,
CantSpend,
CantTargetThatUnit,
CouldntAllocateUnit,
UnitCantMove,
TransportIsHoldingPosition,
BuildTechRequirementsNotMet,
CantFindPlacementLocation,
CantBuildOnThat,
CantBuildTooCloseToDropOff,
CantBuildLocationInvalid,
CantSeeBuildLocation,
CantBuildTooCloseToCreepSource,
CantBuildTooCloseToResources,
CantBuildTooFarFromWater,
CantBuildTooFarFromCreepSource,
CantBuildTooFarFromBuildPowerSource,
CantBuildOnDenseTerrain,
CantTrainTooFarFromTrainPowerSource,
CantLandLocationInvalid,
CantSeeLandLocation,
CantLandTooCloseToCreepSource,
CantLandTooCloseToResources,
CantLandTooFarFromWater,
CantLandTooFarFromCreepSource,
CantLandTooFarFromBuildPowerSource,
CantLandTooFarFromTrainPowerSource,
CantLandOnDenseTerrain,
AddOnTooFarFromBuilding,
MustBuildRefineryFirst,
BuildingIsUnderConstruction,
CantFindDropOff,
CantLoadOtherPlayersUnits,
NotEnoughRoomToLoadUnit,
CantUnloadUnitsThere,
CantWarpInUnitsThere,
CantLoadImmobileUnits,
CantRechargeImmobileUnits,
CantRechargeUnderConstructionUnits,
CantLoadThatUnit,
NoCargoToUnload,
LoadAllNoTargetsFound,
NotWhileOccupied,
CantAttackWithoutAmmo,
CantHoldAnyMoreAmmo,
TechRequirementsNotMet,
MustLockdownUnitFirst,
MustTargetUnit,
MustTargetInventory,
MustTargetVisibleUnit,
MustTargetVisibleLocation,
MustTargetWalkableLocation,
MustTargetPawnableUnit,
YouCantControlThatUnit,
YouCantIssueCommandsToThatUnit,
MustTargetResources,
RequiresHealTarget,
RequiresRepairTarget,
NoItemsToDrop,
CantHoldAnyMoreItems,
CantHoldThat,
TargetHasNoInventory,
CantDropThisItem,
CantMoveThisItem,
CantPawnThisUnit,
MustTargetCaster,
CantTargetCaster,
MustTargetOuter,
CantTargetOuter,
MustTargetYourOwnUnits,
CantTargetYourOwnUnits,
MustTargetFriendlyUnits,
CantTargetFriendlyUnits,
MustTargetNeutralUnits,
CantTargetNeutralUnits,
MustTargetEnemyUnits,
CantTargetEnemyUnits,
MustTargetAirUnits,
CantTargetAirUnits,
MustTargetGroundUnits,
CantTargetGroundUnits,
MustTargetStructures,
CantTargetStructures,
MustTargetLightUnits,
CantTargetLightUnits,
MustTargetArmoredUnits,
CantTargetArmoredUnits,
MustTargetBiologicalUnits,
CantTargetBiologicalUnits,
MustTargetHeroicUnits,
CantTargetHeroicUnits,
MustTargetRoboticUnits,
CantTargetRoboticUnits,
MustTargetMechanicalUnits,
CantTargetMechanicalUnits,
MustTargetPsionicUnits,
CantTargetPsionicUnits,
MustTargetMassiveUnits,
CantTargetMassiveUnits,
MustTargetMissile,
CantTargetMissile,
MustTargetWorkerUnits,
CantTargetWorkerUnits,
MustTargetEnergyCapableUnits,
CantTargetEnergyCapableUnits,
MustTargetShieldCapableUnits,
CantTargetShieldCapableUnits,
MustTargetFlyers,
CantTargetFlyers,
MustTargetBuriedUnits,
CantTargetBuriedUnits,
MustTargetCloakedUnits,
CantTargetCloakedUnits,
MustTargetUnitsInAStasisField,
CantTargetUnitsInAStasisField,
MustTargetUnderConstructionUnits,
CantTargetUnderConstructionUnits,
MustTargetDeadUnits,
CantTargetDeadUnits,
MustTargetRevivableUnits,
CantTargetRevivableUnits,
MustTargetHiddenUnits,
CantTargetHiddenUnits,
CantRechargeOtherPlayersUnits,
MustTargetHallucinations,
CantTargetHallucinations,
MustTargetInvulnerableUnits,
CantTargetInvulnerableUnits,
MustTargetDetectedUnits,
CantTargetDetectedUnits,
CantTargetUnitWithEnergy,
CantTargetUnitWithShields,
MustTargetUncommandableUnits,
CantTargetUncommandableUnits,
MustTargetPreventDefeatUnits,
CantTargetPreventDefeatUnits,
MustTargetPreventRevealUnits,
CantTargetPreventRevealUnits,
MustTargetPassiveUnits,
CantTargetPassiveUnits,
MustTargetStunnedUnits,
CantTargetStunnedUnits,
MustTargetSummonedUnits,
CantTargetSummonedUnits,
MustTargetUser1,
CantTargetUser1,
MustTargetUnstoppableUnits,
CantTargetUnstoppableUnits,
MustTargetResistantUnits,
CantTargetResistantUnits,
MustTargetDazedUnits,
CantTargetDazedUnits,
CantLockdown,
CantMindControl,
MustTargetDestructibles,
CantTargetDestructibles,
MustTargetItems,
CantTargetItems,
NoCalldownAvailable,
WaypointListFull,
MustTargetRace,
CantTargetRace,
MustTargetSimilarUnits,
CantTargetSimilarUnits,
CantFindEnoughTargets,
AlreadySpawningLarva,
CantTargetExhaustedResources,
CantUseMinimap,
CantUseInfoPanel,
OrderQueueIsFull,
CantHarvestThatResource,
HarvestersNotRequired,
AlreadyTargeted,
CantAttackWeaponsDisabled,
CouldntReachTarget,
TargetIsOutOfRange,
TargetIsTooClose,
TargetIsOutOfArc,
CantFindTeleportLocation,
InvalidItemClass,
CantFindCancelOrder,
}