Table of Contents

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 Town
category ItemCategory
extraProsperity int

Returns

float

GetDemandChangeFromValue(float)

public override float GetDemandChangeFromValue(float purchaseValue)

Parameters

purchaseValue float

Returns

float

GetEstimatedDemandForCategory(Town, ItemData, ItemCategory)

public override float GetEstimatedDemandForCategory(Town town, ItemData itemData, ItemCategory category)

Parameters

town Town
itemData ItemData
category ItemCategory

Returns

float

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

town Town
category ItemCategory
dailySupply float
dailyDemand float
oldSupply float
oldDemand float

Returns

(float, float)

GetTownGoldChange(Town)

public override int GetTownGoldChange(Town town)

Parameters

town Town

Returns

int

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).