Class DefaultSettlementEconomyModel
- Namespace
- TaleWorlds.CampaignSystem.GameComponents
- Assembly
- TaleWorlds.CampaignSystem.dll
public class DefaultSettlementEconomyModel : SettlementEconomyModel
- Inheritance
-
DefaultSettlementEconomyModel
- Inherited Members
Constructors
DefaultSettlementEconomyModel()
public DefaultSettlementEconomyModel()
Methods
GetDailyDemandForCategory(Town, ItemCategory, int)
public override float GetDailyDemandForCategory(Town town, ItemCategory category, int extraProsperity)
Parameters
town
Towncategory
ItemCategoryextraProsperity
int
Returns
GetDemandChangeFromValue(float)
public override float GetDemandChangeFromValue(float purchaseValue)
Parameters
purchaseValue
float
Returns
GetEstimatedDemandForCategory(Town, ItemData, ItemCategory)
public override float GetEstimatedDemandForCategory(Town town, ItemData itemData, ItemCategory category)
Parameters
town
TownitemData
ItemDatacategory
ItemCategory
Returns
GetSupplyDemandForCategory(Town, ItemCategory, float, float, float, float)
public override (float, float) GetSupplyDemandForCategory(Town town, ItemCategory category, float dailySupply, float dailyDemand, float oldSupply, float oldDemand)
Parameters
Returns
GetTownGoldChange(Town)
public override int GetTownGoldChange(Town town)
Parameters
town
Town
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).