M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementEconomyModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultSettlementEconomyModel.

Public Member Functions

abstract float GetEstimatedDemandForCategory (Town town, ItemData itemData, ItemCategory category)
 
abstract float GetDailyDemandForCategory (Town town, ItemCategory category, int extraProsperity=0)
 
abstract float GetDemandChangeFromValue (float purchaseValue)
 
abstract ValueTuple< float, float > GetSupplyDemandForCategory (Town town, ItemCategory category, float dailySupply, float dailyDemand, float oldSupply, float oldDemand)
 
abstract int GetTownGoldChange (Town town)
 

Member Function Documentation

◆ GetEstimatedDemandForCategory()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementEconomyModel.GetEstimatedDemandForCategory ( Town  town,
ItemData  itemData,
ItemCategory  category 
)
pure virtual

◆ GetDailyDemandForCategory()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementEconomyModel.GetDailyDemandForCategory ( Town  town,
ItemCategory  category,
int  extraProsperity = 0 
)
pure virtual

◆ GetDemandChangeFromValue()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementEconomyModel.GetDemandChangeFromValue ( float  purchaseValue)
pure virtual

◆ GetSupplyDemandForCategory()

abstract ValueTuple< float, float > TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementEconomyModel.GetSupplyDemandForCategory ( Town  town,
ItemCategory  category,
float  dailySupply,
float  dailyDemand,
float  oldSupply,
float  oldDemand 
)
pure virtual

◆ GetTownGoldChange()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementEconomyModel.GetTownGoldChange ( Town  town)
pure virtual