Class BarterModel
- Namespace
- TaleWorlds.CampaignSystem.ComponentInterfaces
- Assembly
- TaleWorlds.CampaignSystem.dll
public abstract class BarterModel : GameModel
- Inheritance
-
BarterModel
- Derived
- Inherited Members
Constructors
BarterModel()
protected BarterModel()
Properties
BarterCooldownWithHeroInDays
public abstract int BarterCooldownWithHeroInDays { get; }
Property Value
MaximumPercentageOfNpcGoldToSpendAtBarter
public abstract float MaximumPercentageOfNpcGoldToSpendAtBarter { get; }
Property Value
Methods
CalculateOverpayRelationIncreaseCosts(Hero, float)
public abstract int CalculateOverpayRelationIncreaseCosts(Hero hero, float overpayAmount)
Parameters
Returns
GetBarterPenalty(IFaction, ItemBarterable, Hero, PartyBase)
public abstract ExplainedNumber GetBarterPenalty(IFaction faction, ItemBarterable itemBarterable, Hero otherHero, PartyBase otherParty)
Parameters
faction
IFactionitemBarterable
ItemBarterableotherHero
HerootherParty
PartyBase
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).