Class CommodityStatTracker.CommodityStats
java.lang.Object
com.fs.starfarer.api.impl.campaign.shared.CommodityStatTracker.CommodityStats
- Enclosing class:
- CommodityStatTracker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
float
float
float
float
void
setAverageDemandPrice
(float weightedAveragePrice) void
setAverageSupplyPrice
(float average) void
setMaxDemandPrice
(float max) void
setMinSupplyPrice
(float min) void
setTotalDemand
(float totalDemand) void
setTotalStockpiles
(float totalStockpiles) void
setTotalSupply
(float totalSupply)
-
Constructor Details
-
CommodityStats
-
-
Method Details
-
getMinSupplyPrice
public float getMinSupplyPrice() -
getMaxDemandPrice
public float getMaxDemandPrice() -
getAverageSupplyPrice
public float getAverageSupplyPrice() -
getAverageDemandPrice
public float getAverageDemandPrice() -
getCommodityId
-
setMinSupplyPrice
public void setMinSupplyPrice(float min) -
setMaxDemandPrice
public void setMaxDemandPrice(float max) -
setAverageSupplyPrice
public void setAverageSupplyPrice(float average) -
getTotalDemand
public float getTotalDemand() -
setTotalDemand
public void setTotalDemand(float totalDemand) -
getTotalSupply
public float getTotalSupply() -
setTotalSupply
public void setTotalSupply(float totalSupply) -
getTotalStockpiles
public float getTotalStockpiles() -
setTotalStockpiles
public void setTotalStockpiles(float totalStockpiles) -
setAverageDemandPrice
public void setAverageDemandPrice(float weightedAveragePrice)
-