Class SettlementEconomyModel
- Namespace
- TaleWorlds.CampaignSystem.ComponentInterfaces
- Assembly
- TaleWorlds.CampaignSystem.dll
public abstract class SettlementEconomyModel : GameModel
- Inheritance
-
SettlementEconomyModel
- Derived
- Inherited Members
Constructors
SettlementEconomyModel()
protected SettlementEconomyModel()
Methods
GetDailyDemandForCategory(Town, ItemCategory, int)
public abstract float GetDailyDemandForCategory(Town town, ItemCategory category, int extraProsperity = 0)
Parameters
townTowncategoryItemCategoryextraProsperityint
Returns
GetDemandChangeFromValue(float)
public abstract float GetDemandChangeFromValue(float purchaseValue)
Parameters
purchaseValuefloat
Returns
GetEstimatedDemandForCategory(Town, ItemData, ItemCategory)
public abstract float GetEstimatedDemandForCategory(Town town, ItemData itemData, ItemCategory category)
Parameters
townTownitemDataItemDatacategoryItemCategory
Returns
GetSupplyDemandForCategory(Town, ItemCategory, float, float, float, float)
public abstract (float, float) GetSupplyDemandForCategory(Town town, ItemCategory category, float dailySupply, float dailyDemand, float oldSupply, float oldDemand)
Parameters
Returns
GetTownGoldChange(Town)
public abstract int GetTownGoldChange(Town town)
Parameters
townTown
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).