Table of Contents

Class ItemBarterable

Namespace
TaleWorlds.CampaignSystem.BarterSystem.Barterables
Assembly
TaleWorlds.CampaignSystem.dll
public class ItemBarterable : Barterable
Inheritance
ItemBarterable
Inherited Members

Constructors

ItemBarterable(Hero, Hero, PartyBase, PartyBase, ItemRosterElement, int)

public ItemBarterable(Hero ownerHero, Hero otherHero, PartyBase ownerParty, PartyBase otherParty, ItemRosterElement itemRosterElement, int averageValueOfItemInNearbySettlements)

Parameters

ownerHero Hero
otherHero Hero
ownerParty PartyBase
otherParty PartyBase
itemRosterElement ItemRosterElement
averageValueOfItemInNearbySettlements int

Properties

ItemRosterElement

public ItemRosterElement ItemRosterElement { get; }

Property Value

ItemRosterElement

ItemValue

public int ItemValue { get; }

Property Value

int

MaxAmount

public override int MaxAmount { get; }

Property Value

int

Name

public override TextObject Name { get; }

Property Value

TextObject

StringID

public override string StringID { get; }

Property Value

string

Methods

Apply()

public override void Apply()

AutoGeneratedInstanceCollectObjects(List<object>)

protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>
public override void CheckBarterLink(Barterable parentLinkedBarterable)

Parameters

parentLinkedBarterable Barterable
public override string GetEncyclopediaLink()

Returns

string

GetUnitValueForFaction(IFaction)

public override int GetUnitValueForFaction(IFaction faction)

Parameters

faction IFaction

Returns

int

GetVisualIdentifier()

public override ImageIdentifier GetVisualIdentifier()

Returns

ImageIdentifier

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