Uses of Interface
com.fs.starfarer.api.combat.ShipAPI
Packages that use ShipAPI
Package
Description
-
Uses of ShipAPI in com.fs.starfarer.api
Methods in com.fs.starfarer.api with parameters of type ShipAPIModifier and TypeMethodDescriptionSettingsAPI.createDefaultShipAI
(ShipAPI ship, ShipAIConfig config) float
SettingsAPI.getFriendlyFireDanger
(ShipAPI shooter, CombatEntityAPI target, org.lwjgl.util.vector.Vector2f from, org.lwjgl.util.vector.Vector2f to, float weaponSpeed, float burstFireDuration, float weaponRange) float
SettingsAPI.getSafeMovementDir
(ShipAPI ship) BaseModPlugin.pickDroneAI
(ShipAPI drone, ShipAPI mothership, DroneLauncherShipSystemAPI system) ModPlugin.pickDroneAI
(ShipAPI drone, ShipAPI mothership, DroneLauncherShipSystemAPI system) Called to pick drone AI implementation.BaseModPlugin.pickMissileAI
(MissileAPI missile, ShipAPI launchingShip) ModPlugin.pickMissileAI
(MissileAPI missile, ShipAPI launchingShip) Called to pick missile AI implementation.BaseModPlugin.pickShipAI
(FleetMemberAPI member, ShipAPI ship) ModPlugin.pickShipAI
(FleetMemberAPI member, ShipAPI ship) Called to pick an AI implementation for a specific ship.SettingsAPI.pickShipAIPlugin
(FleetMemberAPI member, ShipAPI ship) -
Uses of ShipAPI in com.fs.starfarer.api.characters
Methods in com.fs.starfarer.api.characters with parameters of type ShipAPIModifier and TypeMethodDescriptionvoid
AfterShipCreationSkillEffect.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
AfterShipCreationSkillEffect.unapplyEffectsAfterShipCreation
(ShipAPI ship, String id) -
Uses of ShipAPI in com.fs.starfarer.api.combat
Fields in com.fs.starfarer.api.combat declared as ShipAPIMethods in com.fs.starfarer.api.combat that return ShipAPIModifier and TypeMethodDescriptionCombatEngineAPI.createFXDrone
(ShipVariantAPI variant) ShipAPI.getDroneSource()
ShipAPI.getForceCarrierTarget()
FighterWingAPI.getLeader()
CombatUIAPI.getMainTargetReticleTarget()
ShipAPI.getParentStation()
CombatEngineAPI.getPlayerShip()
DeployedFleetMemberAPI.getShip()
FighterLaunchBayAPI.getShip()
WeaponAPI.getShip()
WeaponGroupAPI.getShip()
CombatFleetManagerAPI.getShipFor
(PersonAPI captain) CombatFleetManagerAPI.getShipFor
(FleetMemberAPI fleetMember) Returns ship that corresponds to the fleet member passed in.CombatEngineAPI.getShipPlayerIsTransferringCommandFrom()
CombatEngineAPI.getShipPlayerIsTransferringCommandTo()
CombatEngineAPI.getShipPlayerLastTransferredCommandTo()
ShipAPI.getShipTarget()
BeamAPI.getSource()
DamagingProjectileAPI.getSource()
Generally a ShipAPI for the ship that ultimately fired this weapon.MissileAPI.getSourceAPI()
FighterWingAPI.getSourceShip()
AutofireAIPlugin.getTargetShip()
ShipAPI.getWingLeader()
Use getWing().getLeader() instead.CombatFleetManagerAPI.spawnFleetMember
(FleetMemberAPI member, org.lwjgl.util.vector.Vector2f location, float facing, float initialBurnDur) member does not actually have to be in the reserves.CombatFleetManagerAPI.spawnShipOrWing
(String specId, org.lwjgl.util.vector.Vector2f location, float facing) Deploy a ship/fighter wing with the given spec or variant id.CombatFleetManagerAPI.spawnShipOrWing
(String specId, org.lwjgl.util.vector.Vector2f location, float facing, float initialBurnDur) Deploy a ship/fighter wing with the given spec or variant id.CombatFleetManagerAPI.spawnShipOrWing
(String specId, org.lwjgl.util.vector.Vector2f location, float facing, float initialBurnDur, PersonAPI captain) ShipAPI.splitShip()
Should be called on a ship that's already a hulk.Methods in com.fs.starfarer.api.combat that return types with arguments of type ShipAPIModifier and TypeMethodDescriptionCombatEngineAPI.getAllShips()
Deprecated.CombatUIAPI.getAllTargetReticleTargets()
ShipAPI.getChildModulesCopy()
ShipAPI.getDeployedDrones()
CombatEngineAPI.getShips()
FighterWingAPI.getWingMembers()
ShipAPI.getWingMembers()
Deprecated.Methods in com.fs.starfarer.api.combat with parameters of type ShipAPIModifier and TypeMethodDescriptionvoid
void
BaseHullMod.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
HullModEffect.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) ship may be null, will be for modspecs.void
BaseHullMod.addSModEffectSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec, boolean isForBuildInList) void
HullModEffect.addSModEffectSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec, boolean isForBuildInList) void
BaseHullMod.addSModSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec, boolean isForBuildInList) void
HullModEffect.addSModSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec, boolean isForBuildInList) void
ShipSystemAIScript.advance
(float amount, org.lwjgl.util.vector.Vector2f missileDangerDir, org.lwjgl.util.vector.Vector2f collisionDangerDir, ShipAPI target) void
BaseHullMod.advanceInCombat
(ShipAPI ship, float amount) void
HullModEffect.advanceInCombat
(ShipAPI ship, float amount) Not called while paused.void
CombatReadinessPlugin.applyCRToShip
(float cr, ShipAPI ship) void
CombatEngineAPI.applyDamageModifiersToSpawnedProjectileWithNullWeapon
(ShipAPI source, WeaponAPI.WeaponType type, boolean isBeam, DamageAPI damage) default void
HullModEffect.applyEffectsAfterShipAddedToCombatEngine
(ShipAPI ship, String id) Only called once.void
BaseHullMod.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
HullModEffect.applyEffectsAfterShipCreation
(ShipAPI ship, String id) Effects applied here should NOT affect ship stats as this does not get called from the campaign.void
BaseHullMod.applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) void
HullModEffect.applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) void
ShipAPI.beginLandingAnimation
(ShipAPI target) The fighter will become invulnerable and gradually get smaller/fade out.boolean
BaseHullMod.canBeAddedOrRemovedNow
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) boolean
HullModEffect.canBeAddedOrRemovedNow
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) Ship may be null from autofit.CombatEngineAPI.createFakeWeapon
(ShipAPI ship, String weaponId) CombatTaskManagerAPI.getAssignmentFor
(ShipAPI ship) Returns the current assignment for a ship (the assignment type, and the target, if any).CombatTaskManagerAPI.getAssignmentTargetFor
(ShipAPI ship) BaseHullMod.getCanNotBeInstalledNowReason
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) HullModEffect.getCanNotBeInstalledNowReason
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) CombatReadinessPlugin.getCRStatusDataForShip
(ShipAPI ship) CombatFleetManagerAPI.getDeployedFleetMember
(ShipAPI ship) CombatFleetManagerAPI.getDeployedFleetMemberEvenIfDisabled
(ShipAPI ship) CombatFleetManagerAPI.getDeployedFleetMemberFromAllEverDeployed
(ShipAPI ship) BaseHullMod.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) HullModEffect.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) int
org.lwjgl.util.vector.Vector2f
DroneLauncherShipSystemAPI.getLandingLocation
(ShipAPI drone) org.lwjgl.util.vector.Vector2f
FighterLaunchBayAPI.getLandingLocation
(ShipAPI fighter) Absolute location the fighter should be heading for landing.FighterWingAPI.getReturnData
(ShipAPI fighter) Which launch bay the fighter should be returning to, if it's returning.BaseHullMod.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) HullModEffect.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) BattleObjectiveEffect.getStatusItemsFor
(ShipAPI ship) Must return null if this objective has no effect on the passed in ship.BaseHullMod.getUnapplicableReason
(ShipAPI ship) HullModEffect.getUnapplicableReason
(ShipAPI ship) boolean
BaseHullMod.hasSModEffectSection
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
HullModEffect.hasSModEffectSection
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) void
CombatEngineAPI.headInDirectionWithoutTurning
(ShipAPI ship, float desiredHeading, float desiredSpeed) Gives strafe left/right and accelerate forward/backward/decelerate commands to accomplish this.void
ShipSystemAIScript.init
(ShipAPI ship, ShipSystemAPI system, ShipwideAIFlags flags, CombatEngineAPI engine) boolean
BaseHullMod.isApplicableToShip
(ShipAPI ship) boolean
HullModEffect.isApplicableToShip
(ShipAPI ship) boolean
boolean
CombatEngineAPI.isInEngine
(ShipAPI ship) boolean
BaseHullMod.isInPlayerFleet
(ShipAPI ship) boolean
boolean
CombatReadinessPlugin.isOkToPermanentlyDisable
(ShipAPI ship, Object module) boolean
FighterWingAPI.isReturning
(ShipAPI fighter) boolean
CombatEngineAPI.isShipAlive
(ShipAPI ship) boolean
void
This removes the fighter from the engine, so its AI methods will stop being called.void
FighterWingAPI.orderReturn
(ShipAPI fighter) void
CombatEngineAPI.playShipExplosionSound
(ShipAPI ship) void
CombatFleetManagerAPI.removeDeployed
(ShipAPI ship, boolean retreated) void
FighterWingAPI.removeMember
(ShipAPI member) void
ShipAPI.setForceCarrierTarget
(ShipAPI forceCarrierTarget) void
ShipAPI.setLaunchingShip
(ShipAPI launchingShip) void
void
ShipAPI.setParentStation
(ShipAPI station) void
CombatEngineAPI.setPlayerShipExternal
(ShipAPI ship) void
CombatEngineAPI.setShipPlayerLastTransferredCommandTo
(ShipAPI ship) void
ShipAPI.setShipTarget
(ShipAPI ship) void
void
void
FighterWingAPI.setSourceShip
(ShipAPI sourceShip) default void
ShipAIPlugin.setTargetOverride
(ShipAPI target) void
EmpArcEntityAPI.setTargetToShipCenter
(org.lwjgl.util.vector.Vector2f sourceSlotPos, ShipAPI ship) boolean
BaseHullMod.shipHasOtherModInCategory
(ShipAPI ship, String currMod, String category) boolean
BaseHullMod.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
HullModEffect.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) ship may be null, will be for modspecs.boolean
BaseHullMod.showInRefitScreenModPickerFor
(ShipAPI ship) boolean
HullModEffect.showInRefitScreenModPickerFor
(ShipAPI ship) CombatEngineAPI.spawnDamagingExplosion
(DamagingExplosionSpec spec, ShipAPI source, org.lwjgl.util.vector.Vector2f location) CombatEngineAPI.spawnDamagingExplosion
(DamagingExplosionSpec spec, ShipAPI source, org.lwjgl.util.vector.Vector2f location, boolean canDamageSource) 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) void
CombatEngineAPI.spawnMuzzleFlashOrSmoke
(ShipAPI ship, WeaponSlotAPI slot, WeaponSpecAPI spec, int barrel, float targetAngle) void
CombatEngineAPI.spawnMuzzleFlashOrSmoke
(ShipAPI ship, org.lwjgl.util.vector.Vector2f point, WeaponSpecAPI spec, float targetAngle) CombatEngineAPI.spawnProjectile
(ShipAPI ship, WeaponAPI weapon, String weaponId, String projSpecId, org.lwjgl.util.vector.Vector2f point, float angle, org.lwjgl.util.vector.Vector2f shipVelocity) Should work now.CombatEngineAPI.spawnProjectile
(ShipAPI ship, WeaponAPI weapon, String weaponId, org.lwjgl.util.vector.Vector2f point, float angle, org.lwjgl.util.vector.Vector2f shipVelocity) void
FighterWingAPI.stopReturning
(ShipAPI fighter) void
CombatEngineAPI.updateStationModuleLocations
(ShipAPI station) Constructors in com.fs.starfarer.api.combat with parameters of type ShipAPI -
Uses of ShipAPI in com.fs.starfarer.api.combat.listeners
Methods in com.fs.starfarer.api.combat.listeners with parameters of type ShipAPIModifier and TypeMethodDescriptionstatic float
CombatListenerUtil.getWeaponBaseRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) float
WeaponBaseRangeModifier.getWeaponBaseRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) static float
CombatListenerUtil.getWeaponBaseRangeMultMod
(ShipAPI ship, WeaponAPI weapon) float
WeaponBaseRangeModifier.getWeaponBaseRangeMultMod
(ShipAPI ship, WeaponAPI weapon) static float
CombatListenerUtil.getWeaponBaseRangePercentMod
(ShipAPI ship, WeaponAPI weapon) float
WeaponBaseRangeModifier.getWeaponBaseRangePercentMod
(ShipAPI ship, WeaponAPI weapon) static float
CombatListenerUtil.getWeaponRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) float
WeaponRangeModifier.getWeaponRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) static float
CombatListenerUtil.getWeaponRangeMultMod
(ShipAPI ship, WeaponAPI weapon) float
WeaponRangeModifier.getWeaponRangeMultMod
(ShipAPI ship, WeaponAPI weapon) static float
CombatListenerUtil.getWeaponRangePercentMod
(ShipAPI ship, WeaponAPI weapon) float
WeaponRangeModifier.getWeaponRangePercentMod
(ShipAPI ship, WeaponAPI weapon) CombatListenerUtil.modifyDamageDealt
(ShipAPI attacker, Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit) CombatListenerUtil.modifyDamageTaken
(ShipAPI ship, Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit) static boolean
CombatListenerUtil.notifyAboutToTakeHullDamage
(ShipAPI ship, Object source, org.lwjgl.util.vector.Vector2f point, float damageAmount) boolean
HullDamageAboutToBeTakenListener.notifyAboutToTakeHullDamage
(Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount) if true is returned, the hull damage to be taken is negated.static void
CombatListenerUtil.reportDamageApplied
(ShipAPI ship, Object source, CombatEntityAPI target, ApplyDamageResultAPI result) -
Uses of ShipAPI in com.fs.starfarer.api.impl
Methods in com.fs.starfarer.api.impl that return ShipAPI -
Uses of ShipAPI in com.fs.starfarer.api.impl.campaign
Methods in com.fs.starfarer.api.impl.campaign with parameters of type ShipAPIModifier and TypeMethodDescriptionvoid
RepairGantry.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
TowCable.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
TowCable.addSModEffectSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec, boolean isForBuildInList) void
TowCable.addSModSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
TowCable.addSModSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec, boolean isForBuildInList) void
RepairGantry.advanceInCombat
(ShipAPI ship, float amount) void
TowCable.advanceInCombat
(ShipAPI ship, float amount) void
TowCable.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
TowCable.applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) boolean
TowCable.canBeAddedOrRemovedNow
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) TowCable.getCanNotBeInstalledNowReason
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) TowCable.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) TowCable.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) TowCable.getUnapplicableReason
(ShipAPI ship) boolean
TowCable.hasSModEffectSection
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
TowCable.isApplicableToShip
(ShipAPI ship) CoreLifecyclePluginImpl.pickShipAI
(FleetMemberAPI member, ShipAPI ship) boolean
RepairGantry.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
TowCable.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
TowCable.showInRefitScreenModPickerFor
(ShipAPI ship) -
Uses of ShipAPI in com.fs.starfarer.api.impl.campaign.fleets
Methods in com.fs.starfarer.api.impl.campaign.fleets that return ShipAPI -
Uses of ShipAPI in com.fs.starfarer.api.impl.campaign.skills
Fields in com.fs.starfarer.api.impl.campaign.skills declared as ShipAPIModifier and TypeFieldDescriptionprotected ShipAPI
NeuralLinkScript.prevPlayerShip
protected ShipAPI
CombatEndurance.CombatEnduranceRegen.ship
protected ShipAPI
DamageControl.DamageControlDamageTakenMod.ship
protected ShipAPI
EnergyWeaponMastery.EWMDamageDealtMod.ship
NeuralLinkScript.SavedShipControlState.ship
protected ShipAPI
PolarizedArmor.PolarizedArmorEffectMod.ship
protected ShipAPI
CoordinatedManeuversScript.undoDPMod
Fields in com.fs.starfarer.api.impl.campaign.skills with type parameters of type ShipAPIMethods in com.fs.starfarer.api.impl.campaign.skills with parameters of type ShipAPIModifier and TypeMethodDescriptionvoid
CombatEndurance.Level4.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
DamageControl.Level6.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
EnergyWeaponMastery.Level1.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
PolarizedArmor.Level2.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
RangedSpecialization.Level1.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
WolfpackTactics.Level1C.applyEffectsAfterShipCreation
(ShipAPI ship, String id) boolean
void
NeuralLinkScript.doTransfer
(ShipAPI ship) static float
NeuralLinkScript.getFloatySize
(ShipAPI ship) void
NeuralLinkScript.restoreControlState
(ShipAPI ship) void
NeuralLinkScript.saveControlState
(ShipAPI ship) void
NeuralLinkScript.suppressControlsDuringTransfer
(ShipAPI playerShip) void
CombatEndurance.Level4.unapplyEffectsAfterShipCreation
(ShipAPI ship, String id) void
DamageControl.Level6.unapplyEffectsAfterShipCreation
(ShipAPI ship, String id) void
EnergyWeaponMastery.Level1.unapplyEffectsAfterShipCreation
(ShipAPI ship, String id) void
PolarizedArmor.Level2.unapplyEffectsAfterShipCreation
(ShipAPI ship, String id) void
RangedSpecialization.Level1.unapplyEffectsAfterShipCreation
(ShipAPI ship, String id) void
WolfpackTactics.Level1C.unapplyEffectsAfterShipCreation
(ShipAPI ship, String id) Constructors in com.fs.starfarer.api.impl.campaign.skills with parameters of type ShipAPIModifierConstructorDescriptionCombatEnduranceRegen
(ShipAPI ship) EWMDamageDealtMod
(ShipAPI ship) PolarizedArmorEffectMod
(ShipAPI ship, String id) -
Uses of ShipAPI in com.fs.starfarer.api.impl.combat
Fields in com.fs.starfarer.api.impl.combat declared as ShipAPIModifier and TypeFieldDescriptionMoteControlScript.SharedMoteAIData.attractorLock
protected ShipAPI
DroneStrikeStats.DroneMissileScript.drone
protected ShipAPI
DroneStrikeStats.forceNextTarget
protected ShipAPI
NeuralTransferVisual.from
EntropyAmplifierStats.TargetData.ship
protected ShipAPI
GravitonBeamEffect.GravitonBeamDamageTakenMod.ship
RealityDisruptorChargeGlow.RDRepairRateDebuff.ship
protected ShipAPI
RiftTrailEffect.ship
TriadShieldStats.TriadShieldVisuals.ship
TriadShieldStatsBackup.ShieldPiece.ship
TriadShieldStatsBackup.TriadShieldVisuals.ship
CryofluxTransducerStats.TargetData.target
DamperFieldOmegaStats.TargetData.target
protected ShipAPI
DisintegratorEffect.target
EntropyAmplifierStats.TargetData.target
InterdictorArrayStats.TargetData.target
protected ShipAPI
NeuralTransferVisual.to
Methods in com.fs.starfarer.api.impl.combat that return ShipAPIModifier and TypeMethodDescriptionprotected ShipAPI
AcausalDisruptorStats.findTarget
(ShipAPI ship) protected ShipAPI
DroneStrikeStats.findTarget
(ShipAPI ship) protected ShipAPI
EntropyAmplifierStats.findTarget
(ShipAPI ship) protected ShipAPI
InterdictorArrayStats.findTarget
(ShipAPI ship) DroneStrikeStats.getForceNextTarget()
MoteControlScript.getLockTarget
(ShipAPI from, org.lwjgl.util.vector.Vector2f loc) Methods in com.fs.starfarer.api.impl.combat that return types with arguments of type ShipAPIMethods in com.fs.starfarer.api.impl.combat with parameters of type ShipAPIModifier and TypeMethodDescriptionprotected void
NovaBurstStats.advanceImpl
(float amount, ShipAPI ship, ShipSystemStatsScript.State state, float effectLevel) protected void
OrionDeviceStats.advanceImpl
(float amount, ShipAPI ship, ShipSystemStatsScript.State state, float effectLevel) void
CRPluginImpl.applyCRToShip
(float cr, ShipAPI ship) protected void
AcausalDisruptorStats.applyEffectToTarget
(ShipAPI ship, ShipAPI target) void
MoteControlScript.calculateTargetData
(ShipAPI ship) void
DroneStrikeStats.convertDrones
(ShipAPI ship, ShipAPI target) protected EveryFrameCombatPlugin
OrionDeviceStats.createBombImpactPlugin
(ShipAPI ship, WeaponSlotAPI launchSlot, MissileAPI bomb, org.lwjgl.util.vector.Vector2f launchLoc, float launchAngle) protected EveryFrameCombatPlugin
MoteControlScript.createTargetJitterPlugin
(ShipAPI target, float in, float out, Color jitterColor) static void
BreachOnHitEffect.dealArmorDamage
(DamagingProjectileAPI projectile, ShipAPI target, org.lwjgl.util.vector.Vector2f point, float armorDamage) protected void
protected ShipAPI
AcausalDisruptorStats.findTarget
(ShipAPI ship) protected ShipAPI
DroneStrikeStats.findTarget
(ShipAPI ship) protected ShipAPI
EntropyAmplifierStats.findTarget
(ShipAPI ship) protected ShipAPI
InterdictorArrayStats.findTarget
(ShipAPI ship) float
BaseShipSystemScript.getActiveOverride
(ShipAPI ship) static float
MoteControlScript.getAntiFighterDamage
(ShipAPI ship) CRPluginImpl.getCRStatusDataForShip
(ShipAPI ship) static float
DisintegratorEffect.getDamageTypeMult
(ShipAPI source, ShipAPI target) static ShipSystemAPI
protected float
PhaseCloakStats.getDisruptionLevel
(ShipAPI ship) protected Color
InterdictorArrayStats.getEffectColor
(ShipAPI ship) static Color
MoteControlScript.getEMPColor
(ShipAPI ship) RecallDeviceStats.getFighters
(ShipAPI carrier) static String
MoteControlScript.getImpactSoundId
(ShipAPI ship) AcausalDisruptorStats.getInfoText
(ShipSystemAPI system, ShipAPI ship) BaseShipSystemScript.getInfoText
(ShipSystemAPI system, ShipAPI ship) DroneStrikeStats.getInfoText
(ShipSystemAPI system, ShipAPI ship) EntropyAmplifierStats.getInfoText
(ShipSystemAPI system, ShipAPI ship) InterdictorArrayStats.getInfoText
(ShipSystemAPI system, ShipAPI ship) MineStrikeStats.getInfoText
(ShipSystemAPI system, ShipAPI ship) MoteControlScript.getInfoText
(ShipSystemAPI system, ShipAPI ship) float
BaseShipSystemScript.getInOverride
(ShipAPI ship) static Color
MoteControlScript.getJitterColor
(ShipAPI ship) MoteControlScript.getLockTarget
(ShipAPI from, org.lwjgl.util.vector.Vector2f loc) static String
MoteControlScript.getLoopSound
(ShipAPI ship) static int
MoteControlScript.getMaxMotes
(ShipAPI ship) static float
AcausalDisruptorStats.getMaxRange
(ShipAPI ship) float
DroneStrikeStats.getMaxRange
(ShipAPI ship) float
DroneStrikeStatsAIInfoProvider.getMaxRange
(ShipAPI ship) static float
EntropyAmplifierStats.getMaxRange
(ShipAPI ship) protected float
InterdictorArrayStats.getMaxRange
(ShipAPI ship) protected float
MineStrikeStats.getMaxRange
(ShipAPI ship) float
MineStrikeStationStats.getMineRange
(ShipAPI ship) float
MineStrikeStats.getMineRange
(ShipAPI ship) float
MineStrikeStatsAIInfoProvider.getMineRange
(ShipAPI ship) float
BaseShipSystemScript.getOutOverride
(ShipAPI ship) static float
static float
float
BaseShipSystemScript.getRegenOverride
(ShipAPI ship) MoteControlScript.getSharedData
(ShipAPI source) static float
ChiralFigmentStats.getSpawnAngle
(ShipAPI ship) float
PhaseCloakStats.getSpeedMult
(ShipAPI ship, float effectLevel) CommRelayEffect.getStatusItemsFor
(ShipAPI ship) NavBuoyEffect.getStatusItemsFor
(ShipAPI ship) SensorArrayEffect.getStatusItemsFor
(ShipAPI ship) org.lwjgl.util.vector.Vector2f
MoteControlScript.getTargetedLocation
(ShipAPI from) org.lwjgl.util.vector.Vector2f
MoteControlScript.getTargetLoc
(ShipAPI from) int
BaseShipSystemScript.getUsesOverride
(ShipAPI ship) static String
MoteControlScript.getWeaponId
(ShipAPI ship) void
static boolean
MoteControlScript.isHighFrequency
(ShipAPI ship) boolean
MoteControlScript.isLocationInRange
(ShipAPI from, org.lwjgl.util.vector.Vector2f loc) boolean
MoteControlScript.isMouseInRange
(ShipAPI from) boolean
CRPluginImpl.isOkToPermanentlyDisable
(ShipAPI ship, Object module) static boolean
CRPluginImpl.isOkToPermanentlyDisableStatic
(ShipAPI ship, Object module) boolean
AcausalDisruptorStats.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
BaseShipSystemScript.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
DroneStrikeStats.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
EntropyAmplifierStats.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
InterdictorArrayStats.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
MineStrikeStats.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
MoteControlScript.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
OrionDeviceStats.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
ReserveWingStats.isUsable
(ShipSystemAPI system, ShipAPI ship) protected void
PhaseCloakStats.maintainStatus
(ShipAPI playerShip, ShipSystemStatsScript.State state, float effectLevel) protected void
void
DroneStrikeStats.setForceNextTarget
(ShipAPI forceNextTarget) void
DroneStrikeStatsAIInfoProvider.setForceNextTarget
(ShipAPI forceNextTarget) protected void
MoteControlScript.spawnAttractorParticles
(ShipAPI ship) void
OrionDeviceStats.spawnBomb
(ShipAPI source, WeaponSlotAPI slot) void
void
void
void
void
Constructors in com.fs.starfarer.api.impl.combat with parameters of type ShipAPIModifierConstructorDescriptionDisintegratorEffect
(DamagingProjectileAPI proj, ShipAPI target, org.lwjgl.util.vector.Vector2f offset) DroneMissileScript
(ShipAPI drone, MissileAPI missile) FigmentPlugin
(String variantId, ShipAPI source, float fadeInTime, float dur, org.lwjgl.util.vector.Vector2f loc) LowCRShipDamageSequence
(ShipAPI ship, float severity) NeuralTransferVisual
(ShipAPI from, ShipAPI to, float duration) RDRepairRateDebuff
(ShipAPI ship, float dur) RiftTrailEffect
(ShipAPI ship, String loopId) ShieldPiece
(ShipAPI ship, boolean upsideDown, float x, float y, float side) TargetData
(ShipAPI target) TargetData
(ShipAPI target) TargetData
(ShipAPI ship, ShipAPI target) TargetData
(ShipAPI target) TriadShieldVisuals
(ShipAPI ship, TriadShieldStats script) TriadShieldVisuals
(ShipAPI ship, TriadShieldStatsBackup script) -
Uses of ShipAPI in com.fs.starfarer.api.impl.combat.dem
Fields in com.fs.starfarer.api.impl.combat.dem declared as ShipAPIModifier and TypeFieldDescriptionprotected ShipAPI
DEMScript.demDrone
protected ShipAPI
DEMScript.ship
Constructors in com.fs.starfarer.api.impl.combat.dem with parameters of type ShipAPI -
Uses of ShipAPI in com.fs.starfarer.api.impl.combat.dweller
Fields in com.fs.starfarer.api.impl.combat.dweller declared as ShipAPIModifier and TypeFieldDescriptionprotected ShipAPI
ConvulsiveLungeSystemAI.ship
protected ShipAPI
DarkenedGazeSystemAI.ship
protected ShipAPI
DwellerShroud.ship
protected ShipAPI
ShroudedEjectaAI.ship
ShroudedEyeShipCreator.PlasmaEyePart.ship
ShroudedThunderheadHullmod.ShroudedThunderheadDamageDealtMod.ship
protected ShipAPI
ShroudedVortexAI.ship
protected ShipAPI
TenebrousExpulsionSystemAI.ship
protected ShipAPI
ShroudedVortexAI.target
protected ShipAPI
DarkenedGazeSystemAI.targetOverride
Methods in com.fs.starfarer.api.impl.combat.dweller that return ShipAPIMethods in com.fs.starfarer.api.impl.combat.dweller with parameters of type ShipAPIModifier and TypeMethodDescriptionvoid
ShroudedLensHullmod.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
ShroudedThunderheadHullmod.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
ConvulsiveLungeSystemAI.advance
(float amount, org.lwjgl.util.vector.Vector2f missileDangerDir, org.lwjgl.util.vector.Vector2f collisionDangerDir, ShipAPI target) void
DarkenedGazeSystemAI.advance
(float amount, org.lwjgl.util.vector.Vector2f missileDangerDir, org.lwjgl.util.vector.Vector2f collisionDangerDir, ShipAPI target) void
TenebrousExpulsionSystemAI.advance
(float amount, org.lwjgl.util.vector.Vector2f missileDangerDir, org.lwjgl.util.vector.Vector2f collisionDangerDir, ShipAPI target) void
DwellerHullmod.advanceInCombat
(ShipAPI ship, float amount) void
ShroudedLensHullmod.advanceInCombat
(ShipAPI ship, float amount) void
ShroudedMantleHullmod.advanceInCombat
(ShipAPI ship, float amount) void
ShroudedThunderheadHullmod.advanceInCombat
(ShipAPI ship, float amount) void
DwellerHullmod.applyEffectsAfterShipAddedToCombatEngine
(ShipAPI ship, String id) void
DwellerHullmod.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
ShroudedThunderheadHullmod.applyEffectsAfterShipCreation
(ShipAPI ship, String id) ShroudedVortexShipCreator.createExplosionSpec
(ShipAPI ship) protected DwellerCombatPlugin
BaseDwellerShipCreator.createPlugin
(ShipAPI ship) protected DwellerCombatPlugin
ShroudedEjectaShipCreator.createPlugin
(ShipAPI ship) protected DwellerCombatPlugin
ShroudedEyeShipCreator.createPlugin
(ShipAPI ship) protected DwellerCombatPlugin
ShroudedMaelstromShipCreator.createPlugin
(ShipAPI ship) protected DwellerCombatPlugin
ShroudedMawShipCreator.createPlugin
(ShipAPI ship) protected DwellerCombatPlugin
ShroudedTendrilShipCreator.createPlugin
(ShipAPI ship) protected DwellerCombatPlugin
ShroudedVortexShipCreator.createPlugin
(ShipAPI ship) protected DwellerCombatPlugin
TestDwellerShipCreator.createPlugin
(ShipAPI ship) protected DwellerShroud
BaseDwellerShipCreator.createShroud
(ShipAPI ship) protected DwellerShroud
ShroudedMawShipCreator.createShroud
(ShipAPI ship) protected DwellerShroud.DwellerShroudParams
BaseDwellerShipCreator.createShroudParams
(ShipAPI ship) protected boolean
HumanShipShroudedHullmod.deductFlux
(ShipAPI ship, float fluxCost) protected void
ShroudedMantleHullmod.doLunge
(ShroudedMantleHullmod.ShroudedMantleHullmodData data, ShipAPI ship, float amount) ShroudedLensHullmod.findTarget
(ShipAPI ship) protected void
DarkenedGazeSystemScript.findWeapons
(ShipAPI ship) static void
TenebrousExpulsionSystemScript.fireShroudedEjecta
(ShipAPI ship, org.lwjgl.util.vector.Vector2f fireDir) DarkenedGazeSystemScript.getInfoText
(ShipSystemAPI system, ShipAPI ship) ShroudedMantleHullmod.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) HumanShipShroudedHullmod.getUnapplicableReason
(ShipAPI ship) void
ConvulsiveLungeSystemAI.init
(ShipAPI ship, ShipSystemAPI system, ShipwideAIFlags flags, CombatEngineAPI engine) protected void
void
DarkenedGazeSystemAI.init
(ShipAPI ship, ShipSystemAPI system, ShipwideAIFlags flags, CombatEngineAPI engine) void
TenebrousExpulsionSystemAI.init
(ShipAPI ship, ShipSystemAPI system, ShipwideAIFlags flags, CombatEngineAPI engine) protected void
void
BaseDwellerShipCreator.initAfterShipAddedToCombatEngine
(ShipAPI ship, String id) void
DwellerShipCreator.initAfterShipAddedToCombatEngine
(ShipAPI ship, String id) void
HumanShipShroudCreator.initAfterShipAddedToCombatEngine
(ShipAPI ship, String id) void
BaseDwellerShipCreator.initAfterShipCreation
(ShipAPI ship, String id) void
DwellerShipCreator.initAfterShipCreation
(ShipAPI ship, String id) void
HumanShipShroudCreator.initAfterShipCreation
(ShipAPI ship, String id) protected void
BaseDwellerShipCreator.initBasicShipProperties
(ShipAPI ship) void
BaseDwellerShipCreator.initInCombat
(ShipAPI ship) void
DwellerShipCreator.initInCombat
(ShipAPI ship) void
HumanShipShroudCreator.initInCombat
(ShipAPI ship) void
ShroudedEjectaShipCreator.initInCombat
(ShipAPI ship) void
ShroudedVortexShipCreator.initInCombat
(ShipAPI ship) boolean
HumanShipShroudedHullmod.isApplicableToShip
(ShipAPI ship) static boolean
static boolean
static boolean
static boolean
protected void
BaseDwellerShipCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) protected void
HumanShipShroudCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) protected void
ShroudedEjectaShipCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) protected void
ShroudedEyeShipCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) protected void
ShroudedMaelstromShipCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) protected void
ShroudedMawShipCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) protected void
ShroudedTendrilShipCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) protected void
ShroudedVortexShipCreator.modifyBaselineShroudParams
(ShipAPI ship, DwellerShroud.DwellerShroudParams params) boolean
DwellerCombatPlugin.notifyAboutToTakeHullDamage
(Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount) protected void
BaseDwellerShipCreator.setOverloadColorAndText
(ShipAPI ship, DwellerShroud shroud) boolean
ShroudedLensHullmod.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
ShroudedThunderheadHullmod.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) void
ShroudedLensHullmod.spawnExplosion
(ShipAPI ship, CombatEntityAPI target) void
ShroudedThunderheadHullmod.spawnLightning
(ShipAPI ship, ShroudedThunderheadHullmod.RecentHitData hit) static void
Constructors in com.fs.starfarer.api.impl.combat.dweller with parameters of type ShipAPIModifierConstructorDescriptionPlasmaEyePart
(org.lwjgl.util.vector.Vector2f offset, float facingOffset, ShipAPI ship, float radius) ShroudedEjectaAI
(ShipAPI ship) ShroudedVortexAI
(ShipAPI ship) -
Uses of ShipAPI in com.fs.starfarer.api.impl.combat.threat
Fields in com.fs.starfarer.api.impl.combat.threat declared as ShipAPIModifier and TypeFieldDescriptionprotected ShipAPI
ThreatSwarmAI.fabricator
protected ShipAPI
ThreatShipReclamationScript.primary
protected ShipAPI
AttackSwarmPhaseModeScript.ship
protected ShipAPI
BaseFragmentMissileEffect.ship
protected ShipAPI
ConstructionSwarmSystemAI.ship
protected ShipAPI
EnergyLashSystemAI.ship
protected ShipAPI
ThreatShipConstructionScript.ship
protected ShipAPI
ThreatSwarmAI.ship
protected ShipAPI
ThreatShipConstructionScript.source
ThreatSwarmAI.SharedSwarmWingData.target
Fields in com.fs.starfarer.api.impl.combat.threat with type parameters of type ShipAPIModifier and TypeFieldDescriptionThreatShipConstructionScript.explodedPieces
ThreatShipReclamationScript.pieces
ThreatShipReclamationScript.swarms
Methods in com.fs.starfarer.api.impl.combat.threat that return ShipAPIModifier and TypeMethodDescriptionprotected ShipAPI
EnergyLashSystemScript.findTarget
(ShipAPI ship) ThreatShipConstructionScript.getShip()
protected ShipAPI
ThreatShipReclamationScript.launchSwarm()
Methods in com.fs.starfarer.api.impl.combat.threat that return types with arguments of type ShipAPIModifier and TypeMethodDescriptionThreatShipReclamationScript.getPieces()
EnergyLashSystemAI.getPossibleTargets()
EnergyLashSystemAI.getWeightedTargets
(ShipAPI shipTarget) Methods in com.fs.starfarer.api.impl.combat.threat with parameters of type ShipAPIModifier and TypeMethodDescriptionvoid
ThreatHullmod.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
ConstructionSwarmSystemAI.advance
(float amount, org.lwjgl.util.vector.Vector2f missileDangerDir, org.lwjgl.util.vector.Vector2f collisionDangerDir, ShipAPI target) void
EnergyLashSystemAI.advance
(float amount, org.lwjgl.util.vector.Vector2f missileDangerDir, org.lwjgl.util.vector.Vector2f collisionDangerDir, ShipAPI target) void
FragmentSwarmHullmod.advanceInCombat
(ShipAPI ship, float amount) void
ThreatHullmod.advanceInCombat
(ShipAPI ship, float amount) void
ThreatHullmod.applyEffectsAfterShipAddedToCombatEngine
(ShipAPI ship, String id) void
FragmentSwarmHullmod.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
ThreatHullmod.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
ThreatHullmod.applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) protected void
EnergyLashSystemScript.applyEffectToTarget
(ShipAPI ship, ShipAPI target) protected abstract void
BaseEnergyLashActivatedSystem.applyImpl
(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) void
DisplacerGlowScript.applyImpl
(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) void
ExtractionProtocolSystemScript.applyImpl
(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) void
FragmentVolleySystemScript.applyImpl
(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) void
IncursionModeSystemScript.applyImpl
(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) static boolean
ConstructionSwarmSystemScript.constructionSwarmWillBuild
(ShipAPI ship, String tag, ShipAPI.HullSize size) static RoilingSwarmEffect
FragmentSwarmHullmod.createSwarmFor
(ShipAPI ship) boolean
ConstructionSwarmSystemScript.enoughCR
(ShipSystemAPI system, ShipAPI ship) boolean
ConstructionSwarmSystemScript.enoughDP
(ShipSystemAPI system, ShipAPI ship) boolean
ConstructionSwarmSystemScript.enoughFragments
(ShipSystemAPI system, ShipAPI ship) protected void
protected void
protected ShipAPI
EnergyLashSystemScript.findTarget
(ShipAPI ship) float
DisplacerGlowScript.getCurrentUsefulnessLevel
(ShipAPI overseer, ShipAPI ship) float
EnergyLashActivatedSystem.getCurrentUsefulnessLevel
(ShipAPI overseer, ShipAPI ship) 0 to 1, how useful would the ship find it to have its system be lash-activated right now.float
ExtractionProtocolSystemScript.getCurrentUsefulnessLevel
(ShipAPI overseer, ShipAPI ship) float
FragmentVolleySystemScript.getCurrentUsefulnessLevel
(ShipAPI overseer, ShipAPI ship) float
IncursionModeSystemScript.getCurrentUsefulnessLevel
(ShipAPI overseer, ShipAPI ship) ConstructionSwarmSystemScript.getInfoText
(ShipSystemAPI system, ShipAPI ship) EnergyLashSystemScript.getInfoText
(ShipSystemAPI system, ShipAPI ship) static float
FragmentVolleySystemScript.getMinFragmentWeaponRange
(ShipAPI ship) static float
IncursionModeSystemScript.getNonMissileWeaponRange
(ShipAPI ship) int
SwarmLauncherEffect.getPreferredNumFragmentsToFireConsideringAllWeapons
(ShipAPI ship) static float
static float
ThreatSwarmAI.getShipWeight
(ShipAPI ship) static float
ThreatSwarmAI.getShipWeight
(ShipAPI ship, boolean adjustForNonCombat) FragmentCoordinatorHullmod.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) FragmentSwarmHullmod.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) SecondaryFabricatorHullmod.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) FragmentCoordinatorHullmod.getUnapplicableReason
(ShipAPI ship) FragmentSwarmHullmod.getUnapplicableReason
(ShipAPI ship) SecondaryFabricatorHullmod.getUnapplicableReason
(ShipAPI ship) float
FragmentVolleySystemScript.getWeaponRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) float
FragmentVolleySystemScript.getWeaponRangeMultMod
(ShipAPI ship, WeaponAPI weapon) float
FragmentVolleySystemScript.getWeaponRangePercentMod
(ShipAPI ship, WeaponAPI weapon) EnergyLashSystemAI.getWeightedTargets
(ShipAPI shipTarget) void
BaseEnergyLashActivatedSystem.hitWithEnergyLash
(ShipAPI overseer, ShipAPI ship) void
DisplacerGlowScript.hitWithEnergyLash
(ShipAPI overseer, ShipAPI ship) void
EnergyLashActivatedSystem.hitWithEnergyLash
(ShipAPI overseer, ShipAPI ship) protected void
void
ConstructionSwarmSystemAI.init
(ShipAPI ship, ShipSystemAPI system, ShipwideAIFlags flags, CombatEngineAPI engine) void
EnergyLashSystemAI.init
(ShipAPI ship, ShipSystemAPI system, ShipwideAIFlags flags, CombatEngineAPI engine) protected void
boolean
FragmentCoordinatorHullmod.isApplicableToShip
(ShipAPI ship) boolean
FragmentSwarmHullmod.isApplicableToShip
(ShipAPI ship) boolean
SecondaryFabricatorHullmod.isApplicableToShip
(ShipAPI ship) static boolean
ThreatSwarmAI.isAttackSwarm
(ShipAPI ship) static boolean
ThreatCombatStrategyAI.isCombatUnit
(ShipAPI ship) static boolean
ThreatSwarmAI.isConstructionSwarm
(ShipAPI ship) static boolean
ThreatCombatStrategyAI.isFabricator
(ShipAPI ship) static boolean
boolean
static boolean
ThreatCombatStrategyAI.isOverseer
(ShipAPI ship) static boolean
ThreatSwarmAI.isReclamationSwarm
(ShipAPI ship) static boolean
VoltaicDischargeOnFireEffect.isSwarmPhaseMode
(ShipAPI ship) boolean
ConstructionSwarmSystemScript.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
EnergyLashSystemScript.isUsable
(ShipSystemAPI system, ShipAPI ship) boolean
EnergyLashSystemScript.isValidLashTarget
(ShipAPI ship, ShipAPI other) protected void
ConstructionSwarmSystemScript.launchSwarm
(ShipAPI ship) protected void
BaseEnergyLashActivatedSystem.makeAllGroupsAutofireOneFrame
(ShipAPI ship) ConstructionSwarmSystemScript.pickVariant
(ShipAPI ship) protected void
BaseEnergyLashActivatedSystem.setStandardJitter
(ShipAPI ship, ShipSystemStatsScript.State state, float effectLevel) static void
VoltaicDischargeOnFireEffect.setSwarmPhaseMode
(ShipAPI ship) boolean
ThreatHullmod.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) default void
FragmentWeapon.showNoFragmentSwarmWarning
(WeaponAPI w, ShipAPI ship) protected void
ThreatShipReclamationScript.spawnParticles
(ShipAPI ship, float amount, float progress) Constructors in com.fs.starfarer.api.impl.combat.threat with parameters of type ShipAPIModifierConstructorDescriptionAttackSwarmPhaseModeScript
(ShipAPI ship, float dur) ThreatShipConstructionScript
(String variantId, ShipAPI source, float delay, float fadeInTime) ThreatShipReclamationScript
(ShipAPI ship, float delay) ThreatSwarmAI
(ShipAPI ship) -
Uses of ShipAPI in com.fs.starfarer.api.impl.hullmods
Fields in com.fs.starfarer.api.impl.hullmods declared as ShipAPIModifier and TypeFieldDescriptionprotected ShipAPI
BDeck.BDeckListener.ship
protected ShipAPI
HighScatterAmp.HighScatterAmpDamageDealtMod.ship
PhaseAnchor.PhaseAnchorScript.ship
Methods in com.fs.starfarer.api.impl.hullmods with parameters of type ShipAPIModifier and TypeMethodDescriptionvoid
Automated.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
BallisticRangefinder.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
ConvertedHangar.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
EnergyBoltCoherer.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
HighResSensors.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
HighScatterAmp.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
MissileAutoloader.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
NeuralInterface.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
PhaseField.addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) void
BDeck.advanceInCombat
(ShipAPI ship, float amount) void
DoNotBackOff.advanceInCombat
(ShipAPI ship, float amount) void
EscortPackage.advanceInCombat
(ShipAPI ship, float amount) void
MissileAutoloader.advanceInCombat
(ShipAPI ship, float amount) void
NeuralInterface.advanceInCombat
(ShipAPI ship, float amount) void
OperationsCenter.advanceInCombat
(ShipAPI ship, float amount) void
PeriodicMissileReload.advanceInCombat
(ShipAPI ship, float amount) void
ShardSpawner.advanceInCombat
(ShipAPI ship, float amount) void
SharedFluxSink.advanceInCombat
(ShipAPI ship, float amount) void
ShieldAlwaysOn.advanceInCombat
(ShipAPI ship, float amount) void
StealthMinefield.advanceInCombat
(ShipAPI ship, float amount) void
Automated.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
BallisticRangefinder.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
BDeck.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
EnergyBoltCoherer.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
HighScatterAmp.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
PDIntegration.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
PhaseAnchor.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
ShieldShunt.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
TerminatorCore.applyEffectsAfterShipCreation
(ShipAPI ship, String id) void
ConvertedHangar.applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) void
DefectiveManufactory.applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) void
DefensiveTargetingArray.applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) void
EscortPackage.applyEPEffect
(ShipAPI ship, ShipAPI other, float mag) boolean
PDIntegration.canBeAddedOrRemovedNow
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) protected ShardSpawner.ShardFadeInPlugin
ShardSpawner.createShipFadeInPlugin
(String variantId, ShipAPI source, float delay, float fadeInTime, float angle) protected EveryFrameCombatPlugin
ShardSpawner.createShipFadeOutPlugin
(ShipAPI ship, float fadeOutTime, List<ShardSpawner.ShardFadeInPlugin> shards) PDIntegration.getCanNotBeInstalledNowReason
(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode) MissileAutoloader.getCapacityData
(ShipAPI ship) CompromisedStorage.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) CompromisedStructure.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) DamagedFlightDeck.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) DamagedWeaponMounts.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) DefectiveManufactory.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) DegradedLifeSupport.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) DegradedShields.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) EfficiencyOverhaul.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) ErraticInjector.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) FaultyAutomatedSystems.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) FragileSubsystems.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) GlitchedSensorArray.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) IncreasedMaintenance.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) MalfunctioningComms.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) PDIntegration.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) SharedFluxSink.getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) static SpriteAPI
ConvertedHangar.getFighterSkin
(ShipAPI fighter, ShipAPI carrier) static SpriteAPI
ConvertedHangar.getFighterSkin
(String cat, ShipAPI fighter, ShipAPI carrier) static WeaponAPI.WeaponSize
BallisticRangefinder.getLargestBallisticSlot
(ShipAPI ship) int
protected int
BaseLogisticsHullMod.getNumLogisticsMods
(ShipAPI ship) static float
MissileAutoloader.getReloadCost
(WeaponAPI w, ShipAPI ship) ConvertedHangar.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) EfficiencyOverhaul.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) HighScatterAmp.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) MissileAutoloader.getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) ShardSpawner.getTypePickerBasedOnLocalConditions
(ShipAPI ship) AdaptivePhaseCoils.getUnapplicableReason
(ShipAPI ship) AssaultPackage.getUnapplicableReason
(ShipAPI ship) BallisticRangefinder.getUnapplicableReason
(ShipAPI ship) BaseLogisticsHullMod.getUnapplicableReason
(ShipAPI ship) CompromisedStorage.getUnapplicableReason
(ShipAPI ship) ConvertedHangar.getUnapplicableReason
(ShipAPI ship) DefensiveTargetingArray.getUnapplicableReason
(ShipAPI ship) EscortPackage.getUnapplicableReason
(ShipAPI ship) ExpandedDeckCrew.getUnapplicableReason
(ShipAPI ship) FighterChassisStorage.getUnapplicableReason
(ShipAPI ship) FragileSubsystems.getUnapplicableReason
(ShipAPI ship) HighScatterAmp.getUnapplicableReason
(ShipAPI ship) MilitarizedSubsystems.getUnapplicableReason
(ShipAPI ship) MissileAutoloader.getUnapplicableReason
(ShipAPI ship) NeuralIntegrator.getUnapplicableReason
(ShipAPI ship) NeuralInterface.getUnapplicableReason
(ShipAPI ship) PhaseAnchor.getUnapplicableReason
(ShipAPI ship) RecoveryShuttles.getUnapplicableReason
(ShipAPI ship) ShieldShunt.getUnapplicableReason
(ShipAPI ship) float
BallisticRangefinder.RangefinderRangeModifier.getWeaponBaseRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) float
EnergyBoltCoherer.EnergyBoltCohererRangeModifier.getWeaponBaseRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) float
HighScatterAmp.HighScatterAmpRangeMod.getWeaponBaseRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) float
BallisticRangefinder.RangefinderRangeModifier.getWeaponBaseRangeMultMod
(ShipAPI ship, WeaponAPI weapon) float
EnergyBoltCoherer.EnergyBoltCohererRangeModifier.getWeaponBaseRangeMultMod
(ShipAPI ship, WeaponAPI weapon) float
HighScatterAmp.HighScatterAmpRangeMod.getWeaponBaseRangeMultMod
(ShipAPI ship, WeaponAPI weapon) float
BallisticRangefinder.RangefinderRangeModifier.getWeaponBaseRangePercentMod
(ShipAPI ship, WeaponAPI weapon) float
EnergyBoltCoherer.EnergyBoltCohererRangeModifier.getWeaponBaseRangePercentMod
(ShipAPI ship, WeaponAPI weapon) float
HighScatterAmp.HighScatterAmpRangeMod.getWeaponBaseRangePercentMod
(ShipAPI ship, WeaponAPI weapon) boolean
ShardSpawner.hasGoodArmor
(ShipAPI other) boolean
ShardSpawner.hasGoodShields
(ShipAPI other) boolean
AdaptivePhaseCoils.isApplicableToShip
(ShipAPI ship) boolean
AssaultPackage.isApplicableToShip
(ShipAPI ship) boolean
BallisticRangefinder.isApplicableToShip
(ShipAPI ship) boolean
BaseLogisticsHullMod.isApplicableToShip
(ShipAPI ship) boolean
CompromisedStorage.isApplicableToShip
(ShipAPI ship) boolean
ConvertedHangar.isApplicableToShip
(ShipAPI ship) boolean
DefensiveTargetingArray.isApplicableToShip
(ShipAPI ship) boolean
EscortPackage.isApplicableToShip
(ShipAPI ship) boolean
ExpandedDeckCrew.isApplicableToShip
(ShipAPI ship) boolean
FighterChassisStorage.isApplicableToShip
(ShipAPI ship) boolean
FragileSubsystems.isApplicableToShip
(ShipAPI ship) boolean
HighScatterAmp.isApplicableToShip
(ShipAPI ship) boolean
MilitarizedSubsystems.isApplicableToShip
(ShipAPI ship) boolean
MissileAutoloader.isApplicableToShip
(ShipAPI ship) boolean
NeuralIntegrator.isApplicableToShip
(ShipAPI ship) boolean
NeuralInterface.isApplicableToShip
(ShipAPI ship) boolean
PhaseAnchor.isApplicableToShip
(ShipAPI ship) boolean
RecoveryShuttles.isApplicableToShip
(ShipAPI ship) boolean
ShieldShunt.isApplicableToShip
(ShipAPI ship) static boolean
Automated.isAutomatedNoPenalty
(ShipAPI ship) boolean
ShardSpawner.isVulnerableToMissileBarrage
(ShipAPI from, ShipAPI other) boolean
PhaseAnchor.PhaseAnchorScript.notifyAboutToTakeHullDamage
(Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount) static void
ConvertedHangar.setFighterSkin
(ShipAPI fighter, ShipAPI carrier) boolean
BallisticRangefinder.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
ConvertedHangar.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
EnergyBoltCoherer.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
HighResSensors.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
HighScatterAmp.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
MissileAutoloader.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) boolean
PhaseField.shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) void
Constructors in com.fs.starfarer.api.impl.hullmods with parameters of type ShipAPIModifierConstructorDescriptionBDeckListener
(ShipAPI ship) PhaseAnchorScript
(ShipAPI ship) ShardFadeInPlugin
(String variantId, ShipAPI source, float delay, float fadeInTime, float angle) -
Uses of ShipAPI in com.fs.starfarer.api.loading
Methods in com.fs.starfarer.api.loading with parameters of type ShipAPIModifier and TypeMethodDescriptionfloat
WeaponSlotAPI.computeMidArcAngle
(ShipAPI ship) static DamagingExplosionSpec
DamagingExplosionSpec.explosionSpecForShip
(ShipAPI ship) static float
DamagingExplosionSpec.getShipExplosionRadius
(ShipAPI ship) -
Uses of ShipAPI in com.fs.starfarer.api.plugins
Methods in com.fs.starfarer.api.plugins that return ShipAPIMethods in com.fs.starfarer.api.plugins with parameters of type ShipAPIModifier and TypeMethodDescriptionfloat
ShipSystemStatsScript.getActiveOverride
(ShipAPI ship) ShipSystemStatsScriptAdvanced.getInfoText
(ShipSystemAPI system, ShipAPI ship) If null, uses "READY" and "ACTIVE" as appropritate in the ship info widget.float
ShipSystemStatsScript.getInOverride
(ShipAPI ship) float
ShipSystemStatsScript.getOutOverride
(ShipAPI ship) float
ShipSystemStatsScript.getRegenOverride
(ShipAPI ship) int
ShipSystemStatsScript.getUsesOverride
(ShipAPI ship) boolean
ShipSystemStatsScriptAdvanced.isUsable
(ShipSystemAPI system, ShipAPI ship) -
Uses of ShipAPI in com.fs.starfarer.api.util
Methods in com.fs.starfarer.api.util that return ShipAPIModifier and TypeMethodDescriptionstatic ShipAPI
Misc.findClosestShipEnemyOf
(ShipAPI ship, org.lwjgl.util.vector.Vector2f locFromForSorting, ShipAPI.HullSize smallestToNote, float maxRange, boolean considerShipRadius) static ShipAPI
Misc.findClosestShipEnemyOf
(ShipAPI ship, org.lwjgl.util.vector.Vector2f locFromForSorting, ShipAPI.HullSize smallestToNote, float maxRange, boolean considerShipRadius, Misc.FindShipFilter filter) static ShipAPI
Misc.findClosestShipTo
(ShipAPI ship, org.lwjgl.util.vector.Vector2f locFromForSorting, ShipAPI.HullSize smallestToNote, float maxRange, boolean considerShipRadius, boolean allowHulks, Misc.FindShipFilter filter) Methods in com.fs.starfarer.api.util with parameters of type ShipAPIModifier and TypeMethodDescriptionstatic float
Misc.countEnemyWeightInArc
(ShipAPI ship, float dir, float arc, float maxRange, boolean ignoreFightersAndModules) static float
Misc.countEnemyWeightInArcAroundLocation
(int owner, org.lwjgl.util.vector.Vector2f loc, float dir, float arc, float maxRange, ShipAPI ignore, boolean ignoreFightersAndModules, boolean awareOnly) static float
Misc.countEnemyWeightInArcAroundLocation
(ShipAPI ship, org.lwjgl.util.vector.Vector2f loc, float dir, float arc, float maxRange, ShipAPI ignore, boolean ignoreFightersAndModules) static ShipAPI
Misc.findClosestShipEnemyOf
(ShipAPI ship, org.lwjgl.util.vector.Vector2f locFromForSorting, ShipAPI.HullSize smallestToNote, float maxRange, boolean considerShipRadius) static ShipAPI
Misc.findClosestShipEnemyOf
(ShipAPI ship, org.lwjgl.util.vector.Vector2f locFromForSorting, ShipAPI.HullSize smallestToNote, float maxRange, boolean considerShipRadius, Misc.FindShipFilter filter) static ShipAPI
Misc.findClosestShipTo
(ShipAPI ship, org.lwjgl.util.vector.Vector2f locFromForSorting, ShipAPI.HullSize smallestToNote, float maxRange, boolean considerShipRadius, boolean allowHulks, Misc.FindShipFilter filter) static float
Misc.getAdjustedBaseRange
(float base, ShipAPI ship, WeaponAPI weapon) static float
Misc.getFleetwideTotalMod
(CampaignFleetAPI fleet, String dynamicMemberStatId, float base, ShipAPI ship) static float
Misc.getIncapacitatedTime
(ShipAPI ship) static int
Misc.getMaxPermanentMods
(ShipAPI ship) static float
Misc.getShipWeight
(ShipAPI ship) static float
Misc.getShipWeight
(ShipAPI ship, boolean adjustForNonCombat) static SpriteAPI
Misc.getWeaponSkin
(ShipAPI ship, String weaponId, Misc.WeaponSkinType type) static SpriteAPI
Misc.getWeaponSkin
(String cat, String weaponId, ShipAPI ship, Misc.WeaponSkinType type) static boolean
Misc.isActiveModule
(ShipAPI ship) static boolean
Misc.isAutomated
(ShipAPI ship) boolean
static boolean
Misc.shouldShowDamageFloaty
(ShipAPI source, ShipAPI target) static boolean
Misc.turnTowardsFacingV2
(ShipAPI ship, float desiredFacing, float relativeAngVel)