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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultBarterModel.

Public Member Functions

abstract int CalculateOverpayRelationIncreaseCosts (Hero hero, float overpayAmount)
 
abstract ExplainedNumber GetBarterPenalty (IFaction faction, ItemBarterable itemBarterable, Hero otherHero, PartyBase otherParty)
 

Properties

abstract int BarterCooldownWithHeroInDays [get]
 
abstract float MaximumPercentageOfNpcGoldToSpendAtBarter [get]
 

Member Function Documentation

◆ CalculateOverpayRelationIncreaseCosts()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.CalculateOverpayRelationIncreaseCosts ( Hero  hero,
float  overpayAmount 
)
pure virtual

◆ GetBarterPenalty()

abstract ExplainedNumber TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.GetBarterPenalty ( IFaction  faction,
ItemBarterable  itemBarterable,
Hero  otherHero,
PartyBase  otherParty 
)
pure virtual

Property Documentation

◆ BarterCooldownWithHeroInDays

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.BarterCooldownWithHeroInDays
get

◆ MaximumPercentageOfNpcGoldToSpendAtBarter

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.MaximumPercentageOfNpcGoldToSpendAtBarter
get