M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
Helpers.BarterHelper Class Reference

Static Public Member Functions

static IEnumerable<(Barterable barterable, int count)> GetAutoBalanceBarterablesAdd (BarterData barterData, IFaction factionToBalanceFor, IFaction offerer, Hero offererHero, float fulfillRatio=1f)
 
static IEnumerable<(Barterable barterable, int count)> GetAutoBalanceBarterablesToRemove (BarterData barterData, IFaction factionToBalanceFor, IFaction offerer, Hero offererHero)
 

Member Function Documentation

◆ GetAutoBalanceBarterablesAdd()

static IEnumerable<(Barterable barterable, int count)> Helpers.BarterHelper.GetAutoBalanceBarterablesAdd ( BarterData  barterData,
IFaction  factionToBalanceFor,
IFaction  offerer,
Hero  offererHero,
float  fulfillRatio = 1f 
)
static

◆ GetAutoBalanceBarterablesToRemove()

static IEnumerable<(Barterable barterable, int count)> Helpers.BarterHelper.GetAutoBalanceBarterablesToRemove ( BarterData  barterData,
IFaction  factionToBalanceFor,
IFaction  offerer,
Hero  offererHero 
)
static