Uses of Enum Class
com.fs.starfarer.api.combat.DamageType
Packages that use DamageType
Package
Description
-
Uses of DamageType in com.fs.starfarer.api.combat
Methods in com.fs.starfarer.api.combat that return DamageTypeModifier and TypeMethodDescriptionDamagingProjectileAPI.getDamageType()
ShipSystemSpecAPI.getDamageType()
WeaponAPI.getDamageType()
MissileAPI.getMirvWarheadDamageType()
DamageAPI.getType()
static DamageType
Returns the enum constant of this class with the specified name.static DamageType[]
DamageType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.fs.starfarer.api.combat with parameters of type DamageTypeModifier and TypeMethodDescriptionvoid
CombatEngineAPI.applyDamage
(CombatEntityAPI entity, org.lwjgl.util.vector.Vector2f point, float damageAmount, DamageType damageType, float empAmount, boolean bypassShields, boolean dealsSoftFlux, Object source) void
CombatEngineAPI.applyDamage
(CombatEntityAPI entity, org.lwjgl.util.vector.Vector2f point, float damageAmount, DamageType damageType, float empAmount, boolean bypassShields, boolean dealsSoftFlux, Object source, boolean playSound) void
CombatEngineAPI.applyDamage
(Object damageModifierParam, CombatEntityAPI entity, org.lwjgl.util.vector.Vector2f point, float damageAmount, DamageType damageType, float empAmount, boolean bypassShields, boolean dealsSoftFlux, Object source, boolean playSound) void
DamageAPI.setType
(DamageType type) CombatEngineAPI.spawnEmpArc
(ShipAPI damageSource, org.lwjgl.util.vector.Vector2f point, CombatEntityAPI pointAnchor, CombatEntityAPI empTargetEntity, DamageType damageType, float damAmount, float empDamAmount, float maxRange, String impactSoundId, float thickness, Color fringe, Color core) CombatEngineAPI.spawnEmpArc
(ShipAPI damageSource, org.lwjgl.util.vector.Vector2f point, CombatEntityAPI pointAnchor, CombatEntityAPI empTargetEntity, DamageType damageType, float damAmount, float empDamAmount, float maxRange, String impactSoundId, float thickness, Color fringe, Color core, EmpArcEntityAPI.EmpArcParams params) CombatEngineAPI.spawnEmpArcPierceShields
(ShipAPI damageSource, org.lwjgl.util.vector.Vector2f point, CombatEntityAPI pointAnchor, CombatEntityAPI empTargetEntity, DamageType damageType, float damAmount, float empDamAmount, float maxRange, String impactSoundId, float thickness, Color fringe, Color core) Same as spawnEmpArc, but goes through shields if they're blocking the line from the point to the chosen target.CombatEngineAPI.spawnEmpArcPierceShields
(ShipAPI damageSource, org.lwjgl.util.vector.Vector2f point, CombatEntityAPI pointAnchor, CombatEntityAPI empTargetEntity, DamageType damageType, float damAmount, float empDamAmount, float maxRange, String impactSoundId, float thickness, Color fringe, Color core, EmpArcEntityAPI.EmpArcParams params) -
Uses of DamageType in com.fs.starfarer.api.combat.listeners
Methods in com.fs.starfarer.api.combat.listeners that return DamageTypeMethods in com.fs.starfarer.api.combat.listeners with parameters of type DamageType -
Uses of DamageType in com.fs.starfarer.api.impl.combat.dweller
Fields in com.fs.starfarer.api.impl.combat.dweller declared as DamageTypeModifier and TypeFieldDescriptionstatic DamageType
ShroudedEjectaShipCreator.EXPLOSION_DAMAGE_TYPE
static DamageType
ShroudedVortexShipCreator.EXPLOSION_DAMAGE_TYPE
-
Uses of DamageType in com.fs.starfarer.api.loading
Methods in com.fs.starfarer.api.loading that return DamageTypeModifier and TypeMethodDescriptionDamagingExplosionSpec.getDamageType()
WeaponSpecAPI.getDamageType()
Methods in com.fs.starfarer.api.loading with parameters of type DamageTypeModifier and TypeMethodDescriptionvoid
DamagingExplosionSpec.setDamageType
(DamageType damageType) void
WeaponSpecAPI.setDamageType
(DamageType damageType) -
Uses of DamageType in com.fs.starfarer.api.util
Methods in com.fs.starfarer.api.util with parameters of type DamageTypeModifier and TypeMethodDescriptionstatic float
Misc.getHitGlowSize
(float baseSize, float baseDamage, DamageType type, float sd, float ad, float hd, float ed)