java.io.Serializable
, java.lang.Comparable<ActionResult>
public enum ActionResult extends java.lang.Enum<ActionResult>
Modifier and Type | Method | Description |
---|---|---|
static ActionResult |
from(SC2APIProtocol.Error.ActionResult sc2ApiActionResult) |
|
static ActionResult |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ActionResult[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionResult SUCCESS
public static final ActionResult NOT_SUPPORTED
public static final ActionResult ERROR
public static final ActionResult CANT_QUEUE_THAT_ORDER
public static final ActionResult RETRY
public static final ActionResult COOLDOWN
public static final ActionResult QUEUE_IS_FULL
public static final ActionResult RALLY_QUEUE_IS_FULL
public static final ActionResult NOT_ENOUGH_MINERALS
public static final ActionResult NOT_ENOUGH_VESPENE
public static final ActionResult NOT_ENOUGH_TERRAZINE
public static final ActionResult NOT_ENOUGH_CUSTOM
public static final ActionResult NOT_ENOUGH_FOOD
public static final ActionResult FOOD_USAGE_IMPOSSIBLE
public static final ActionResult NOT_ENOUGH_LIFE
public static final ActionResult NOT_ENOUGH_SHIELDS
public static final ActionResult NOT_ENOUGH_ENERGY
public static final ActionResult LIFE_SUPPRESSED
public static final ActionResult SHIELDS_SUPPRESSED
public static final ActionResult ENERGY_SUPPRESSED
public static final ActionResult NOT_ENOUGH_CHARGES
public static final ActionResult CANT_ADD_MORE_CHARGES
public static final ActionResult TOO_MUCH_MINERALS
public static final ActionResult TOO_MUCH_VESPENE
public static final ActionResult TOO_MUCH_TERRAZINE
public static final ActionResult TOO_MUCH_CUSTOM
public static final ActionResult TOO_MUCH_FOOD
public static final ActionResult TOO_MUCH_LIFE
public static final ActionResult TOO_MUCH_SHIELDS
public static final ActionResult TOO_MUCH_ENERGY
public static final ActionResult MUST_TARGET_UNIT_WITH_LIFE
public static final ActionResult MUST_TARGET_UNIT_WITH_SHIELDS
public static final ActionResult MUST_TARGET_UNIT_WITH_ENERGY
public static final ActionResult CANT_TRADE
public static final ActionResult CANT_SPEND
public static final ActionResult CANT_TARGET_THAT_UNIT
public static final ActionResult COULDNT_ALLOCATE_UNIT
public static final ActionResult UNIT_CANT_MOVE
public static final ActionResult TRANSPORT_IS_HOLDING_POSITION
public static final ActionResult BUILD_TECH_REQUIREMENTS_NOT_MET
public static final ActionResult CANT_FIND_PLACEMENT_LOCATION
public static final ActionResult CANT_BUILD_ON_THAT
public static final ActionResult CANT_BUILD_TOO_CLOSE_TO_DROP_OFF
public static final ActionResult CANT_BUILD_LOCATION_INVALID
public static final ActionResult CANT_SEE_BUILD_LOCATION
public static final ActionResult CANT_BUILD_TOO_CLOSE_TO_CREEP_SOURCE
public static final ActionResult CANT_BUILD_TOO_CLOSE_TO_RESOURCES
public static final ActionResult CANT_BUILD_TOO_FAR_FROM_WATER
public static final ActionResult CANT_BUILD_TOO_FAR_FROM_CREEP_SOURCE
public static final ActionResult CANT_BUILD_TOO_FAR_FROM_BUILD_POWER_SOURCE
public static final ActionResult CANT_BUILD_ON_DENSE_TERRAIN
public static final ActionResult CANT_TRAIN_TOO_FAR_FROM_TRAIN_POWER_SOURCE
public static final ActionResult CANT_LAND_LOCATION_INVALID
public static final ActionResult CANT_SEE_LAND_LOCATION
public static final ActionResult CANT_LAND_TOO_CLOSE_TO_CREEP_SOURCE
public static final ActionResult CANT_LAND_TOO_CLOSE_TO_RESOURCES
public static final ActionResult CANT_LAND_TOO_FAR_FROM_WATER
public static final ActionResult CANT_LAND_TOO_FAR_FROM_CREEP_SOURCE
public static final ActionResult CANT_LAND_TOO_FAR_FROM_BUILD_POWER_SOURCE
public static final ActionResult CANT_LAND_TOO_FAR_FROM_TRAIN_POWER_SOURCE
public static final ActionResult CANT_LAND_ON_DENSE_TERRAIN
public static final ActionResult ADD_ON_TOO_FAR_FROM_BUILDING
public static final ActionResult MUST_BUILD_REFINERY_FIRST
public static final ActionResult BUILDING_IS_UNDER_CONSTRUCTION
public static final ActionResult CANT_FIND_DROP_OFF
public static final ActionResult CANT_LOAD_OTHER_PLAYERS_UNITS
public static final ActionResult NOT_ENOUGH_ROOM_TO_LOAD_UNIT
public static final ActionResult CANT_UNLOAD_UNITS_THERE
public static final ActionResult CANT_WARP_IN_UNITS_THERE
public static final ActionResult CANT_LOAD_IMMOBILE_UNITS
public static final ActionResult CANT_RECHARGE_IMMOBILE_UNITS
public static final ActionResult CANT_RECHARGE_UNDER_CONSTRUCTION_UNITS
public static final ActionResult CANT_LOAD_THAT_UNIT
public static final ActionResult NO_CARGO_TO_UNLOAD
public static final ActionResult LOAD_ALL_NO_TARGETS_FOUND
public static final ActionResult NOT_WHILE_OCCUPIED
public static final ActionResult CANT_ATTACK_WITHOUT_AMMO
public static final ActionResult CANT_HOLD_ANY_MORE_AMMO
public static final ActionResult TECH_REQUIREMENTS_NOT_MET
public static final ActionResult MUST_LOCKDOWN_UNIT_FIRST
public static final ActionResult MUST_TARGET_UNIT
public static final ActionResult MUST_TARGET_INVENTORY
public static final ActionResult MUST_TARGET_VISIBLE_UNIT
public static final ActionResult MUST_TARGET_VISIBLE_LOCATION
public static final ActionResult MUST_TARGET_WALKABLE_LOCATION
public static final ActionResult MUST_TARGET_PAWNABLE_UNIT
public static final ActionResult YOU_CANT_CONTROL_THAT_UNIT
public static final ActionResult YOU_CANT_ISSUE_COMMANDS_TO_THAT_UNIT
public static final ActionResult MUST_TARGET_RESOURCES
public static final ActionResult REQUIRES_HEAL_TARGET
public static final ActionResult REQUIRES_REPAIR_TARGET
public static final ActionResult NO_ITEMS_TO_DROP
public static final ActionResult CANT_HOLD_ANY_MORE_ITEMS
public static final ActionResult CANT_HOLD_THAT
public static final ActionResult TARGET_HAS_NO_INVENTORY
public static final ActionResult CANT_DROP_THIS_ITEM
public static final ActionResult CANT_MOVE_THIS_ITEM
public static final ActionResult CANT_PAWN_THIS_UNIT
public static final ActionResult MUST_TARGET_CASTER
public static final ActionResult CANT_TARGET_CASTER
public static final ActionResult MUST_TARGET_OUTER
public static final ActionResult CANT_TARGET_OUTER
public static final ActionResult MUST_TARGET_YOUR_OWN_UNITS
public static final ActionResult CANT_TARGET_YOUR_OWN_UNITS
public static final ActionResult MUST_TARGET_FRIENDLY_UNITS
public static final ActionResult CANT_TARGET_FRIENDLY_UNITS
public static final ActionResult MUST_TARGET_NEUTRAL_UNITS
public static final ActionResult CANT_TARGET_NEUTRAL_UNITS
public static final ActionResult MUST_TARGET_ENEMY_UNITS
public static final ActionResult CANT_TARGET_ENEMY_UNITS
public static final ActionResult MUST_TARGET_AIR_UNITS
public static final ActionResult CANT_TARGET_AIR_UNITS
public static final ActionResult MUST_TARGET_GROUND_UNITS
public static final ActionResult CANT_TARGET_GROUND_UNITS
public static final ActionResult MUST_TARGET_STRUCTURES
public static final ActionResult CANT_TARGET_STRUCTURES
public static final ActionResult MUST_TARGET_LIGHT_UNITS
public static final ActionResult CANT_TARGET_LIGHT_UNITS
public static final ActionResult MUST_TARGET_ARMORED_UNITS
public static final ActionResult CANT_TARGET_ARMORED_UNITS
public static final ActionResult MUST_TARGET_BIOLOGICAL_UNITS
public static final ActionResult CANT_TARGET_BIOLOGICAL_UNITS
public static final ActionResult MUST_TARGET_HEROIC_UNITS
public static final ActionResult CANT_TARGET_HEROIC_UNITS
public static final ActionResult MUST_TARGET_ROBOTIC_UNITS
public static final ActionResult CANT_TARGET_ROBOTIC_UNITS
public static final ActionResult MUST_TARGET_MECHANICAL_UNITS
public static final ActionResult CANT_TARGET_MECHANICAL_UNITS
public static final ActionResult MUST_TARGET_PSIONIC_UNITS
public static final ActionResult CANT_TARGET_PSIONIC_UNITS
public static final ActionResult MUST_TARGET_MASSIVE_UNITS
public static final ActionResult CANT_TARGET_MASSIVE_UNITS
public static final ActionResult MUST_TARGET_MISSILE
public static final ActionResult CANT_TARGET_MISSILE
public static final ActionResult MUST_TARGET_WORKER_UNITS
public static final ActionResult CANT_TARGET_WORKER_UNITS
public static final ActionResult MUST_TARGET_ENERGY_CAPABLE_UNITS
public static final ActionResult CANT_TARGET_ENERGY_CAPABLE_UNITS
public static final ActionResult MUST_TARGET_SHIELD_CAPABLE_UNITS
public static final ActionResult CANT_TARGET_SHIELD_CAPABLE_UNITS
public static final ActionResult MUST_TARGET_FLYERS
public static final ActionResult CANT_TARGET_FLYERS
public static final ActionResult MUST_TARGET_BURIED_UNITS
public static final ActionResult CANT_TARGET_BURIED_UNITS
public static final ActionResult MUST_TARGET_CLOAKED_UNITS
public static final ActionResult CANT_TARGET_CLOAKED_UNITS
public static final ActionResult MUST_TARGET_UNITS_IN_A_STASIS_FIELD
public static final ActionResult CANT_TARGET_UNITS_IN_A_STASIS_FIELD
public static final ActionResult MUST_TARGET_UNDER_CONSTRUCTION_UNITS
public static final ActionResult CANT_TARGET_UNDER_CONSTRUCTION_UNITS
public static final ActionResult MUST_TARGET_DEAD_UNITS
public static final ActionResult CANT_TARGET_DEAD_UNITS
public static final ActionResult MUST_TARGET_REVIVABLE_UNITS
public static final ActionResult CANT_TARGET_REVIVABLE_UNITS
public static final ActionResult MUST_TARGET_HIDDEN_UNITS
public static final ActionResult CANT_TARGET_HIDDEN_UNITS
public static final ActionResult CANT_RECHARGE_OTHER_PLAYERS_UNITS
public static final ActionResult MUST_TARGET_HALLUCINATIONS
public static final ActionResult CANT_TARGET_HALLUCINATIONS
public static final ActionResult MUST_TARGET_INVULNERABLE_UNITS
public static final ActionResult CANT_TARGET_INVULNERABLE_UNITS
public static final ActionResult MUST_TARGET_DETECTED_UNITS
public static final ActionResult CANT_TARGET_DETECTED_UNITS
public static final ActionResult CANT_TARGET_UNIT_WITH_ENERGY
public static final ActionResult CANT_TARGET_UNIT_WITH_SHIELDS
public static final ActionResult MUST_TARGET_UNCOMMANDABLE_UNITS
public static final ActionResult CANT_TARGET_UNCOMMANDABLE_UNITS
public static final ActionResult MUST_TARGET_PREVENT_DEFEAT_UNITS
public static final ActionResult CANT_TARGET_PREVENT_DEFEAT_UNITS
public static final ActionResult MUST_TARGET_PREVENT_REVEAL_UNITS
public static final ActionResult CANT_TARGET_PREVENT_REVEAL_UNITS
public static final ActionResult MUST_TARGET_PASSIVE_UNITS
public static final ActionResult CANT_TARGET_PASSIVE_UNITS
public static final ActionResult MUST_TARGET_STUNNED_UNITS
public static final ActionResult CANT_TARGET_STUNNED_UNITS
public static final ActionResult MUST_TARGET_SUMMONED_UNITS
public static final ActionResult CANT_TARGET_SUMMONED_UNITS
public static final ActionResult MUST_TARGET_USER1
public static final ActionResult CANT_TARGET_USER1
public static final ActionResult MUST_TARGET_UNSTOPPABLE_UNITS
public static final ActionResult CANT_TARGET_UNSTOPPABLE_UNITS
public static final ActionResult MUST_TARGET_RESISTANT_UNITS
public static final ActionResult CANT_TARGET_RESISTANT_UNITS
public static final ActionResult MUST_TARGET_DAZED_UNITS
public static final ActionResult CANT_TARGET_DAZED_UNITS
public static final ActionResult CANT_LOCKDOWN
public static final ActionResult CANT_MIND_CONTROL
public static final ActionResult MUST_TARGET_DESTRUCTIBLES
public static final ActionResult CANT_TARGET_DESTRUCTIBLES
public static final ActionResult MUST_TARGET_ITEMS
public static final ActionResult CANT_TARGET_ITEMS
public static final ActionResult NO_CALLDOWN_AVAILABLE
public static final ActionResult WAYPOINT_LIST_FULL
public static final ActionResult MUST_TARGET_RACE
public static final ActionResult CANT_TARGET_RACE
public static final ActionResult MUST_TARGET_SIMILAR_UNITS
public static final ActionResult CANT_TARGET_SIMILAR_UNITS
public static final ActionResult CANT_FIND_ENOUGH_TARGETS
public static final ActionResult ALREADY_SPAWNING_LARVA
public static final ActionResult CANT_TARGET_EXHAUSTED_RESOURCES
public static final ActionResult CANT_USE_MINIMAP
public static final ActionResult CANT_USE_INFO_PANEL
public static final ActionResult ORDER_QUEUE_IS_FULL
public static final ActionResult CANT_HARVEST_THAT_RESOURCE
public static final ActionResult HARVESTERS_NOT_REQUIRED
public static final ActionResult ALREADY_TARGETED
public static final ActionResult CANT_ATTACK_WEAPONS_DISABLED
public static final ActionResult COULDNT_REACH_TARGET
public static final ActionResult TARGET_IS_OUT_OF_RANGE
public static final ActionResult TARGET_IS_TOO_CLOSE
public static final ActionResult TARGET_IS_OUT_OF_ARC
public static final ActionResult CANT_FIND_TELEPORT_LOCATION
public static final ActionResult INVALID_ITEM_CLASS
public static final ActionResult CANT_FIND_CANCEL_ORDER
public static ActionResult[] values()
for (ActionResult c : ActionResult.values()) System.out.println(c);
public static ActionResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ActionResult from(SC2APIProtocol.Error.ActionResult sc2ApiActionResult)
Copyright © 2017–2018 Ocraft Project. All rights reserved.