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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultTradeItemPriceFactorModel.

Public Member Functions

abstract float GetTradePenalty (ItemObject item, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStore, float supply, float demand)
 
abstract float GetBasePriceFactor (ItemCategory itemCategory, float inStoreValue, float supply, float demand, bool isSelling, int transferValue)
 
abstract int GetPrice (EquipmentElement itemRosterElement, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStoreValue, float supply, float demand)
 
abstract int GetTheoreticalMaxItemMarketValue (ItemObject item)
 

Member Function Documentation

◆ GetTradePenalty()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TradeItemPriceFactorModel.GetTradePenalty ( ItemObject  item,
MobileParty  clientParty,
PartyBase  merchant,
bool  isSelling,
float  inStore,
float  supply,
float  demand 
)
pure virtual

◆ GetBasePriceFactor()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TradeItemPriceFactorModel.GetBasePriceFactor ( ItemCategory  itemCategory,
float  inStoreValue,
float  supply,
float  demand,
bool  isSelling,
int  transferValue 
)
pure virtual

◆ GetPrice()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.TradeItemPriceFactorModel.GetPrice ( EquipmentElement  itemRosterElement,
MobileParty  clientParty,
PartyBase  merchant,
bool  isSelling,
float  inStoreValue,
float  supply,
float  demand 
)
pure virtual

◆ GetTheoreticalMaxItemMarketValue()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.TradeItemPriceFactorModel.GetTheoreticalMaxItemMarketValue ( ItemObject  item)
pure virtual