M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.GameComponents.DefaultTradeItemPriceFactorModel Class Reference

Inherits TaleWorlds.CampaignSystem.ComponentInterfaces.TradeItemPriceFactorModel.

Public Member Functions

override float GetTradePenalty (ItemObject item, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStore, float supply, float demand)
 
override float GetBasePriceFactor (ItemCategory itemCategory, float inStoreValue, float supply, float demand, bool isSelling, int transferValue)
 
override int GetPrice (EquipmentElement itemRosterElement, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStoreValue, float supply, float demand)
 
override int GetTheoreticalMaxItemMarketValue (ItemObject item)
 
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()

override float TaleWorlds.CampaignSystem.GameComponents.DefaultTradeItemPriceFactorModel.GetTradePenalty ( ItemObject  item,
MobileParty  clientParty,
PartyBase  merchant,
bool  isSelling,
float  inStore,
float  supply,
float  demand 
)
virtual

◆ GetBasePriceFactor()

override float TaleWorlds.CampaignSystem.GameComponents.DefaultTradeItemPriceFactorModel.GetBasePriceFactor ( ItemCategory  itemCategory,
float  inStoreValue,
float  supply,
float  demand,
bool  isSelling,
int  transferValue 
)
virtual

◆ GetPrice()

override int TaleWorlds.CampaignSystem.GameComponents.DefaultTradeItemPriceFactorModel.GetPrice ( EquipmentElement  itemRosterElement,
MobileParty  clientParty,
PartyBase  merchant,
bool  isSelling,
float  inStoreValue,
float  supply,
float  demand 
)
virtual

◆ GetTheoreticalMaxItemMarketValue()

override int TaleWorlds.CampaignSystem.GameComponents.DefaultTradeItemPriceFactorModel.GetTheoreticalMaxItemMarketValue ( ItemObject  item)
virtual