Package com.fs.starfarer.api.fleet
Interface FleetLogisticsAPI
public interface FleetLogisticsAPI
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
float
float
float
getFleet()
float
float
float
float
Added up monthly supply cost for ships, divided by 30 to get daily cost.float
float
Total supply use per day, including what's actually consumed by ship maintenance.void
Also updates the logistics rating.
-
Method Details
-
getTotalSuppliesPerDay
float getTotalSuppliesPerDay()Total supply use per day, including what's actually consumed by ship maintenance.- Returns:
-
getFuelCostPerLightYear
float getFuelCostPerLightYear() -
getBaseFuelCostPerLightYear
float getBaseFuelCostPerLightYear() -
getExcessCargoCapacitySupplyCost
float getExcessCargoCapacitySupplyCost() -
getExcessFuelCapacitySupplyCost
float getExcessFuelCapacitySupplyCost() -
getExcessPersonnelCapacitySupplyCost
float getExcessPersonnelCapacitySupplyCost() -
getMarineSuppliesPerDay
float getMarineSuppliesPerDay() -
getCrewSuppliesPerDay
float getCrewSuppliesPerDay() -
getPersonnelSuppliesPerDay
float getPersonnelSuppliesPerDay()- Returns:
- getCrewSuppliesPerDay() + getMarineSuppliesPerDay()
-
getShipMaintenanceSupplyCost
float getShipMaintenanceSupplyCost()Added up monthly supply cost for ships, divided by 30 to get daily cost. Includes repairs and CR recovery.- Returns:
-
getFleet
CampaignFleetAPI getFleet() -
getTotalRepairAndRecoverySupplyCost
float getTotalRepairAndRecoverySupplyCost() -
updateRepairUtilizationForUI
void updateRepairUtilizationForUI()Also updates the logistics rating. Not particularly fast, should not be called often (i.e. every frame for every fleet = bad idea.) -
getExcessShipsSupplyCost
float getExcessShipsSupplyCost()
-