sc2-gamedata
Enumerations | Variables
Error.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  EClassIdCError
 Error. More...
 
enum  ECmdResult {
  e_cmdOKPlaceholder, e_cmdNotSupportedPlaceholder, e_cmdError, e_cmdCantQueueThatOrder,
  e_cmdRetry, e_cmdCooldown, e_cmdQueueIsFull, e_cmdRallyQueueIsFull,
  e_cmdNotEnoughMinerals, e_cmdNotEnoughVespene, e_cmdNotEnoughTerrazine, e_cmdNotEnoughCustom,
  e_cmdNotEnoughFood, e_cmdFoodUsageImpossible, e_cmdNotEnoughLife, e_cmdNotEnoughShields,
  e_cmdNotEnoughEnergy, e_cmdLifeSuppressed, e_cmdShieldsSuppressed, e_cmdEnergySuppressed,
  e_cmdNotEnoughCharges, e_cmdCantAddMoreCharges, e_cmdTooMuchMinerals, e_cmdTooMuchVespene,
  e_cmdTooMuchTerrazine, e_cmdTooMuchCustom, e_cmdTooMuchFood, e_cmdTooMuchLife,
  e_cmdTooMuchShields, e_cmdTooMuchEnergy, e_cmdMustTargetUnitWithLife, e_cmdMustTargetUnitWithShields,
  e_cmdMustTargetUnitWithEnergy, e_cmdCantTrade, e_cmdCantSpend, e_cmdCantTargetThatUnit,
  e_cmdCouldntAllocateUnit, e_cmdUnitCantMove, e_cmdBuildTechRequirementsNotMet, e_cmdCantFindPlacementLocation,
  e_cmdCantBuildOnThat, e_cmdCantBuildTooCloseToDropOff, e_cmdCantBuildLocationInvalid, e_cmdCantSeeBuildLocation,
  e_cmdCantBuildTooCloseToCreepSource, e_cmdCantBuildTooCloseToResources, e_cmdCantBuildTooFarFromWater, e_cmdCantBuildTooFarFromCreepSource,
  e_cmdCantBuildTooFarFromBuildPowerSource, e_cmdCantBuildOnDenseTerrain, e_cmdCantTrainTooFarFromTrainPowerSource, e_cmdCantLandLocationInvalid,
  e_cmdCantSeeLandLocation, e_cmdCantLandTooCloseToCreepSource, e_cmdCantLandTooCloseToResources, e_cmdCantLandTooFarFromWater,
  e_cmdCantLandTooFarFromCreepSource, e_cmdCantLandTooFarFromBuildPowerSource, e_cmdCantLandTooFarFromTrainPowerSource, e_cmdCantLandOnDenseTerrain,
  e_cmdAddOnTooFarFromBuilding, e_cmdMustBuildRefineryFirst, e_cmdBuildingIsUnderConstruction, e_cmdCantFindDropOff,
  e_cmdCantLoadOtherPlayersUnits, e_cmdNotEnoughRoomToLoadUnit, e_cmdCantUnloadUnitsThere, e_cmdCantWarpInUnitsThere,
  e_cmdCantLoadImmobileUnits, e_cmdCantRechargeImmobileUnits, e_cmdCantRechargeUnderConstructionUnits, e_cmdCantLoadThatUnit,
  e_cmdNoCargoToUnload, e_cmdNotWhileOccupied, e_cmdCantAttackWithoutAmmo, e_cmdCantHoldAnyMoreAmmo,
  e_cmdTechRequirementsNotMet, e_cmdMustLockdownUnitFirst, e_cmdMustTargetUnit, e_cmdMustTargetInventory,
  e_cmdMustTargetVisibleUnit, e_cmdMustTargetVisibleLocation, e_cmdMustTargetWalkableLocation, e_cmdMustTargetPawnableUnit,
  e_cmdYouCantControlThatUnit, e_cmdYouCantIssueCommandsToThatUnit, e_cmdMustTargetResources, e_cmdRequiresHealTarget,
  e_cmdRequiresRepairTarget, e_cmdNoItemsToDrop, e_cmdCantHoldAnyMoreItems, e_cmdCantHoldThat,
  e_cmdTargetHasNoInventory, e_cmdCantDropThisItem, e_cmdCantMoveThisItem, e_cmdCantPawnThisUnit,
  e_cmdMustTargetCaster, e_cmdCantTargetCaster, e_cmdMustTargetOuter, e_cmdCantTargetOuter,
  e_cmdMustTargetYourOwnUnits, e_cmdCantTargetYourOwnUnits, e_cmdMustTargetFriendlyUnits, e_cmdCantTargetFriendlyUnits,
  e_cmdMustTargetNeutralUnits, e_cmdCantTargetNeutralUnits, e_cmdMustTargetEnemyUnits, e_cmdCantTargetEnemyUnits,
  e_cmdMustTargetAirUnits, e_cmdCantTargetAirUnits, e_cmdMustTargetGroundUnits, e_cmdCantTargetGroundUnits,
  e_cmdMustTargetStructures, e_cmdCantTargetStructures, e_cmdMustTargetLightUnits, e_cmdCantTargetLightUnits,
  e_cmdMustTargetArmoredUnits, e_cmdCantTargetArmoredUnits, e_cmdMustTargetBiologicalUnits, e_cmdCantTargetBiologicalUnits,
  e_cmdMustTargetHeroicUnits, e_cmdCantTargetHeroicUnits, e_cmdMustTargetRoboticUnits, e_cmdCantTargetRoboticUnits,
  e_cmdMustTargetMechanicalUnits, e_cmdCantTargetMechanicalUnits, e_cmdMustTargetPsionicUnits, e_cmdCantTargetPsionicUnits,
  e_cmdMustTargetMassiveUnits, e_cmdCantTargetMassiveUnits, e_cmdMustTargetMissile, e_cmdCantTargetMissile,
  e_cmdMustTargetWorkerUnits, e_cmdCantTargetWorkerUnits, e_cmdMustTargetEnergyCapableUnits, e_cmdCantTargetEnergyCapableUnits,
  e_cmdMustTargetShieldCapableUnits, e_cmdCantTargetShieldCapableUnits, e_cmdMustTargetFlyers, e_cmdCantTargetFlyers,
  e_cmdMustTargetBuriedUnits, e_cmdCantTargetBuriedUnits, e_cmdMustTargetCloakedUnits, e_cmdCantTargetCloakedUnits,
  e_cmdMustTargetUnitsInAStasisField, e_cmdCantTargetUnitsInAStasisField, e_cmdMustTargetUnderConstructionUnits, e_cmdCantTargetUnderConstructionUnits,
  e_cmdMustTargetDeadUnits, e_cmdCantTargetDeadUnits, e_cmdMustTargetRevivableUnits, e_cmdCantTargetRevivableUnits,
  e_cmdMustTargetHiddenUnits, e_cmdCantTargetHiddenUnits, e_cmdCantRechargeOtherPlayersUnits, e_cmdMustTargetHallucinations,
  e_cmdCantTargetHallucinations, e_cmdMustTargetInvulnerableUnits, e_cmdCantTargetInvulnerableUnits, e_cmdMustTargetDetectedUnits,
  e_cmdCantTargetDetectedUnits, e_cmdCantTargetUnitWithEnergy, e_cmdCantTargetUnitWithShields, e_cmdMustTargetUncommandableUnits,
  e_cmdCantTargetUncommandableUnits, e_cmdMustTargetPreventDefeatUnits, e_cmdCantTargetPreventDefeatUnits, e_cmdMustTargetPreventRevealUnits,
  e_cmdCantTargetPreventRevealUnits, e_cmdMustTargetPassiveUnits, e_cmdCantTargetPassiveUnits, e_cmdMustTargetStunnedUnits,
  e_cmdCantTargetStunnedUnits, e_cmdMustTargetSummonedUnits, e_cmdCantTargetSummonedUnits, e_cmdMustTargetUnstoppableUnits,
  e_cmdCantTargetUnstoppableUnits, e_cmdCantLockdown, e_cmdCantMindControl, e_cmdMustTargetDestructibles,
  e_cmdCantTargetDestructibles, e_cmdMustTargetItems, e_cmdCantTargetItems, e_cmdNoCalldownAvailable,
  e_cmdWaypointListFull, e_cmdMustTargetRace, e_cmdCantTargetRace, e_cmdMustTargetSimilarUnits,
  e_cmdCantTargetSimilarUnits, e_cmdCantFindEnoughTargets, e_cmdAlreadySpawningLarva, e_cmdCantTargetExhaustedResources,
  e_cmdCantUseMinimap, e_cmdCantUseInfoPanel, e_cmdOrderQueueIsFull, e_cmdCantHarvestThatResource,
  e_cmdHarvestersNotRequired, e_cmdAlreadyTargeted, e_cmdCantAttackWeaponsDisabled, e_cmdCouldntReachTarget,
  e_cmdTargetIsOutOfRange, e_cmdTargetIsTooClose, e_cmdTargetIsOutOfArc, e_cmdCantFindTeleportLocation,
  e_cmdInvalidItemClass, e_cmdCantFindCancelOrder
}
 Command Result. More...
 

Variables

const int32 e_classIdCErrorCount = 0
 
const int32 e_cmdCount = 206
 

Enumeration Type Documentation

◆ EClassIdCError

Error.

Remarks
Unknown

◆ ECmdResult

enum ECmdResult

Command Result.

Remarks
Enum
Enumerator
e_cmdOKPlaceholder 

OK.

e_cmdNotSupportedPlaceholder 

Not supported.

e_cmdError 
e_cmdCantQueueThatOrder 
e_cmdRetry 

Retry.

e_cmdCooldown 
e_cmdQueueIsFull 
e_cmdRallyQueueIsFull 
e_cmdNotEnoughMinerals 
e_cmdNotEnoughVespene 

Not Enough Vespene.

e_cmdNotEnoughTerrazine 

Not Enough Terrazine.

e_cmdNotEnoughCustom 

Not Enough Custom Resources.

e_cmdNotEnoughFood 
e_cmdFoodUsageImpossible 
e_cmdNotEnoughLife 
e_cmdNotEnoughShields 
e_cmdNotEnoughEnergy 
e_cmdLifeSuppressed 
e_cmdShieldsSuppressed 
e_cmdEnergySuppressed 
e_cmdNotEnoughCharges 
e_cmdCantAddMoreCharges 
e_cmdTooMuchMinerals 
e_cmdTooMuchVespene 

Too Much Vespene.

e_cmdTooMuchTerrazine 

Too Much Terrazine.

e_cmdTooMuchCustom 

Too Much Custom Resources.

e_cmdTooMuchFood 
e_cmdTooMuchLife 
e_cmdTooMuchShields 
e_cmdTooMuchEnergy 
e_cmdMustTargetUnitWithLife 
e_cmdMustTargetUnitWithShields 
e_cmdMustTargetUnitWithEnergy 
e_cmdCantTrade 
e_cmdCantSpend 
e_cmdCantTargetThatUnit 
e_cmdCouldntAllocateUnit 
e_cmdUnitCantMove 
e_cmdBuildTechRequirementsNotMet 
e_cmdCantFindPlacementLocation 
e_cmdCantBuildOnThat 
e_cmdCantBuildTooCloseToDropOff 
e_cmdCantBuildLocationInvalid 
e_cmdCantSeeBuildLocation 
e_cmdCantBuildTooCloseToCreepSource 
e_cmdCantBuildTooCloseToResources 
e_cmdCantBuildTooFarFromWater 
e_cmdCantBuildTooFarFromCreepSource 
e_cmdCantBuildTooFarFromBuildPowerSource 
e_cmdCantBuildOnDenseTerrain 
e_cmdCantTrainTooFarFromTrainPowerSource 
e_cmdCantLandLocationInvalid 
e_cmdCantSeeLandLocation 
e_cmdCantLandTooCloseToCreepSource 
e_cmdCantLandTooCloseToResources 
e_cmdCantLandTooFarFromWater 
e_cmdCantLandTooFarFromCreepSource 
e_cmdCantLandTooFarFromBuildPowerSource 
e_cmdCantLandTooFarFromTrainPowerSource 
e_cmdCantLandOnDenseTerrain 
e_cmdAddOnTooFarFromBuilding 
e_cmdMustBuildRefineryFirst 
e_cmdBuildingIsUnderConstruction 
e_cmdCantFindDropOff 
e_cmdCantLoadOtherPlayersUnits 
e_cmdNotEnoughRoomToLoadUnit 
e_cmdCantUnloadUnitsThere 
e_cmdCantWarpInUnitsThere 
e_cmdCantLoadImmobileUnits 
e_cmdCantRechargeImmobileUnits 
e_cmdCantRechargeUnderConstructionUnits 
e_cmdCantLoadThatUnit 
e_cmdNoCargoToUnload 
e_cmdNotWhileOccupied 
e_cmdCantAttackWithoutAmmo 
e_cmdCantHoldAnyMoreAmmo 
e_cmdTechRequirementsNotMet 
e_cmdMustLockdownUnitFirst 
e_cmdMustTargetUnit 
e_cmdMustTargetInventory 

Must Target Inventory.

e_cmdMustTargetVisibleUnit 
e_cmdMustTargetVisibleLocation 
e_cmdMustTargetWalkableLocation 
e_cmdMustTargetPawnableUnit 
e_cmdYouCantControlThatUnit 
e_cmdYouCantIssueCommandsToThatUnit 
e_cmdMustTargetResources 
e_cmdRequiresHealTarget 
e_cmdRequiresRepairTarget 
e_cmdNoItemsToDrop 
e_cmdCantHoldAnyMoreItems 
e_cmdCantHoldThat 
e_cmdTargetHasNoInventory 
e_cmdCantDropThisItem 
e_cmdCantMoveThisItem 
e_cmdCantPawnThisUnit 
e_cmdMustTargetCaster 
e_cmdCantTargetCaster 
e_cmdMustTargetOuter 
e_cmdCantTargetOuter 
e_cmdMustTargetYourOwnUnits 
e_cmdCantTargetYourOwnUnits 
e_cmdMustTargetFriendlyUnits 
e_cmdCantTargetFriendlyUnits 
e_cmdMustTargetNeutralUnits 
e_cmdCantTargetNeutralUnits 
e_cmdMustTargetEnemyUnits 
e_cmdCantTargetEnemyUnits 
e_cmdMustTargetAirUnits 
e_cmdCantTargetAirUnits 
e_cmdMustTargetGroundUnits 
e_cmdCantTargetGroundUnits 
e_cmdMustTargetStructures 
e_cmdCantTargetStructures 
e_cmdMustTargetLightUnits 
e_cmdCantTargetLightUnits 
e_cmdMustTargetArmoredUnits 
e_cmdCantTargetArmoredUnits 
e_cmdMustTargetBiologicalUnits 
e_cmdCantTargetBiologicalUnits 
e_cmdMustTargetHeroicUnits 
e_cmdCantTargetHeroicUnits 
e_cmdMustTargetRoboticUnits 
e_cmdCantTargetRoboticUnits 
e_cmdMustTargetMechanicalUnits 
e_cmdCantTargetMechanicalUnits 
e_cmdMustTargetPsionicUnits 
e_cmdCantTargetPsionicUnits 
e_cmdMustTargetMassiveUnits 
e_cmdCantTargetMassiveUnits 
e_cmdMustTargetMissile 
e_cmdCantTargetMissile 
e_cmdMustTargetWorkerUnits 
e_cmdCantTargetWorkerUnits 
e_cmdMustTargetEnergyCapableUnits 
e_cmdCantTargetEnergyCapableUnits 
e_cmdMustTargetShieldCapableUnits 
e_cmdCantTargetShieldCapableUnits 
e_cmdMustTargetFlyers 
e_cmdCantTargetFlyers 
e_cmdMustTargetBuriedUnits 

Must Target Buried Units.

e_cmdCantTargetBuriedUnits 

Cannot Target Buried Units.

e_cmdMustTargetCloakedUnits 
e_cmdCantTargetCloakedUnits 
e_cmdMustTargetUnitsInAStasisField 
e_cmdCantTargetUnitsInAStasisField 
e_cmdMustTargetUnderConstructionUnits 
e_cmdCantTargetUnderConstructionUnits 
e_cmdMustTargetDeadUnits 
e_cmdCantTargetDeadUnits 
e_cmdMustTargetRevivableUnits 

Must Target Revivable Units.

e_cmdCantTargetRevivableUnits 

Can't Target Revivable Units.

e_cmdMustTargetHiddenUnits 
e_cmdCantTargetHiddenUnits 
e_cmdCantRechargeOtherPlayersUnits 
e_cmdMustTargetHallucinations 

Hallucinations Required.

e_cmdCantTargetHallucinations 

Hallucinations Ignored.

e_cmdMustTargetInvulnerableUnits 
e_cmdCantTargetInvulnerableUnits 
e_cmdMustTargetDetectedUnits 
e_cmdCantTargetDetectedUnits 
e_cmdCantTargetUnitWithEnergy 
e_cmdCantTargetUnitWithShields 
e_cmdMustTargetUncommandableUnits 
e_cmdCantTargetUncommandableUnits 
e_cmdMustTargetPreventDefeatUnits 
e_cmdCantTargetPreventDefeatUnits 
e_cmdMustTargetPreventRevealUnits 
e_cmdCantTargetPreventRevealUnits 
e_cmdMustTargetPassiveUnits 
e_cmdCantTargetPassiveUnits 
e_cmdMustTargetStunnedUnits 
e_cmdCantTargetStunnedUnits 
e_cmdMustTargetSummonedUnits 
e_cmdCantTargetSummonedUnits 
e_cmdMustTargetUnstoppableUnits 
e_cmdCantTargetUnstoppableUnits 
e_cmdCantLockdown 
e_cmdCantMindControl 
e_cmdMustTargetDestructibles 
e_cmdCantTargetDestructibles 
e_cmdMustTargetItems 
e_cmdCantTargetItems 
e_cmdNoCalldownAvailable 
e_cmdWaypointListFull 
e_cmdMustTargetRace 

Must Target Race.

e_cmdCantTargetRace 

Cannot Target Race.

e_cmdMustTargetSimilarUnits 
e_cmdCantTargetSimilarUnits 
e_cmdCantFindEnoughTargets 
e_cmdAlreadySpawningLarva 
e_cmdCantTargetExhaustedResources 
e_cmdCantUseMinimap 
e_cmdCantUseInfoPanel 
e_cmdOrderQueueIsFull 
e_cmdCantHarvestThatResource 
e_cmdHarvestersNotRequired 

Harvesters Not Required.

e_cmdAlreadyTargeted 
e_cmdCantAttackWeaponsDisabled 
e_cmdCouldntReachTarget 
e_cmdTargetIsOutOfRange 
e_cmdTargetIsTooClose 
e_cmdTargetIsOutOfArc 
e_cmdCantFindTeleportLocation 
e_cmdInvalidItemClass 
e_cmdCantFindCancelOrder 

Variable Documentation

◆ e_classIdCErrorCount

const int32 e_classIdCErrorCount = 0

◆ e_cmdCount

const int32 e_cmdCount = 206