Table of Contents

Class DefaultBarterModel

Namespace
TaleWorlds.CampaignSystem.GameComponents
Assembly
TaleWorlds.CampaignSystem.dll
public class DefaultBarterModel : BarterModel
Inheritance
DefaultBarterModel
Inherited Members

Constructors

DefaultBarterModel()

public DefaultBarterModel()

Properties

BarterCooldownWithHeroInDays

public override int BarterCooldownWithHeroInDays { get; }

Property Value

int

MaximumPercentageOfNpcGoldToSpendAtBarter

public override float MaximumPercentageOfNpcGoldToSpendAtBarter { get; }

Property Value

float

Methods

CalculateOverpayRelationIncreaseCosts(Hero, float)

public override int CalculateOverpayRelationIncreaseCosts(Hero hero, float overpayAmount)

Parameters

hero Hero
overpayAmount float

Returns

int

GetBarterPenalty(IFaction, ItemBarterable, Hero, PartyBase)

public override ExplainedNumber GetBarterPenalty(IFaction faction, ItemBarterable itemBarterable, Hero otherHero, PartyBase otherParty)

Parameters

faction IFaction
itemBarterable ItemBarterable
otherHero Hero
otherParty PartyBase

Returns

ExplainedNumber

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).