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

Inherits TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.

Public Member Functions

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

Properties

override int BarterCooldownWithHeroInDays [get]
 
override float MaximumPercentageOfNpcGoldToSpendAtBarter [get]
 
- Properties inherited from TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel
abstract int BarterCooldownWithHeroInDays [get]
 
abstract float MaximumPercentageOfNpcGoldToSpendAtBarter [get]
 

Member Function Documentation

◆ CalculateOverpayRelationIncreaseCosts()

override int TaleWorlds.CampaignSystem.GameComponents.DefaultBarterModel.CalculateOverpayRelationIncreaseCosts ( Hero  hero,
float  overpayAmount 
)
virtual

◆ GetBarterPenalty()

override ExplainedNumber TaleWorlds.CampaignSystem.GameComponents.DefaultBarterModel.GetBarterPenalty ( IFaction  faction,
ItemBarterable  itemBarterable,
Hero  otherHero,
PartyBase  otherParty 
)
virtual

Property Documentation

◆ BarterCooldownWithHeroInDays

override int TaleWorlds.CampaignSystem.GameComponents.DefaultBarterModel.BarterCooldownWithHeroInDays
get

◆ MaximumPercentageOfNpcGoldToSpendAtBarter

override float TaleWorlds.CampaignSystem.GameComponents.DefaultBarterModel.MaximumPercentageOfNpcGoldToSpendAtBarter
get