Table of Contents

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

int

MaximumPercentageOfNpcGoldToSpendAtBarter

public abstract float MaximumPercentageOfNpcGoldToSpendAtBarter { get; }

Property Value

float

Methods

CalculateOverpayRelationIncreaseCosts(Hero, float)

public abstract int CalculateOverpayRelationIncreaseCosts(Hero hero, float overpayAmount)

Parameters

hero Hero
overpayAmount float

Returns

int

GetBarterPenalty(IFaction, ItemBarterable, Hero, PartyBase)

public abstract 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).