Class CorporationStatistics
java.lang.Object
us.teaminceptus.novaconomy.api.corporation.CorporationStatistics
Utility class for Corporation Statistics
-
Method Summary
Modifier and TypeMethodDescriptiondoubleFetches the base amount of all of the money this Corporation has ever made.longFetches the total amount of products this Corporation has sold.doubleFetches the complete amount of all of the money this Corporation has ever made, factoring an Economy's conversion scale.longFetches all of the product this Corporation's Children have sold.longFetches all of the views this Corporation and its Children have received.
-
Method Details
-
getTotalViews
public long getTotalViews()Fetches all of the views this Corporation and its Children have received.- Returns:
- Total Views
-
getTotalSales
public long getTotalSales()Fetches all of the product this Corporation's Children have sold.- Returns:
- Total Sales
-
getTotalProfit
public double getTotalProfit()Fetches the complete amount of all of the money this Corporation has ever made, factoring an Economy's conversion scale.- Returns:
- Total Profit
-
getProfit
Fetches the base amount of all of the money this Corporation has ever made.- Parameters:
econ- Economy to use- Returns:
- Total Profit for the Economy
-
getTotalProductsSold
public long getTotalProductsSold()Fetches the total amount of products this Corporation has sold.- Returns:
- Total Products Sold
-