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

Inherits TaleWorlds.Core.MBGameModel< TradeItemPriceFactorModel >.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultTradeItemPriceFactorModel.

Public Member Functions

float GetTradePenalty (ItemObject item, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStore, float supply, float demand)
 
float GetBasePriceFactor (ItemCategory itemCategory, float inStoreValue, float supply, float demand, bool isSelling, int transferValue)
 
int GetPrice (EquipmentElement itemRosterElement, MobileParty clientParty, PartyBase merchant, bool isSelling, float inStoreValue, float supply, float demand)
 
int GetTheoreticalMaxItemMarketValue (ItemObject item)
 
- Public Member Functions inherited from TaleWorlds.Core.MBGameModel< TradeItemPriceFactorModel >
void Initialize (T baseModel)
 

Additional Inherited Members

- Properties inherited from TaleWorlds.Core.MBGameModel< TradeItemPriceFactorModel >
BaseModel [get]
 

Member Function Documentation

◆ GetTradePenalty()

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

◆ GetBasePriceFactor()

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

◆ GetPrice()

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

◆ GetTheoreticalMaxItemMarketValue()

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