M&B: Bannerlord 1.2.12
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

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

Member Function Documentation

◆ GetEstimatedDemandForCategory()

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

◆ GetDailyDemandForCategory()

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

◆ GetDemandChangeFromValue()

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

◆ GetSupplyDemandForCategory()

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

◆ GetTownGoldChange()

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