Table of Contents

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

Returns

float

GetDemandChangeFromValue(float)

public abstract float GetDemandChangeFromValue(float purchaseValue)

Parameters

purchaseValue float

Returns

float

GetEstimatedDemandForCategory(Town, ItemData, ItemCategory)

public abstract 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 abstract (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 abstract int GetTownGoldChange(Town town)

Parameters

town Town

Returns

int

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