Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.fleet.FleetLogisticsAPI Interface Reference

Public Member Functions

float getTotalSuppliesPerDay ()
 
float getFuelCostPerLightYear ()
 
float getBaseFuelCostPerLightYear ()
 
float getExcessCargoCapacitySupplyCost ()
 
float getExcessFuelCapacitySupplyCost ()
 
float getExcessPersonnelCapacitySupplyCost ()
 
float getMarineSuppliesPerDay ()
 
float getCrewSuppliesPerDay ()
 
float getPersonnelSuppliesPerDay ()
 
float getShipMaintenanceSupplyCost ()
 
CampaignFleetAPI getFleet ()
 
float getTotalRepairAndRecoverySupplyCost ()
 
void updateRepairUtilizationForUI ()
 
float getExcessShipsSupplyCost ()
 

Detailed Description

Definition at line 6 of file FleetLogisticsAPI.java.

Member Function Documentation

◆ getBaseFuelCostPerLightYear()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getBaseFuelCostPerLightYear ( )

◆ getCrewSuppliesPerDay()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getCrewSuppliesPerDay ( )

◆ getExcessCargoCapacitySupplyCost()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getExcessCargoCapacitySupplyCost ( )

◆ getExcessFuelCapacitySupplyCost()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getExcessFuelCapacitySupplyCost ( )

◆ getExcessPersonnelCapacitySupplyCost()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getExcessPersonnelCapacitySupplyCost ( )

◆ getExcessShipsSupplyCost()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getExcessShipsSupplyCost ( )

◆ getFleet()

CampaignFleetAPI com.fs.starfarer.api.fleet.FleetLogisticsAPI.getFleet ( )

◆ getFuelCostPerLightYear()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getFuelCostPerLightYear ( )

◆ getMarineSuppliesPerDay()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getMarineSuppliesPerDay ( )

◆ getPersonnelSuppliesPerDay()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getPersonnelSuppliesPerDay ( )
Returns
getCrewSuppliesPerDay() + getMarineSuppliesPerDay()

◆ getShipMaintenanceSupplyCost()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getShipMaintenanceSupplyCost ( )

Added up monthly supply cost for ships, divided by 30 to get daily cost. Includes repairs and CR recovery.

Returns

◆ getTotalRepairAndRecoverySupplyCost()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getTotalRepairAndRecoverySupplyCost ( )

◆ getTotalSuppliesPerDay()

float com.fs.starfarer.api.fleet.FleetLogisticsAPI.getTotalSuppliesPerDay ( )

Total supply use per day, including what's actually consumed by ship maintenance.

Returns

◆ updateRepairUtilizationForUI()

void com.fs.starfarer.api.fleet.FleetLogisticsAPI.updateRepairUtilizationForUI ( )

Also updates the logistics rating. Not particularly fast, should not be called often (i.e. every frame for every fleet = bad idea.)


The documentation for this interface was generated from the following file: