Class CommodityStatTracker.CommodityStats

java.lang.Object
com.fs.starfarer.api.impl.campaign.shared.CommodityStatTracker.CommodityStats
Enclosing class:
CommodityStatTracker

public static class CommodityStatTracker.CommodityStats extends Object
  • Constructor Details

    • CommodityStats

      public CommodityStats(String commodityId)
  • Method Details

    • getMinSupplyPrice

      public float getMinSupplyPrice()
    • getMaxDemandPrice

      public float getMaxDemandPrice()
    • getAverageSupplyPrice

      public float getAverageSupplyPrice()
    • getAverageDemandPrice

      public float getAverageDemandPrice()
    • getCommodityId

      public String 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)