Package com.fs.starfarer.api.combat
Interface ShipHullSpecAPI
- All Superinterfaces:
WithSourceMod
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuiltInMod
(String modId) void
addBuiltInWeapon
(String slotId, String weaponId) void
float
float
float
float
float
getCargo()
float
float
float
(Equivalent to getCRLossPerSecond(), the parameter is ignored.)float
int
int
float
float
float
getFuel()
float
getHints()
float
float
float
float
float
org.lwjgl.util.vector.Vector2f
float
float
int
float
float
float
getTags()
getWeaponSlot
(String slotId) getWeaponSlotAPI
(String slotId) boolean
boolean
boolean
boolean
boolean
boolean
isBuiltInMod
(String modId) boolean
isBuiltInWing
(int index) boolean
boolean
boolean
boolean
boolean
isDHull()
boolean
boolean
isPhase()
boolean
void
setCodexVariantId
(String codexVariantId) void
setCompatibleWithBase
(boolean compatibleWithBase) void
setCRLossPerSecond
(float crLossPerSecond) void
setCRToDeploy
(float crToDeploy) void
setDescriptionId
(String descriptionId) void
setDescriptionPrefix
(String descriptionPrefix) void
setDesignation
(String designation) void
setDParentHullId
(String dParentHullId) void
setFleetPoints
(int fleetPoints) void
setHullName
(String hullName) void
setLogisticsNAReason
(String logisticsNAReason) void
setManufacturer
(String manufacturer) void
setModuleAnchor
(org.lwjgl.util.vector.Vector2f moduleAnchor) void
setNoCRLossSeconds
(float noCRLossSeconds) void
setRepairPercentPerDay
(float repairPercentPerDay) void
setRestoreToBase
(boolean restoreToBase) void
setShipDefenseId
(String shipDefenseId) void
setShipSystemId
(String shipSystemId) void
setSuppliesPerMonth
(float suppliesPerMonth) void
setSuppliesToRecover
(float suppliesToRecover) void
setTravelDriveId
(String travelDriveId) Methods inherited from interface com.fs.starfarer.api.loading.WithSourceMod
getSourceMod
-
Method Details
-
getShieldSpec
ShipHullSpecAPI.ShieldSpecAPI getShieldSpec() -
getDefenseType
ShieldAPI.ShieldType getDefenseType() -
getHullId
String getHullId() -
getHullName
String getHullName() -
getHints
EnumSet<ShipHullSpecAPI.ShipTypeHints> getHints() -
getNoCRLossTime
float getNoCRLossTime() -
getCRToDeploy
float getCRToDeploy() -
getCRLossPerSecond
float getCRLossPerSecond() -
getCRLossPerSecond
(Equivalent to getCRLossPerSecond(), the parameter is ignored.)- Parameters:
stats
-- Returns:
-
getBaseValue
float getBaseValue() -
getOrdnancePoints
-
getHullSize
ShipAPI.HullSize getHullSize() -
getHitpoints
float getHitpoints() -
getArmorRating
float getArmorRating() -
getFluxCapacity
float getFluxCapacity() -
getFluxDissipation
float getFluxDissipation() -
getShieldType
ShieldAPI.ShieldType getShieldType() -
getAllWeaponSlotsCopy
List<WeaponSlotAPI> getAllWeaponSlotsCopy() -
getSpriteName
String getSpriteName() -
isCompatibleWithBase
boolean isCompatibleWithBase() -
getBaseHullId
String getBaseHullId() -
getBaseShieldFluxPerDamageAbsorbed
float getBaseShieldFluxPerDamageAbsorbed() -
getHullNameWithDashClass
String getHullNameWithDashClass() -
hasHullName
boolean hasHullName() -
getBreakProb
float getBreakProb() -
getMinPieces
float getMinPieces() -
getMaxPieces
float getMaxPieces() -
getFighterBays
int getFighterBays() -
getMinCrew
float getMinCrew() -
getMaxCrew
float getMaxCrew() -
getCargo
float getCargo() -
getFuel
float getFuel() -
getFuelPerLY
float getFuelPerLY() -
isDHull
boolean isDHull() -
isDefaultDHull
boolean isDefaultDHull() -
setDParentHullId
-
getDParentHullId
String getDParentHullId() -
getDParentHull
ShipHullSpecAPI getDParentHull() -
getBaseHull
ShipHullSpecAPI getBaseHull() -
getBuiltInWings
-
isBuiltInWing
boolean isBuiltInWing(int index) -
getDesignation
String getDesignation() -
hasDesignation
boolean hasDesignation() -
isRestoreToBase
boolean isRestoreToBase() -
setRestoreToBase
void setRestoreToBase(boolean restoreToBase) -
getModuleAnchor
org.lwjgl.util.vector.Vector2f getModuleAnchor() -
setModuleAnchor
void setModuleAnchor(org.lwjgl.util.vector.Vector2f moduleAnchor) -
setCompatibleWithBase
void setCompatibleWithBase(boolean compatibleWithBase) -
getTags
-
addTag
-
hasTag
-
getRarity
float getRarity() -
getNameWithDesignationWithDashClass
String getNameWithDesignationWithDashClass() -
getDescriptionId
String getDescriptionId() -
isBaseHull
boolean isBaseHull() -
setManufacturer
-
getManufacturer
String getManufacturer() -
getFleetPoints
int getFleetPoints() -
getBuiltInMods
-
getWeaponSlotAPI
-
getDescriptionPrefix
String getDescriptionPrefix() -
isBuiltInMod
-
addBuiltInMod
-
isCivilianNonCarrier
boolean isCivilianNonCarrier() -
setHullName
-
setDesignation
-
isPhase
boolean isPhase() -
getShipFilePath
String getShipFilePath() -
getTravelDriveId
String getTravelDriveId() -
setTravelDriveId
-
getEngineSpec
ShipHullSpecAPI.EngineSpecAPI getEngineSpec() -
getSuppliesToRecover
float getSuppliesToRecover() -
setSuppliesToRecover
void setSuppliesToRecover(float suppliesToRecover) -
getSuppliesPerMonth
float getSuppliesPerMonth() -
setSuppliesPerMonth
void setSuppliesPerMonth(float suppliesPerMonth) -
setRepairPercentPerDay
void setRepairPercentPerDay(float repairPercentPerDay) -
setCRToDeploy
void setCRToDeploy(float crToDeploy) -
getNoCRLossSeconds
float getNoCRLossSeconds() -
setNoCRLossSeconds
void setNoCRLossSeconds(float noCRLossSeconds) -
setCRLossPerSecond
void setCRLossPerSecond(float crLossPerSecond) -
getBuiltInWeapons
-
isBuiltIn
-
addBuiltInWeapon
-
getShipDefenseId
String getShipDefenseId() -
setShipDefenseId
-
getShipSystemId
String getShipSystemId() -
setShipSystemId
-
setDescriptionPrefix
-
getWeaponSlot
-
setFleetPoints
void setFleetPoints(int fleetPoints) -
setDescriptionId
-
getHyperspaceJitterColor
Color getHyperspaceJitterColor() -
isDHullOldMethod
boolean isDHullOldMethod() -
isCarrier
boolean isCarrier() -
getLogisticsNAReason
String getLogisticsNAReason() -
setLogisticsNAReason
-
getCollisionRadius
float getCollisionRadius() -
getCodexVariantId
String getCodexVariantId() -
setCodexVariantId
-
getRestoredToHullId
String getRestoredToHullId()
-