Package com.fs.starfarer.api.combat
Enum Class WeaponAPI.AIHints
- All Implemented Interfaces:
Serializable
,Comparable<WeaponAPI.AIHints>
,Constable
- Enclosing interface:
- WeaponAPI
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionlike STRIKE but only for when the enemy ship is considering it, not for its own weapon useIncreased weight for preferring to select for manual fire.The weapon should not be selected for manual fire.Similar to RANGE_FROM_TARGETING_OVAL, but from ship center + radius instead.Compute range from the ship's targeting oval instead of from the slot location. -
Method Summary
Modifier and TypeMethodDescriptionstatic WeaponAPI.AIHints
Returns the enum constant of this class with the specified name.static WeaponAPI.AIHints[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PD
-
PD_ONLY
-
PD_ALSO
-
USE_VS_FRIGATES
-
STRIKE
-
DANGEROUS
-
BOMB
like STRIKE but only for when the enemy ship is considering it, not for its own weapon use -
GUIDED_POOR
-
DO_NOT_AIM
-
ANTI_FTR
-
HEATSEEKER
-
SYSTEM
-
SHOW_IN_CODEX
-
AUTOZOOM
-
DO_NOT_CONSERVE
-
CONSERVE_1
-
CONSERVE_2
-
CONSERVE_3
-
CONSERVE_4
-
CONSERVE_5
-
CONSERVE_ALL
-
CONSERVE_FOR_ANTI_ARMOR
-
FIRE_WHEN_INEFFICIENT
-
EXTRA_RANGE_ON_FIGHTER
-
IGNORES_FLARES
-
GROUP_LINKED
-
GROUP_ALTERNATING
-
MISSILE_SPREAD
-
DIRECT_AIM
-
NO_TURN_RATE_BOOST_WHEN_IDLE
-
RESET_BARREL_INDEX_ON_BURST
-
USE_LESS_VS_SHIELDS
-
RANGE_FROM_TARGETING_OVAL
Compute range from the ship's targeting oval instead of from the slot location. Useful for swarm missile weapons where the launch point is not from the weapon slot. -
RANGE_FROM_SHIP_RADIUS
Similar to RANGE_FROM_TARGETING_OVAL, but from ship center + radius instead. Useful for missile weapons that have a fixed maximum range rather than being limited by flight time, but - as in the case of some fragment weapons - can be launched from very different locations. -
IMPORTANT
Increased weight for preferring to select for manual fire. -
NO_MANUAL_FIRE
The weapon should not be selected for manual fire. It still might be if it's in a group with other weapons or there's no other choice.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-