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
HerootherHero
HeroownerParty
PartyBaseotherParty
PartyBaseitemRosterElement
ItemRosterElementaverageValueOfItemInNearbySettlements
int
Properties
ItemRosterElement
public ItemRosterElement ItemRosterElement { get; }
Property Value
ItemValue
public int ItemValue { get; }
Property Value
MaxAmount
public override int MaxAmount { get; }
Property Value
Name
public override TextObject Name { get; }
Property Value
StringID
public override string StringID { get; }
Property Value
Methods
Apply()
public override void Apply()
AutoGeneratedInstanceCollectObjects(List<object>)
protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
CheckBarterLink(Barterable)
public override void CheckBarterLink(Barterable parentLinkedBarterable)
Parameters
parentLinkedBarterable
Barterable
GetEncyclopediaLink()
public override string GetEncyclopediaLink()
Returns
GetUnitValueForFaction(IFaction)
public override int GetUnitValueForFaction(IFaction faction)
Parameters
faction
IFaction
Returns
GetVisualIdentifier()
public override ImageIdentifier GetVisualIdentifier()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).