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
town
Towncategory
ItemCategoryextraProsperity
int
Returns
GetDemandChangeFromValue(float)
public abstract float GetDemandChangeFromValue(float purchaseValue)
Parameters
purchaseValue
float
Returns
GetEstimatedDemandForCategory(Town, ItemData, ItemCategory)
public abstract float GetEstimatedDemandForCategory(Town town, ItemData itemData, ItemCategory category)
Parameters
town
TownitemData
ItemDatacategory
ItemCategory
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
town
Town
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).